Cyber Resilience

CVE-2025-22005

Linux Kernel 5.3 – 5.4.292

Published
03 April 2025
Modified
14 July 2026
Patch / advisory
CVSS Score v3.1 5.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0019 9th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-22005 is a medium-severity Missing Release of Memory after Effective Lifetime (CWE-401) vulnerability in Linux Linux Kernel. Its CVSS base score is 5.5 (Medium).

Operationally, ranked at the 9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

In the Linux kernel, the following vulnerability has been resolved: ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw(). fib_check_nh_v6_gw() expects that fib6_nh_init() cleans up everything when it fails. Commit 7dd73168e273 ("ipv6: Always allocate pcpu memory in a fib6_nh") moved fib_nh_common_init() before…

more

alloc_percpu_gfp() within fib6_nh_init() but forgot to add cleanup for fib6_nh->nh_common.nhc_pcpu_rth_output in case it fails to allocate fib6_nh->rt6i_pcpu, resulting in memleak. Let's call fib_nh_common_release() and clear nhc_pcpu_rth_output in the error path. Note that we can remove the fib6_nh_release() call in nh_create_ipv6() later in net-next.git.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-57872Same product: Linux Linux Kernel
CVE-2024-56712Same product: Linux Linux Kernel
CVE-2023-52702Same product: Linux Linux Kernel
CVE-2023-53441Same product: Linux Linux Kernel
CVE-2026-53127Same product: Linux Linux Kernel
CVE-2023-53299Same product: Linux Linux Kernel
CVE-2024-50041Same product: Linux Linux Kernel
CVE-2024-42262Same product: Linux Linux Kernel
CVE-2023-53562Same product: Linux Linux Kernel
CVE-2024-43913Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
6.14 · 5.3 — 5.4.292 · 5.5 — 5.10.236 · 5.16 — 6.1.132

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SA-11 Developer Testing and Evaluation
  • SA-15 Development Process, Standards, and Tools
Detect
Catch it (NIST detect / respond)
  • SI-2 Flaw Remediation
Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Developer testing and evaluation with kernel memory-leak detectors (kmemleak, KASAN) would have identified the missing fib_nh_common_release() call on the fib6_nh_init() error path.

prevent

Requiring secure-development tools and coding standards that enforce complete resource cleanup on every error path directly prevents the nhc_pcpu_rth_output leak introduced by the reordered allocation.

respond

Timely application of the kernel patch that adds the missing cleanup in fib_check_nh_v6_gw() eliminates the memory leak once the flaw is known.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly enforce proper memory allocation/deallocation via coding standards, reviews, and tooling.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development can detect unreleased memory, providing partial coverage of the weakness.

prevents

Secure development life cycle mandates memory-management practices that reduce missing-release defects.

prevents

Application security requirements can specify explicit memory-release rules, partially mitigating the weakness.

prevents

Secure system architecture and engineering principles include resource-management guidelines that address memory leaks.

prevents

Secure coding standards directly require proper allocation/deallocation, covering most of this weakness.

detects

Capacity management may detect memory exhaustion symptoms but does not prevent the coding flaw.

References