Vulnerability record
smb: client: compare owner and group SIDs using their encoded lengths
In the Linux kernel, the following vulnerability has been resolved:
smb: client: compare owner and group SIDs using their encoded lengths
populate_new_aces() compares owner and group SIDs over sizeof(struct smb_sid), including storage for all 15 possible subauthorities. Received SIDs contain only their encoded subauthorities. The comparison can read past the security descriptor, as shown by the supplied KASAN report for a 44-byte descriptor during chmod.
The input SIDs have already been checked by sid_from_sd(). Require equal subauthority counts, then compare only the fixed SID header and…
8.1/CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:HExploitability
AV:NAC:LPR:NUI:RScope
S:UImpact
C:HI:NA:HRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources