Skip to content
Noroxi
CVE-2025-22005· NVD / CVE Program· CNA Linux

ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().

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.

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Apr 3, 2025
Updated
Sep 8, 2026
EPSS
0.2% · 11th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel5.3 and later · before 5.4.292
  • linux linux kernel5.5 and later · before 5.10.236
  • linux linux kernel5.16 and later · before 6.1.132
  • linux linux kernel6.2 and later · before 6.6.85
  • linux linux kernel6.7 and later · before 6.12.21
  • linux linux kernel6.13 and later · before 6.13.9
  • linux linux kernel6.14

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 5.3affected
    • 7dd73168e273938b9e9bb42ca51b0c27d807992b and later · before 16267a5036173d0173377545b4b6021b081d0933affected · git
    • 7dd73168e273938b9e9bb42ca51b0c27d807992b and later · before 1bd12dfc058e1e68759d313d7727d68dbc1b8964affected · git
    • 7dd73168e273938b9e9bb42ca51b0c27d807992b and later · before 596a883c4ce2d2e9c175f25b98fed3a1f33fea38affected · git
    • 7dd73168e273938b9e9bb42ca51b0c27d807992b and later · before 77c41cdbe6bce476e08d3251c0d501feaf10a9f3affected · git
    • 7dd73168e273938b9e9bb42ca51b0c27d807992b and later · before 119dcafe36795a15ae53351cbbd6177aaf94ffefaffected · git
    • 7dd73168e273938b9e9bb42ca51b0c27d807992b and later · before 29d91820184d5cbc70f3246d4911d96eaeb930d6affected · git
    • 7dd73168e273938b9e9bb42ca51b0c27d807992b and later · before d3d5b4b5ae263c3225db363ba08b937e2e2b0380affected · git
    • 7dd73168e273938b9e9bb42ca51b0c27d807992b and later · before 9740890ee20e01f99ff1dde84c63dcf089fabb98affected · git
    • before 5.3not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.133-16.1.133-1
Debian:13linuxbefore 6.12.21-16.12.21-1
openSUSE:Leap 15.6dtb-aarch64before 6.4.0-150600.23.53.16.4.0-150600.23.53.1
openSUSE:Leap 15.6kernel-debugbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
openSUSE:Leap 15.6kernel-kvmsmallbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
openSUSE:Leap 15.6kernel-obs-qabefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_12before 1-150600.13.3.11-150600.13.3.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_12before 1-150600.13.3.11-150600.13.3.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-64kbbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-64kbbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-defaultbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-defaultbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default-basebefore 6.4.0-150600.23.53.1.150600.12.24.16.4.0-150600.23.53.1.150600.12.24.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default-basebefore 6.4.0-150600.23.53.1.150600.12.24.16.4.0-150600.23.53.1.150600.12.24.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-sourcebefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-sourcebefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-zfcpdumpbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-zfcpdumpbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-docsbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-docsbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-obs-buildbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-obs-buildbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-symsbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6kernel-symsbefore 6.4.0-150600.23.53.16.4.0-150600.23.53.1

+10

Other highest-scoring records for the same primary product.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux119dcafe36795a15ae53351cbbd6177aaf94ffefVendor (CNA)
Linux Linux16267a5036173d0173377545b4b6021b081d0933Vendor (CNA)
Linux Linux1bd12dfc058e1e68759d313d7727d68dbc1b8964Vendor (CNA)
Linux Linux29d91820184d5cbc70f3246d4911d96eaeb930d6Vendor (CNA)
Linux Linux596a883c4ce2d2e9c175f25b98fed3a1f33fea38Vendor (CNA)
Linux Linux77c41cdbe6bce476e08d3251c0d501feaf10a9f3Vendor (CNA)
Linux Linux9740890ee20e01f99ff1dde84c63dcf089fabb98Vendor (CNA)
Linux Linuxd3d5b4b5ae263c3225db363ba08b937e2e2b0380Vendor (CNA)
debian:linux6.1.133-1 · Debian:12Package registry (OSV)
opensuse:kernel-azure6.4.0-150600.8.40.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-source-azure6.4.0-150600.8.40.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-syms-azure6.4.0-150600.8.40.1 · openSUSE:Leap 15.6Package registry (OSV)
suse:kernel-64kb6.4.0-150600.23.53.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-azure6.4.0-150600.8.40.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-default6.4.0-150600.23.53.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-default-base6.4.0-150600.23.53.1.150600.12.24.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-docs6.4.0-150600.23.53.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6Package registry (OSV)
suse:kernel-source6.4.0-150600.23.53.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-source-azure6.4.0-150600.8.40.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-syms-azure6.4.0-150600.8.40.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-zfcpdump6.4.0-150600.23.53.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records