Kernel crash via SMB hostname double free
Published Jan 31, 2025 · Updated Aug 5, 2026
A double free in affected Linux kernel SMB client releases allows remote attackers to crash the kernel through crafted DFS reconnects. cifs_put_tcp_session() frees TCP_Server_Info::hostname while the cifsd thread can still reuse and free that pointer as it reconnects across multiple DFS targets. Exploitation requires an active SMB DFS connection and a shutdown race overlapping attacker-controlled disconnects and referrals; successful triggering corrupts kernel memory and can terminate service.
Summary
What happened
A double free in affected Linux kernel SMB client releases allows remote attackers to crash the kernel through crafted DFS reconnects. cifs_put_tcp_session() frees TCP_Server_Info::hostname while the cifsd thread can still reuse and free that pointer as it reconnects across multiple DFS targets. Exploitation requires an active SMB DFS connection and a shutdown race overlapping attacker-controlled disconnects and referrals; successful triggering corrupts kernel memory and can terminate service.
The record
- CVE
- CVE-2025-21673
- Published
- Jan 31, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-415, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 31, 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=1c35a216ef77db708178ca225d796271f2f60a7a
- Affected versionversion=49f933bb3016269dc50074eac5f6033d127644f1
- Affected versionversion=5.14.19 <5.15
- Affected versionversion=5.15.3 <5.16
- Affected versionversion=5.16
- Affected versionversion=7be3248f313930ff3d3436d4e9ddbe9fccc1f541 <1ea68070338518a1d31ce71e6abfe1b30001b27a
- Affected versionversion=7be3248f313930ff3d3436d4e9ddbe9fccc1f541 <a2be5f2ba34d0c6d5ef2624b24e3d852561fcd6a
- Affected versionversion=7be3248f313930ff3d3436d4e9ddbe9fccc1f541 <fa2f9906a7b333ba757a7dbae0713d8a5396186e
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