Local kernel compromise via SMC route use-after-free
Published Nov 12, 2025 · Updated Sep 2, 2026
Use-after-free in Linux kernel SMC allows local users to read or corrupt kernel memory via concurrent socket connections. smc_clc_prfx_set() dereferences a cached route's network device outside RCU or RTNL protection while another thread can delete and reclaim that device. A low-privileged local user can drive both sides of the race through AF_SMC connect calls and a user namespace, causing memory disclosure or corruption, a kernel panic, or a CPU hang.
Summary
What happened
Use-after-free in Linux kernel SMC allows local users to read or corrupt kernel memory via concurrent socket connections. smc_clc_prfx_set() dereferences a cached route's network device outside RCU or RTNL protection while another thread can delete and reclaim that device. A low-privileged local user can drive both sides of the race through AF_SMC connect calls and a user namespace, causing memory disclosure or corruption, a kernel panic, or a CPU hang.
The record
- CVE
- CVE-2025-40139
- Published
- Nov 12, 2025
- Updated
- Sep 2, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Nov 12, 2025CVE publishedPublication date reported by the CVE source.
- Sep 2, 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=4.11
- Affected versionversion=a046d57da19f812216f393e7c535f5858f793ac3 <0736993bfe5c7a9c744ae3fac62d769dfdae54e1
- Affected versionversion=a046d57da19f812216f393e7c535f5858f793ac3 <5a2fccc4b32c13ddde3676f9e15e1a9baa7d6fde
- Affected versionversion=a046d57da19f812216f393e7c535f5858f793ac3 <80d1fd39f4e37d836655e9f7ffccaf78925049bf
- Affected versionversion=a046d57da19f812216f393e7c535f5858f793ac3 <935d783e5de9b64587f3adb25641dd8385e64ddb
- Affected versionversion=a046d57da19f812216f393e7c535f5858f793ac3 <956c57daba55cf9ed25d9f2512883b8a1a927599
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