smb: client: validate descriptor headers before query result allocation
Summary
| CVE | CVE-2026-143035 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:17:31 UTC |
| Updated | 2026-12-03 10:17:31 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: smb: client: validate descriptor headers before query result allocation query_info() uses the server's returned length instead of the caller's minimum when a dynamic result is requested. A zero-length ACL response can therefore return ZERO_SIZE_PTR to id_mode_to_cifs_acl(), whose ownership-change path reads dacloffset before checking the header size. A KASAN-enabled test shows a read at address 0x20 and a kernel Oops. Validate the returned range and the caller's minimum before allocating the dynamic result. Keep the reported length zero if validation fails. Use the security descriptor header size as the minimum in SMB2_query_acl(). DACL-only and SACL-only xattr queries do not require owner and group SIDs, so enforcing MIN_SEC_DESC_LEN would reject short descriptors that these queries could previously return. The rewrite paths validate the required owner/group SIDs and DACL separately before using their contents. These issues were discovered and fixed by Qihoo 360's Tulongfeng multi-agent system. |
Risk And Classification
EPSS: 0.002060000 probability, percentile 0.113030000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 9ee2afe5207b63b20426ee081f486d831bae871d 63ac0e4293f03143f112fee06352aaca8396ae79 git | Not specified |
| CNA | Linux | Linux | affected 9ee2afe5207b63b20426ee081f486d831bae871d 8814ab12de4868b137e9048f95ba5de23d99d42a git | Not specified |
| CNA | Linux | Linux | affected 9ee2afe5207b63b20426ee081f486d831bae871d ffb59029c0d52bf76fdd2678f5d6fd13e26220dd git | Not specified |
| CNA | Linux | Linux | affected 7ceb25df4900183479deacd3ccf7add41b2b836a git | Not specified |
| CNA | Linux | Linux | affected 6.0.18 6.1 semver | Not specified |
| CNA | Linux | Linux | affected 6.1 | Not specified |
| CNA | Linux | Linux | unaffected 6.1 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/8814ab12de4868b137e9048f95ba5de23d99d42a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ffb59029c0d52bf76fdd2678f5d6fd13e26220dd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/63ac0e4293f03143f112fee06352aaca8396ae79 | 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.