CVE-2025-37980

Source
https://cve.org/CVERecord?id=CVE-2025-37980
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37980.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37980
Downstream
Related
Published
2025-05-20T16:58:22.720Z
Modified
2026-03-20T12:42:36.073503Z
Summary
block: fix resource leak in blk_register_queue() error path
Details

In the Linux kernel, the following vulnerability has been resolved:

block: fix resource leak in blkregisterqueue() error path

When registering a queue fails after blkmqsysfsregister() is successful but the function later encounters an error, we need to clean up the blkmq_sysfs resources.

Add the missing blkmqsysfs_unregister() call in the error path to properly clean up these resources and prevent a memory leak.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37980.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
320ae51feed5c2f13664aa05a76bec198967e04d
Fixed
549cbbd14bbec12469ceb279b79c763c8a24224e
Fixed
41e43134ddda35949974be40520460a12dda3502
Fixed
55a7bb2708f7c7c5b366d4e40916113168a3824c
Fixed
40f2eb9b531475dd01b683fdaf61ca3cfd03a51e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37980.json"