{"id":"CVE-2026-46195","published":"2026-05-28T09:36:48Z","modified":"2026-10-19T19:36:54Z","title":"smb: client: validate dacloffset before building DACL pointers","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: validate dacloffset before building DACL pointers\n\nparse_sec_desc(), build_sec_desc(), and the chown path in\nid_mode_to_cifs_acl() all add the server-supplied dacloffset to pntsd\nbefore proving a DACL header fits inside the returned security\ndescriptor.\n\nOn 32-bit builds a malicious server can return dacloffset near\nU32_MAX, wrap the derived DACL pointer below end_of_acl, and then slip\npast the later pointer-based bounds checks. build_sec_desc() and\nid_mode_to_cifs_acl() can then dereference DACL fields from the wrapped\npointer in the chmod/chown rewrite paths.\n\nValidate dacloffset numerically before building any DACL pointer and\nreuse the same helper at the three DACL entry points.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01015,"percentile":0.62314,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://git.kernel.org/stable/c/5de2665e913a10ad70aaeecf736b97276e83d995","tags":[]},{"url":"https://git.kernel.org/stable/c/f9dc3be8f403c1216df73e57221f44b045e7ee0b","tags":[]},{"url":"https://git.kernel.org/stable/c/ba7f71b6161c0943dafc367565e5843d16b7d505","tags":[]},{"url":"https://git.kernel.org/stable/c/3b1ddba19e77ee35241cd27f16dc3e8d14e08db7","tags":[]},{"url":"https://git.kernel.org/stable/c/c688f3ed73d31943334ad2139cb02ec49664322a","tags":[]},{"url":"https://git.kernel.org/stable/c/8bd07e417b6bda67e317920584e48cb6ee442a8a","tags":[]},{"url":"https://git.kernel.org/stable/c/f98b48151cc502ada59d9778f0112d21f2586ca3","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-46195","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2482606","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46195.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21556","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21706","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21745","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":12.46},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < 5de2665e913a10ad70aaeecf736b97276e83d995",">= bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < f9dc3be8f403c1216df73e57221f44b045e7ee0b",">= bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < ba7f71b6161c0943dafc367565e5843d16b7d505",">= bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < 3b1ddba19e77ee35241cd27f16dc3e8d14e08db7",">= bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < c688f3ed73d31943334ad2139cb02ec49664322a",">= bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < 8bd07e417b6bda67e317920584e48cb6ee442a8a",">= bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < f98b48151cc502ada59d9778f0112d21f2586ca3"]},{"vendor":"Linux","product":"Linux","versions":["5.12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-16T15:20:56.572317Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-32822","exploited":false,"provenance":"source"}}