Skip to main content
VulnerabilityPublished Updated

CVE-2025-40158: Linux kernel · ipv6: use RCU in ip6_output()

Source GCVE Database

0
Authoritative record:CVE-2025-40158· High 8.1

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

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, < 423895685f367b5a0a956bd14b02df0192bded4c
Fixed in
  • 423895685f367b5a0a956bd14b02df0192bded4c
LinuxLinuxAffected
  • ≥ 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, < 11709573cc4e48dc34c80fc7ab9ce5b159e29695
Fixed in
  • 11709573cc4e48dc34c80fc7ab9ce5b159e29695
LinuxLinuxAffected
  • ≥ 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, < 92803b826e40e49a5e8a6e208f4b4574e9d19426
Fixed in
  • 92803b826e40e49a5e8a6e208f4b4574e9d19426
LinuxLinuxAffected
  • ≥ 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, < 0393f85c3241c19ba8550f04a812e7d19f6b3082
Fixed in
  • 0393f85c3241c19ba8550f04a812e7d19f6b3082
LinuxLinuxAffected
  • =4.13
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.

References

Community reviews

Loading reviews…