GHSA-3hqw-p326-56f7MediumCVSS 5.5

In the Linux kernel, the following vulnerability has been resolved: block: fix resource leak in...

Published
May 20, 2025
Last Modified
July 14, 2026

🔗 CVE IDs covered (1)

📋 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.

🔗 References (9)