CVE
CVE-2026-46195
CNA 原文 · 原文(英文)
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.
受影响版本
- 7.1-rc2仅此版本
- 7.1-rc1仅此版本
- ≥ 6.19, < 7.0.7修复版本 7.0.7
- ≥ 6.13, < 6.18.30修复版本 6.18.30
- ≥ 6.7, < 6.12.88修复版本 6.12.88
- ≥ 5.12, < 6.6.140修复版本 6.6.140
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/3b1ddba19e77ee35241cd27f16dc3e8d14e08db7 · Patch
- git.kernel.org/stable/c/8bd07e417b6bda67e317920584e48cb6ee442a8a · Patch
- git.kernel.org/stable/c/ba7f71b6161c0943dafc367565e5843d16b7d505 · Patch
- git.kernel.org/stable/c/c688f3ed73d31943334ad2139cb02ec49664322a · Patch
- git.kernel.org/stable/c/f98b48151cc502ada59d9778f0112d21f2586ca3 · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。