Authenticated kernel out-of-bounds read via undersized ACE
Published May 1, 2026 · Updated May 1, 2026
Out-of-bounds reads in Linux Kernel ksmbd allow remote authenticated users to trigger kernel memory faults through a crafted file DACL. Both ACE-walk loops in smb_check_perm_dacl() accept an ace->size smaller than the smb_ace layout, then read access_req and sid beyond the declared ACE. Reachability requires SMB credentials and ACL-setting permission on a controlled file; a later CREATE processes the DACL, with no memory data returned to the client.
Summary
What happened
Out-of-bounds reads in Linux Kernel ksmbd allow remote authenticated users to trigger kernel memory faults through a crafted file DACL. Both ACE-walk loops in smb_check_perm_dacl() accept an ace->size smaller than the smb_ace layout, then read access_req and sid beyond the declared ACE. Reachability requires SMB credentials and ACL-setting permission on a controlled file; a later CREATE processes the DACL, with no memory data returned to the client.
The record
- CVE
- CVE-2026-31712
- Published
- May 1, 2026
- Updated
- May 1, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-787, T1190
- Attack vector
- network
- 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 <151b1799861fde38087c08f613abc2843ef597b0
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <90089584b2e25c4510b7b987387b4405f0673ece
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <95e5aa3c3261da8c95b27d7aecf8ee39b9f86a4c
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <d07b26f39246a82399661936dd0c853983cfade7
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.
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