Skip to main content
Network Thinking Solutions Logo

CVE-2025-22005

Linux kernel memory leak

All CVEs
CVE-2025-22005Published 4/3/2025

Linux kernel memory leak

Vendor advisory
CVSS5.5Medium

Overview

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 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.

Published
4/3/2025
Last modified
11/10/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.3, < 5.4.292

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.236

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.132

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.85

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.21

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.9

Verify advisory

Source
linux kernel
linux
6.14

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 7dd73168e273938b9e9bb42ca51b0c27d807992b, < 16267a5036173d0173377545b4b6021b081d0933

Verify advisory

Source
Linux
Linux
≥ 7dd73168e273938b9e9bb42ca51b0c27d807992b, < 1bd12dfc058e1e68759d313d7727d68dbc1b8964

Verify advisory

Source
Linux
Linux
≥ 7dd73168e273938b9e9bb42ca51b0c27d807992b, < 596a883c4ce2d2e9c175f25b98fed3a1f33fea38

Verify advisory

Source
Linux
Linux
≥ 7dd73168e273938b9e9bb42ca51b0c27d807992b, < 77c41cdbe6bce476e08d3251c0d501feaf10a9f3

Verify advisory

Source
Linux
Linux
≥ 7dd73168e273938b9e9bb42ca51b0c27d807992b, < 119dcafe36795a15ae53351cbbd6177aaf94ffef

Verify advisory

Source
Linux
Linux
≥ 7dd73168e273938b9e9bb42ca51b0c27d807992b, < 29d91820184d5cbc70f3246d4911d96eaeb930d6

Verify advisory

Source
Linux
Linux
≥ 7dd73168e273938b9e9bb42ca51b0c27d807992b, < d3d5b4b5ae263c3225db363ba08b937e2e2b0380

Verify advisory

Source
Linux
Linux
≥ 7dd73168e273938b9e9bb42ca51b0c27d807992b, < 9740890ee20e01f99ff1dde84c63dcf089fabb98

Verify advisory

Source
Linux
Linux
5.3

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
Siemens
≥ V3.1.6, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
Siemens
≥ V3.1.7, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
Siemens
≥ V3.1.6, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
Siemens
≥ V3.1.7, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
Siemens
≥ V3.1.6, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
Siemens
≥ V3.1.7, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
Siemens
≥ V3.1.6, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
Siemens
≥ V3.1.7, < *

Verify advisory

Source
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
Siemens
≥ V3.1.6, < *

Verify advisory

Source
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
Siemens
≥ V3.1.7, < *

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.