CVE-2025-37872
net: txgbe: fix memory leak in txgbe_probe() error path
Check your servers for CVE-2025-37872
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37872 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: txgbe: fix memory leak in txgbe_probe() error path
When txgbe_sw_init() is called, memory is allocated for wx->rss_key in wx_init_rss_key(). However, in txgbe_probe() function, the subsequent error paths after txgbe_sw_init() don't free the rss_key. Fix that by freeing it in error path along with wx->mac_table.
Also change the label to which execution jumps when txgbe_sw_init() fails, because otherwise, it could lead to a double free for rss_key, when the mac_table allocation fails in wx_sw_init().
Exploitation
EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 26.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 937d46ecc5f941b26270bdf7ce37495f12b25955, before 635863d93deb8e352d63a8eba852efeaf1ac3539 affected from 937d46ecc5f941b26270bdf7ce37495f12b25955, before 837197a722919f5b0eeb967fe7cb0cc1e83173b9 affected from 937d46ecc5f941b26270bdf7ce37495f12b25955, before b2727326d0a53709380aa147018085d71a6d4843
Other versions: unaffected
|
| Linux |
affected 6.8 unaffected before 6.8 unaffected from 6.12.25 up to and including 6.12.* unaffected from 6.14.4 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37872 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37872
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-37872
trivy image --scanners vuln IMAGE | grep CVE-2025-37872
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/635863d93deb8e352d63a8eba852efeaf1ac3539 git.kernel.org
- https://git.kernel.org/stable/c/837197a722919f5b0eeb967fe7cb0cc1e83173b9 git.kernel.org
- https://git.kernel.org/stable/c/b2727326d0a53709380aa147018085d71a6d4843 git.kernel.org
Source: the record CVE-2025-37872 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse