CVE-2025-22005: Linux kernel · ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 10 Nov 2026, 14:48 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 5.5 |
|---|
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 10 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel source code to address this memory leak by ensuring proper cleanup of allocated per-CPU memory on initialization failure. Users and administrators should apply the official Linux kernel updates that include this fix once available. No additional mitigation is required beyond applying the patch.
Description
CVE-2025-22005 is a medium severity vulnerability in the Linux kernel's IPv6 implementation. It involves a memory leak in the function fib_check_nh_v6_gw() due to incomplete cleanup of per-CPU memory allocations when initialization fails. This flaw was introduced by a code change that reordered initialization steps but omitted necessary cleanup, leading to resource leakage. The issue does not impact confidentiality or integrity but affects availability by causing memory exhaustion.
References
- git.kernel.org/stable/c/16267a5036173d0173377545b4b6021b081d0933 (opens in a new tab)
- git.kernel.org/stable/c/1bd12dfc058e1e68759d313d7727d68dbc1b8964 (opens in a new tab)
- git.kernel.org/stable/c/596a883c4ce2d2e9c175f25b98fed3a1f33fea38 (opens in a new tab)
- git.kernel.org/stable/c/77c41cdbe6bce476e08d3251c0d501feaf10a9f3 (opens in a new tab)
- git.kernel.org/stable/c/119dcafe36795a15ae53351cbbd6177aaf94ffef (opens in a new tab)
- git.kernel.org/stable/c/29d91820184d5cbc70f3246d4911d96eaeb930d6 (opens in a new tab)
- git.kernel.org/stable/c/d3d5b4b5ae263c3225db363ba08b937e2e2b0380 (opens in a new tab)
- git.kernel.org/stable/c/9740890ee20e01f99ff1dde84c63dcf089fabb98 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-019113.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)