CVE-2026-68098: ksmbd: bound DACL dedup walk to copied ACEs
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: bound DACL dedup walk to copied ACEs
setntacldacl() can stop copying ACEs before consuming the full input DACL when size accounting overflows.
When that happens, numaces reflects only the ACEs that were actually copied into the output DACL, but setposixaclentriesdacl() still receives ntnumaces 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.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68098?
CVE-2026-68098 has a risk score of 37, indicating a moderate severity level.
How do I fix CVE-2026-68098?
To address CVE-2026-68098, ensure that you update to the latest patched version of the Linux kernel.
What systems are affected by CVE-2026-68098?
CVE-2026-68098 affects systems running vulnerable versions of the Linux kernel that utilize ksmbd.
What is the impact of CVE-2026-68098?
The impact of CVE-2026-68098 is a potential overflow in size accounting during DACL duplication, which could lead to incorrect access control enforcement.
When was CVE-2026-68098 published?
CVE-2026-68098 was published on August 10, 2026.