Local system crash via DACL size overflow
Published May 1, 2026 · Updated May 1, 2026
Integer overflow in ksmbd in affected Linux Kernel versions allows local users to crash the system via a file with many POSIX ACL entries. set_posix_acl_entries_dacl() and set_ntacl_dacl() add ACE sizes into u16 counters without checking overflow, causing wrapped pointer arithmetic to overwrite prior ACEs and store a truncated DACL size. Reachability requires low-privilege local access and ksmbd ACL processing; the documented impact is limited to availability loss from buffer corruption.
Summary
What happened
Integer overflow in ksmbd in affected Linux Kernel versions allows local users to crash the system via a file with many POSIX ACL entries. set_posix_acl_entries_dacl() and set_ntacl_dacl() add ACE sizes into u16 counters without checking overflow, causing wrapped pointer arithmetic to overwrite prior ACEs and store a truncated DACL size. Reachability requires low-privilege local access and ksmbd ACL processing; the documented impact is limited to availability loss from buffer corruption.
The record
- CVE
- CVE-2026-31704
- Published
- May 1, 2026
- Updated
- May 1, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2026CVE publishedPublication date reported by the CVE source.
- May 1, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.15
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <299f962c0b02d048fb45d248b4da493d03f3175d
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <5e7b8f3c539d69b2ed5f2408e2f75e68ce7eef43
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <8d5729350b236896f51379588d9a690b7fafb8db
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <e1955a94b6f17f4b058afa955a6f187eb3ed7615
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <ef7902be3f215b6bf7babe4dc9dd9a7d57dad7a7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo