smb: client: compare owner and group SIDs using their encoded lengths
Summary
| CVE | CVE-2026-143046 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:17:33 UTC |
| Updated | 2026-12-03 10:17:33 UTC |
| 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. |
Risk And Classification
EPSS: 0.003680000 probability, percentile 0.327690000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 0f22053e811ca5dd5d51b919741e02396ea600f3 b6b4c93e36ceb162e2b2bc04301b707257344422 git | Not specified |
| CNA | Linux | Linux | affected 0f22053e811ca5dd5d51b919741e02396ea600f3 a7c4a5654e38386776c61b68238831b5c564271e git | Not specified |
| CNA | Linux | Linux | affected 0f22053e811ca5dd5d51b919741e02396ea600f3 2748602e8a0083766a791c0343db2cc25ca4a1d2 git | Not specified |
| CNA | Linux | Linux | affected 0f22053e811ca5dd5d51b919741e02396ea600f3 a2dabe73ea05ad3b3f8e1cc08fb2e7c2ddc5564b git | Not specified |
| CNA | Linux | Linux | affected 5.11 | Not specified |
| CNA | Linux | Linux | unaffected 5.11 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.120 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/b6b4c93e36ceb162e2b2bc04301b707257344422 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2748602e8a0083766a791c0343db2cc25ca4a1d2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/a2dabe73ea05ad3b3f8e1cc08fb2e7c2ddc5564b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/a7c4a5654e38386776c61b68238831b5c564271e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.