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.
Metrics
Affected Vendors & Products
References
History
Thu, 22 May 2025 02:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
Tue, 20 May 2025 17:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | block: fix resource leak in blk_register_queue() error path | |
References |
|

Status: PUBLISHED
Assigner: Linux
Published: 2025-05-20T16:58:22.720Z
Updated: 2025-05-26T05:25:00.874Z
Reserved: 2025-04-16T04:51:23.975Z
Link: CVE-2025-37980

No data.

Status : Awaiting Analysis
Published: 2025-05-20T17:15:48.650
Modified: 2025-05-21T20:24:58.133
Link: CVE-2025-37980
