CVE-2025-40158: Linux kernel · ipv6: use RCU in ip6_output()
Source GCVE Database
Not known to be exploited · CVSS 8.1 High · fixed in 423895685f367b5a0a956bd14b02df0192bded4c : patch Linux kernel soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 423895685f367b5a0a956bd14b02df0192bded4c, 11709573cc4e48dc34c80fc7ab9ce5b159e29695, 92803b826e40e49a5e8a6e208f4b4574e9d19426 +1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade Linux kernel to 423895685f367b5a0a956bd14b02df0192bded4c, 11709573cc4e48dc34c80fc7ab9ce5b159e29695, 92803b826e40e49a5e8a6e208f4b4574e9d19426 or 0393f85c3241c19ba8550f04a812e7d19f6b3082.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel by adopting RCU usage in ip6_output() and removing redundant RCU lock pairs. No specific patch links are provided, so users should update to the latest Linux kernel versions where this fix is included.
Description
A use-after-free (UAF) vulnerability in the Linux kernel's IPv6 output processing (ip6_output) was resolved by adopting Read-Copy-Update (RCU) mechanisms. This fix prevents potential memory safety issues by ensuring proper synchronization when accessing network device structures. The vulnerability was addressed by removing redundant RCU lock pairs and using dst_dev_rcu() safely. The issue is rated high severity due to its potential impact on confidentiality, integrity, and availability.