Authenticated kernel memory disclosure via DACL overflow
Published Apr 16, 2025 · Updated Aug 5, 2026
Out-of-bounds access in Linux ksmbd allows remote authenticated users to disclose kernel memory through crafted SMB2 DACL data. The smb_check_perm_dacl() and smb_inherit_dacl() paths add an attacker-controlled signed dacloffset without overflow checking, letting the sum pass a bounds test before the DACL pointer is dereferenced. Valid share credentials and write access are required; exploitation can expose kernel data, bypass DACL enforcement, corrupt ACL metadata, or crash the kernel.
Summary
What happened
Out-of-bounds access in Linux ksmbd allows remote authenticated users to disclose kernel memory through crafted SMB2 DACL data. The smb_check_perm_dacl() and smb_inherit_dacl() paths add an attacker-controlled signed dacloffset without overflow checking, letting the sum pass a bounds test before the DACL pointer is dereferenced. Valid share credentials and write access are required; exploitation can expose kernel data, bypass DACL enforcement, corrupt ACL metadata, or crash the kernel.
The record
- CVE
- CVE-2025-22039
- Published
- Apr 16, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 16, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=0626e6641f6b467447c81dd7678a69c66f7746cf <443b373a4df5a2cb9f7b8c4658b2afedeb16397f
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <6b8d379048b168a0dff5ab1acb975b933f368514
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42
- Affected versionversion=5.15
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