CVE-2026-46195

smb: client: validate dacloffset before building DACL pointers

State
Published
Severity
9.8 Critical
Published
May 28, 2026
Updated
Oct 19, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
3.17.5 HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 to before 5de2665e913a10ad70aaeecf736b97276e83d995Affected
  • bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 to before f9dc3be8f403c1216df73e57221f44b045e7ee0bAffected
  • bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 to before ba7f71b6161c0943dafc367565e5843d16b7d505Affected
  • bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 to before 3b1ddba19e77ee35241cd27f16dc3e8d14e08db7Affected
  • bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 to before c688f3ed73d31943334ad2139cb02ec49664322aAffected
  • bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 to before 8bd07e417b6bda67e317920584e48cb6ee442a8aAffected
  • bc3e9dd9d104ca1b75644eab87b38ce8a924aef4 to before f98b48151cc502ada59d9778f0112d21f2586ca3Affected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.88 through 6.12.*Not affected
  • 6.18.30 through 6.18.*Not affected
  • 7.0.7 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.