CVE-2025-37872
Linux Kernel vulnerability analysis and mitigation

Overview

A memory leak vulnerability (CVE-2025-37872) was discovered in the Linux kernel's txgbe driver, specifically in the txgbe_probe() error path. The vulnerability was disclosed on May 9, 2025, affecting the memory management of the network driver component (NVD, Wiz).

Technical details

When txgbeswinit() is called, memory is allocated for wx->rsskey in wxinitrsskey(). However, in the txgbeprobe() function, the subsequent error paths after txgbeswinit() fail to free the rsskey. Additionally, there was a potential double-free issue for rsskey when the mactable allocation fails in wxswinit(). The vulnerability has been assigned a CVSS v3.1 base score of 5.5, indicating moderate severity (Red Hat).

Impact

The vulnerability results in a memory leak in the Linux kernel's network driver component, which could lead to system resource exhaustion over time. The impact is limited to local systems running the affected kernel versions (Red Hat).

Mitigation and workarounds

The vulnerability has been resolved by fixing the memory leak in the error path. The fix includes properly freeing the rsskey along with wx->mactable and modifying the execution jump label when txgbeswinit() fails to prevent potential double-free issues (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management