CVE-2025-37980
block: fix resource leak in blk_register_queue() error path
Check your servers for CVE-2025-37980
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-37980 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:
block: fix resource leak in blk_register_queue() error path
When registering a queue fails after blk_mq_sysfs_register() is successful but the function later encounters an error, we need to clean up the blk_mq_sysfs resources.
Add the missing blk_mq_sysfs_unregister() call in the error path to properly clean up these resources and prevent a memory leak.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 320ae51feed5c2f13664aa05a76bec198967e04d, before 6af6d5feebf9423ab3b252831d1f52de31a8b5e0 affected from 320ae51feed5c2f13664aa05a76bec198967e04d, before 549cbbd14bbec12469ceb279b79c763c8a24224e affected from 320ae51feed5c2f13664aa05a76bec198967e04d, before 41e43134ddda35949974be40520460a12dda3502 affected from 320ae51feed5c2f13664aa05a76bec198967e04d, before 55a7bb2708f7c7c5b366d4e40916113168a3824c affected from 320ae51feed5c2f13664aa05a76bec198967e04d, before 40f2eb9b531475dd01b683fdaf61ca3cfd03a51e
Other versions: unaffected
|
| Linux |
affected 3.13 unaffected before 3.13 unaffected from 6.1.168 up to and including 6.1.* unaffected from 6.6.88 up to and including 6.6.* 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-37980 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37980
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-37980
trivy image --scanners vuln IMAGE | grep CVE-2025-37980
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/6af6d5feebf9423ab3b252831d1f52de31a8b5e0 git.kernel.org
- https://git.kernel.org/stable/c/549cbbd14bbec12469ceb279b79c763c8a24224e git.kernel.org
- https://git.kernel.org/stable/c/41e43134ddda35949974be40520460a12dda3502 git.kernel.org
- https://git.kernel.org/stable/c/55a7bb2708f7c7c5b366d4e40916113168a3824c git.kernel.org
- https://git.kernel.org/stable/c/40f2eb9b531475dd01b683fdaf61ca3cfd03a51e git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-37980 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse