CVE-2025-37980: block: fix resource leak in blk_register_queue() error path
Vulnerability summary
CVE-2025-37980 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9.1% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 33 · Related 31Timeline
- 20-05-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.19% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu139 products
- linuxAll versions (No fix recorded) | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 320ae51feed5c2f13664aa05a76bec198967e04d, < 6af6d5feebf9423ab3b252831d1f52de31a8b5e0 | ≥ 320ae51feed5c2f13664aa05a76bec198967e04d, < 549cbbd14bbec12469ceb279b79c763c8a24224e | ≥ 320ae51feed5c2f13664aa05a76bec198967e04d, < 41e43134ddda35949974be40520460a12dda3502 | ≥ 320ae51feed5c2f13664aa05a76bec198967e04d, < 55a7bb2708f7c7c5b366d4e40916113168a3824c | ≥ 320ae51feed5c2f13664aa05a76bec198967e04d, < 40f2eb9b531475dd01b683fdaf61ca3cfd03a51e | 3.13
- linux_kernel≥ 3.13, < 6.6.88 | ≥ 6.7, < 6.12.25 | ≥ 6.13, < 6.14.4 | 6.15:rc1 | 6.15:rc2
Debian1 product
- linux< 6.1.170-1 | < 6.12.25-1
3 vendors · 142 products