Kernel memory disclosure via unchecked security-descriptor offsets
Published Apr 1, 2025 · Updated Aug 5, 2026
Out-of-bounds read in Linux ksmbd 5.15 allows remote authenticated users to disclose kernel memory through crafted SMB requests. parse_sec_desc() trusts security-descriptor offsets and SID subauthority counts without bounding them to the request buffer, so sub_auth[] is read out of bounds. Exploitation requires a writable share and open file handle and can disclose heap data, alter file ownership metadata, or crash the service or host.
Summary
What happened
Out-of-bounds read in Linux ksmbd 5.15 allows remote authenticated users to disclose kernel memory through crafted SMB requests. parse_sec_desc() trusts security-descriptor offsets and SID subauthority counts without bounding them to the request buffer, so sub_auth[] is read out of bounds. Exploitation requires a writable share and open file handle and can disclose heap data, alter file ownership metadata, or crash the service or host.
The record
- CVE
- CVE-2025-21946
- Published
- Apr 1, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 1, 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 <159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <6a9831180d0b23b5c97e2bd841aefc8f82900172
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <d6e13e19063db24f94b690159d0633aaf72a0f03
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <f4ee19528664777af8b842f8f001be98345aa973
- Affected versionversion=5.15
What conditions does exploitation require?
What is affected?
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