Skip to main content
← All vulnerabilities
CVE-2026-68098

ksmbd: bound DACL dedup walk to copied ACEs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.148, 6.12.101, 6.18.42, 7.1.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

In the Linux kernel, the following vulnerability has been resolved: ksmbd: bound DACL dedup walk to copied ACEs set_ntacl_dacl() can stop copying ACEs before consuming the full input DACL when size accounting overflows. When that happens, num_aces reflects only the ACEs that were actually copied into the output DACL, but set_posix_acl_entries_dacl() still receives nt_num_aces and uses it to walk the existing ACE array during dedup. That makes the dedup walk scan past the copied ACE array and inspect buffer tail that does not contain valid ACEs. Split the two meanings currently carried by the NT ACE count. Pass the number of copied NT ACEs to bound the dedup walk, and preserve the original "input DACL had NT ACEs" state separately for the Everyone/default ACL fallback. This keeps the dedup walk aligned with the ACEs that are actually present in the rebuilt DACL.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · fixed in 6d9d7aa4a2c99c31acfa28921c30b684110cf66c; From e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · fixed in b057a851129c6a084e7e393b62ca3abf6c2660bc; From e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · fixed in f1eba60db813ec28732bf18b5f0a67ebac9c3100; From e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · fixed in a0ebdaa79e10210d4e8ed9fe138e8f4d569719e3; From e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · fixed in 58d97fcd0bf1aee694e244cc28635b9df95b543b

  • Linux Linux

    5.15

  • KernelLinux

    From 5.15.0 · fixed in 6.6.148; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6

References 5

git.kernel.org