PT-2025-14598 · Linux+7 · Linux Kernel+7

Published

2025-03-11

·

Updated

2026-04-20

·

CVE-2025-22005

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A memory leak issue has been identified in the Linux kernel, specifically in the fib check nh v6 gw() function. The fib6 nh init() function is expected to clean up everything when it fails, but a commit moved fib nh common init() before alloc percpu gfp() within fib6 nh init() and 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 a memory leak. The issue is resolved by calling fib nh common release() and clearing nhc pcpu rth output in the error path.
Recommendations To resolve the issue, apply the patch that includes the commit 7dd73168e273, which fixes the memory leak by adding the necessary cleanup in the error path. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Memory Leak

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2025-12647
ALT-PU-2025-5437
ALT-PU-2025-5786
ALT-PU-2025-6075
ALT-PU-2025-6082
ALT-PU-2025-6382
ALT-PU-2025-6606
AZL-59879
BDU:2025-11630
CVE-2025-22005
DLA-4178-1
DLA-4193-1
DSA-5900-1
ECHO-CBEF-7831-DF21
MGASA-2025-0142
MGASA-2025-0146
OESA-2025-2465
OESA-2025-2466
OESA-2025-2467
SUSE-SU-2025:01964-1
SUSE-SU-2025:01965-1
SUSE-SU-2025:02000-1
SUSE-SU-2025:02254-1
SUSE-SU-2025:02307-1
SUSE-SU-2025:02333-1
SUSE-SU-2025:02923-1
SUSE-SU-2025:20408-1
SUSE-SU-2025:20413-1
SUSE-SU-2025:20419-1
SUSE-SU-2025:20421-1
SUSE-SU-2025_01964-1
SUSE-SU-2025_01965-1
SUSE-SU-2025_02000-1
SUSE-SU-2025_02254-1
SUSE-SU-2025_02307-1
SUSE-SU-2025_02333-1
USN-7585-1
USN-7585-2
USN-7585-3
USN-7585-4
USN-7585-5
USN-7585-6
USN-7585-7
USN-7591-1
USN-7591-2
USN-7591-3
USN-7591-4
USN-7591-5
USN-7591-6
USN-7592-1
USN-7593-1
USN-7597-1
USN-7597-2
USN-7598-1
USN-7602-1
USN-7605-1
USN-7605-2
USN-7606-1
USN-7628-1
USN-7640-1
USN-7655-1
USN-7764-1
USN-7764-2
USN-7765-1
USN-7766-1
USN-7767-1
USN-7767-2
USN-7779-1
USN-7790-1
USN-7800-1
USN-7801-1
USN-7801-2
USN-7801-3
USN-7802-1
USN-7809-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu