cvelo
P2 · HighCVSS 8.1EPSS 0.9%

smb: client: compare owner and group SIDs using their encoded lengths

  • CVE-2026-143046
  • GHSA-g4jg-pc2m-86g4
  • EUVD-2026-142663

Description

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 the encoded subauthorities with memcmp(). The count check ensures that both validated SIDs contain the number of bytes being compared. These issues were discovered and fixed by Qihoo 360's Tulongfeng multi-agent system.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    5.11none stated
    before 5.11: not affectednone stated
    from 6.12.120 up to 6.12.*: not affectednone stated
    from 6.18.66 up to 6.18.*: not affectednone stated
    from 7.3.7 up to 7.3.*: not affectednone stated
    from 7.4-rc3 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.