Medium severity5.5NVD Advisory· Published May 20, 2025· Updated Apr 11, 2026
CVE-2025-37980
CVE-2025-37980
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.
Affected products
3Patches
4549cbbd14bbe41e43134ddda55a7bb2708f740f2eb9b5314Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
News mentions
0No linked articles in our index yet.