Linux Kernel up to 6.12.19/6.13.7 netmem ip_proto memory leak

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.4$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, was found in Linux Kernel up to 6.12.19/6.13.7. This vulnerability affects the function ip_proto of the component netmem. Executing a manipulation can lead to an unknown weakness. This vulnerability appears as CVE-2025-21954. There is no available exploit. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.12.19/6.13.7. It has been declared as problematic. This vulnerability affects the function ip_proto of the component netmem. The CWE definition for the vulnerability is CWE-401. The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory. The impact remains unknown. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: netmem: prevent TX of unreadable skbs Currently on stable trees we have support for netmem/devmem RX but not TX. It is not safe to forward/redirect an RX unreadable netmem packet into the device's TX path, as the device may call dma-mapping APIs on dma addrs that should not be passed to it. Fix this by preventing the xmit of unreadable skbs. Tested by configuring tc redirect: sudo tc qdisc add dev eth1 ingress sudo tc filter add dev eth1 ingress protocol ip prio 1 flower ip_proto \ tcp src_ip 192.168.1.12 action mirred egress redirect dev eth1 Before, I see unreadable skbs in the driver's TX path passed to dma mapping APIs. After, I don't see unreadable skbs in the driver's TX path passed to dma mapping APIs.

The advisory is shared for download at git.kernel.org. This vulnerability was named CVE-2025-21954 since 12/29/2024. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 249973 (Linux Distros Unpatched Vulnerability : CVE-2025-21954), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 6.12.20 or 6.13.8 eliminates this vulnerability. Applying the patch 454825019d2f0c59e5174ece9e713f45ad80beff/1c17c8ced25c5fbe424c7ad7ea11d33014a986b1/f3600c867c99a2cc8038680ecf211089c50e7971 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (249973) and CERT Bund (WID-SEC-2025-0683). Once again VulDB remains the best source for vulnerability data.

Affected

  • Google Container-Optimized OS
  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • RESF Rocky Linux
  • Dell Avamar
  • Open Source Linux Kernel
  • SolarWinds Security Event Manager
  • Dell NetWorker
  • Dell Secure Connect Gateway
  • IBM Security Verify Access

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.4

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Memory leak
CWE: CWE-401 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 249973
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-21954

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 6.12.20/6.13.8
Patch: 454825019d2f0c59e5174ece9e713f45ad80beff/1c17c8ced25c5fbe424c7ad7ea11d33014a986b1/f3600c867c99a2cc8038680ecf211089c50e7971

Timelineinfo

12/29/2024 🔍
04/01/2025 +92 days 🔍
04/01/2025 +0 days 🔍
02/01/2026 +306 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-21954 (🔍)
GCVE (CVE): GCVE-0-2025-21954
GCVE (VulDB): GCVE-100-302668
CERT Bund: WID-SEC-2025-0683 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 04/01/2025 19:39
Updated: 02/01/2026 09:36
Changes: 04/01/2025 19:39 (57), 07/20/2025 03:43 (7), 08/18/2025 00:52 (2), 10/26/2025 22:12 (1), 10/31/2025 21:30 (13), 02/01/2026 09:36 (1)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!