CVE-2026-46195: smb: client: validate dacloffset before building DACL pointers
In the Linux kernel, the following vulnerability has been resolved:
smb: client: validate dacloffset before building DACL pointers
parsesecdesc(), buildsecdesc(), and the chown path in idmodetocifsacl() all add the server-supplied dacloffset to pntsd before proving a DACL header fits inside the returned security descriptor.
On 32-bit builds a malicious server can return dacloffset near U32MAX, wrap the derived DACL pointer below endofacl, and then slip past the later pointer-based bounds checks. buildsecdesc() and idmodetocifsacl() can then dereference DACL fields from the wrapped pointer in the chmod/chown rewrite paths.
Validate dacloffset numerically before building any DACL pointer and reuse the same helper at the three DACL entry points.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.141.1-1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46195?
CVE-2026-46195 has a critical severity rating of 9.8.
How do I fix CVE-2026-46195?
To fix CVE-2026-46195, update to the latest version of the Linux kernel that addresses this vulnerability.
What types of attacks can exploit CVE-2026-46195?
CVE-2026-46195 can be exploited by attackers gaining unauthorized access through crafted DACL data.
Which systems are affected by CVE-2026-46195?
CVE-2026-46195 affects systems running the Linux Foundation Linux kernel with CIFS/SMB client configurations.
What is the impact of exploiting CVE-2026-46195?
Exploiting CVE-2026-46195 can lead to unauthorized disclosure of information, modification of data, and denial of service.