CVE-2025-37980

published 20 May 2025 · updated 12 Nov 2026

block: fix resource leak in blk_register_queue() error path

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.6.88, Kernel 6.14.4, Kernel 6.12.25 and 6 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=3.13 <6.6.88, >=6.13 <6.14.4, >=6.7 <6.12.25, =6.15, >=320ae51feed5c2f13664aa05a76bec198967e04d <41e43134ddda35949974be40520460a12dda3502, >=320ae51feed5c2f13664aa05a76bec198967e04d <549cbbd14bbec12469ceb279b79c763c8a24224e, >=320ae51feed5c2f13664aa05a76bec198967e04d <55a7bb2708f7c7c5b366d4e40916113168a3824c, >=320ae51feed5c2f13664aa05a76bec198967e04d <6af6d5feebf9423ab3b252831d1f52de31a8b5e0, =3.13, >=320ae51feed5c2f13664aa05a76bec198967e04d <40f2eb9b531475dd01b683fdaf61ca3cfd03a51e6.6.88, 6.14.4, 6.12.25, 41e43134ddda35949974be40520460a12dda3502, 549cbbd14bbec12469ceb279b79c763c8a24224e, 55a7bb2708f7c7c5b366d4e40916113168a3824c, 6af6d5feebf9423ab3b252831d1f52de31a8b5e0, 40f2eb9b531475dd01b683fdaf61ca3cfd03a51e
linux-kernel: Kernel>=3.13.0 <6.1.168, >=6.13.0 <6.14.4, >=6.2.0 <6.6.88, >=6.7.0 <6.12.256.1.168, 6.14.4, 6.6.88, 6.12.25

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37980 severity on Zeptric[![CVE-2025-37980](https://zeptric.io/badge/cve/CVE-2025-37980.svg)](https://zeptric.io/cve/CVE-2025-37980)