CVE-2025-37980
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
20/05/2025
Last modified:
21/05/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
block: fix resource leak in blk_register_queue() error path<br />
<br />
When registering a queue fails after blk_mq_sysfs_register() is<br />
successful but the function later encounters an error, we need<br />
to clean up the blk_mq_sysfs resources.<br />
<br />
Add the missing blk_mq_sysfs_unregister() call in the error path<br />
to properly clean up these resources and prevent a memory leak.