CVE-2026-46195 In the Linux kernel, the following vulnerability has been resolved: smb: client: validate dacloffset before building…
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 7.1 | earliest → < 7.1 | 7.1 |
| Linux 7.0 | earliest → < 7.0.7 | 7.0.7 |
| Linux 6.18 | earliest → < 6.18.30 | 6.18.30 |
| Linux 6.12 | earliest → < 6.12.88 | 6.12.88 |
| Linux 6.6 | earliest → < 6.6.140 | 6.6.140 |
| Linux 6.1 | earliest → < 6.1.176 | 6.1.176 |
| Linux 5.15 | earliest → < 5.15.210 | 5.15.210 |
| Linux | 5.12 | No fix stated |
| Red Hat Enterprise Linux AppStream (v. 9) | Versions not published |
Show the 14 other branches Hide the 14 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux BaseOS (v. 8) | Versions not published | |
| Red Hat Enterprise Linux BaseOS (v. 9) | Versions not published | |
| Red Hat Enterprise Linux CRB (v. 8) | Versions not published | |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Versions not published | |
| Red Hat Enterprise Linux NFV (v. 8) | Versions not published | |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Versions not published | |
| Red Hat Enterprise Linux RT (v. 8) | Versions not published | |
| Red Hat Enterprise Linux Real Time (v. 9) | Versions not published | |
| Red Hat Enterprise Linux 10 | Versions not published | |
| Red Hat Enterprise Linux 9 | Versions not published | |
| Red Hat Enterprise Linux 6 | Versions not published | |
| Red Hat Enterprise Linux 7 | Versions not published | |
| Red Hat Enterprise Linux 8 | Versions not published | |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Versions not published |