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-05-28T03:53:11.541854020Z
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
6af6d5feebf9423ab3b252831d1f52de31a8b5e0
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"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.13.0
Fixed
6.1.168
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.88
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.25
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.4

Database specific

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