Kernel heap disclosure and crash via malformed referrals
Published Oct 30, 2025 · Updated Oct 30, 2025
Out-of-bounds read in the Linux kernel CIFS client allows remote attackers to crash clients via malformed SMB DFS referral replies. parse_dfs_referrals trusts OutputCount and NumberOfReferrals, then walks referral entries beyond the received buffer instead of rejecting inconsistent lengths. A client must connect to a malicious, compromised, or man-in-the-middle SMB server; the over-read can expose kernel heap data through the DFS cache or crash the kernel.
Summary
What happened
Out-of-bounds read in the Linux kernel CIFS client allows remote attackers to crash clients via malformed SMB DFS referral replies. parse_dfs_referrals trusts OutputCount and NumberOfReferrals, then walks referral entries beyond the received buffer instead of rejecting inconsistent lengths. A client must connect to a malicious, compromised, or man-in-the-middle SMB server; the over-read can expose kernel heap data through the DFS cache or crash the kernel.
The record
- CVE
- CVE-2025-40099
- Published
- Oct 30, 2025
- Updated
- Oct 30, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 30, 2025CVE publishedPublication date reported by the CVE source.
- Oct 30, 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <15c73964da9df994302f579ed14ee5fdbce7a332
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6447b0e355562a1ff748c4a2ffb89aae7e84d2c9
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8bc4a8d39bac23d8b044fd3e2dbfd965f1d9b058
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bb0f2e66e1ac043a5b238f5bcab4f26f3c317039
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <cfacc7441f760e4a73cc71b6ff1635261d534657
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