What’s Vulnerable › Vulnerabilities

CVE-2025-37980: block: fix resource leak in blk_register_queue() error path

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

How to fix

Upgrade to a fixed version: Linux kernel 6.12.25, 6.14.4, 6.6.88. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-37980 or the next vulnerability affects your stack