Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-22005— ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于fib_check_nh_v6_gw函数存在内存泄漏问题。

AI Predicted 5.3 Difficulty: Easy EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 7dd73168e273938b9e9bb42ca51b0c27d807992b< 16267a5036173d0173377545b4b6021b081d0933 affected
7dd73168e273938b9e9bb42ca51b0c27d807992b< 1bd12dfc058e1e68759d313d7727d68dbc1b8964 affected
7dd73168e273938b9e9bb42ca51b0c27d807992b< 596a883c4ce2d2e9c175f25b98fed3a1f33fea38 affected
7dd73168e273938b9e9bb42ca51b0c27d807992b< 77c41cdbe6bce476e08d3251c0d501feaf10a9f3 affected
7dd73168e273938b9e9bb42ca51b0c27d807992b< 119dcafe36795a15ae53351cbbd6177aaf94ffef affected
7dd73168e273938b9e9bb42ca51b0c27d807992b< 29d91820184d5cbc70f3246d4911d96eaeb930d6 affected
7dd73168e273938b9e9bb42ca51b0c27d807992b< d3d5b4b5ae263c3225db363ba08b937e2e2b0380 affected
7dd73168e273938b9e9bb42ca51b0c27d807992b< 9740890ee20e01f99ff1dde84c63dcf089fabb98 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-22005

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于fib_check_nh_v6_gw函数存在内存泄漏问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 7dd73168e273938b9e9bb42ca51b0c27d807992b ~ 16267a5036173d0173377545b4b6021b081d0933 -
Linux Linux 5.3 -

II. Public POCs for CVE-2025-22005

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-22005

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-22005 (2)

Same Patch Batch · Linux · 2025-04-03 · 13 CVEs total

CVE-2025-22004 8.6 HIGH net: atm: fix use after free in lec_send()
CVE-2025-22001 7.8 HIGH accel/qaic: Fix integer overflow in qaic_validate_req()
CVE-2025-21999 7.8 HIGH proc: fix UAF in proc_get_inode()
CVE-2025-22007 Bluetooth: Fix error code in chan_alloc_skb_cb()
CVE-2025-22006 net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence
CVE-2025-22003 can: ucan: fix out of bound read in strscpy() source
CVE-2025-22002 netfs: Call `invalidate_cache` only if implemented
CVE-2025-22000 mm/huge_memory: drop beyond-EOF folios with the right number of refs
CVE-2025-21998 firmware: qcom: uefisecapp: fix efivars registration race
CVE-2025-21997 xsk: fix an integer overflow in xp_create_and_assign_umem()
CVE-2025-21996 drm/radeon: fix uninitialized size issue in radeon_vce_cs_parse()
CVE-2025-21995 drm/sched: Fix fence reference count leak

IV. Related Vulnerabilities

V. Comments for CVE-2025-22005

No comments yet


Leave a comment