CVE-2026-46195

smb: client: validate dacloffset before building DACL pointers

9.8 critical EPSS 0.68%

Published 28 May 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-46195

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46195 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: validate dacloffset before building DACL pointers

parse_sec_desc(), build_sec_desc(), and the chown path in id_mode_to_cifs_acl() 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 U32_MAX, wrap the derived DACL pointer below end_of_acl, and then slip past the later pointer-based bounds checks. build_sec_desc() and id_mode_to_cifs_acl() 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.

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
7.5 high CVSS 3.1 from redhat-SADP
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.68%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 53.4% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, before 5de2665e913a10ad70aaeecf736b97276e83d995
affected from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, before f9dc3be8f403c1216df73e57221f44b045e7ee0b
affected from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, before ba7f71b6161c0943dafc367565e5843d16b7d505
affected from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, before 3b1ddba19e77ee35241cd27f16dc3e8d14e08db7
affected from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, before c688f3ed73d31943334ad2139cb02ec49664322a
affected from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, before 8bd07e417b6bda67e317920584e48cb6ee442a8a
affected from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, before f98b48151cc502ada59d9778f0112d21f2586ca3
Other versions: unaffected
Linux
affected 5.12
unaffected before 5.12
unaffected from 5.15.210 up to and including 5.15.*
unaffected from 6.1.176 up to and including 6.1.*
unaffected from 6.6.140 up to and including 6.6.*
unaffected from 6.12.88 up to and including 6.12.*
unaffected from 6.18.30 up to and including 6.18.*
unaffected from 7.0.7 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46195 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46195

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-46195
trivy image --scanners vuln IMAGE | grep CVE-2026-46195

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2026-46195 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.