# CVE-2026-46195: smb: client: validate dacloffset before building DACL pointers

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2026-05-28T09:36:48.259Z
- Modified: 2026-10-19T20:18:37.523Z
- Weaknesses: CWE-190, CWE-476, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 before 5de2665e913a10ad70aaeecf736b97276e83d995; from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 before f9dc3be8f403c1216df73e57221f44b045e7ee0b; from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 before ba7f71b6161c0943dafc367565e5843d16b7d505; from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 before 3b1ddba19e77ee35241cd27f16dc3e8d14e08db7; from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 before c688f3ed73d31943334ad2139cb02ec49664322a; from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 before 8bd07e417b6bda67e317920584e48cb6ee442a8a; from bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 before f98b48151cc502ada59d9778f0112d21f2586ca3; 5.12 (not affected: before 5.12; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.88 up to 6.12.*; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- kernel-rt: no versions given (not affected: from 0:4.18.0-553.126.1.rt7.467.el8_10 before *)
- kernel: no versions given (not affected: from 0:4.18.0-553.126.1.el8_10 before *; from 0:5.14.0-687.12.1.el9_8 before *)
- linux linux_kernel: from 5.12 before 6.6.140; from 6.7 before 6.12.88; from 6.13 before 6.18.30; from 6.19 before 7.0.7; 7.1

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/5de2665e913a10ad70aaeecf736b97276e83d995>
- <https://git.kernel.org/stable/c/f9dc3be8f403c1216df73e57221f44b045e7ee0b>
- <https://git.kernel.org/stable/c/ba7f71b6161c0943dafc367565e5843d16b7d505> (patch)
- <https://git.kernel.org/stable/c/3b1ddba19e77ee35241cd27f16dc3e8d14e08db7> (patch)
- <https://git.kernel.org/stable/c/c688f3ed73d31943334ad2139cb02ec49664322a> (patch)
- <https://git.kernel.org/stable/c/8bd07e417b6bda67e317920584e48cb6ee442a8a> (patch)
- <https://git.kernel.org/stable/c/f98b48151cc502ada59d9778f0112d21f2586ca3> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-46195> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2482606> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46195.json>
- <https://access.redhat.com/errata/RHSA-2026:21556> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21706> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21745> (vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-46195](https://www.cve.org/CVERecord?id=CVE-2026-46195), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-46195](https://nvd.nist.gov/vuln/detail/CVE-2026-46195), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-46195 · Whole record: https://cve.day/CVE-2026-46195.json · Rebuilt by cve.day 2026-11-25T22:59:22.860Z
