CVE-2026-143035

Source
https://cve.org/CVERecord?id=CVE-2026-143035
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143035.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143035
Downstream
Published
2026-12-03T09:18:10Z
Modified
2026-12-03T11:01:00Z
Summary
smb: client: validate descriptor headers before query result allocation
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143035.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9ee2afe5207b63b20426ee081f486d831bae871d
Fixed
63ac0e4293f03143f112fee06352aaca8396ae79
Fixed
8814ab12de4868b137e9048f95ba5de23d99d42a
Fixed
ffb59029c0d52bf76fdd2678f5d6fd13e26220dd
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7ceb25df4900183479deacd3ccf7add41b2b836a

Affected versions

v6.*
v6.0.18
v6.0.19

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143035.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.18
Fixed
6.1
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143035.json"