Kernel memory disclosure and crash via unchecked offsets
Published Oct 4, 2025 · Updated Oct 4, 2025
Out-of-bounds read in Linux kernel ksmbd 5.15 through 6.17-rc6 allows remote attackers to disclose memory or crash the host via SMB Direct. The recv_done path trusts data_offset and data_length from smb_direct_data_transfer and copies from beyond the received buffer into an SMB2 request. The flaw is reachable before SMB authentication when an SMB Direct listener is exposed; crafted offsets can leak kernel memory or fault kernel context.
Summary
What happened
Out-of-bounds read in Linux kernel ksmbd 5.15 through 6.17-rc6 allows remote attackers to disclose memory or crash the host via SMB Direct. The recv_done path trusts data_offset and data_length from smb_direct_data_transfer and copies from beyond the received buffer into an SMB2 request. The flaw is reachable before SMB authentication when an SMB Direct listener is exposed; crafted offsets can leak kernel memory or fault kernel context.
The record
- CVE
- CVE-2025-39943
- Published
- Oct 4, 2025
- Updated
- Oct 4, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 4, 2025CVE publishedPublication date reported by the CVE source.
- Oct 4, 2025Record 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=2ea086e35c3d726a3bacd0a971c1f02a50e98206 <5282491fc49d5614ac6ddcd012e5743eecb6a67c
- Affected versionversion=2ea086e35c3d726a3bacd0a971c1f02a50e98206 <529b121b00a6ee3c88fb3c01b443b2b81f686d48
- Affected versionversion=2ea086e35c3d726a3bacd0a971c1f02a50e98206 <773fddf976d282ef059c36c575ddb81567acd6bc
- Affected versionversion=2ea086e35c3d726a3bacd0a971c1f02a50e98206 <8be498fcbd5b07272f560b45981d4b9e5a2ad885
- Affected versionversion=2ea086e35c3d726a3bacd0a971c1f02a50e98206 <bdaab5c6538e250a9654127e688ecbbeb6f771d5
- Affected versionversion=2ea086e35c3d726a3bacd0a971c1f02a50e98206 <eb0378dde086363046ed3d7db7f126fc3f76fd70
- 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.
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