block: fix resource leak in blk_register_queue() error path
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.168, 6.6.88, 6.12.25, 6.14.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 320ae51feed5c2f13664aa05a76bec198967e04d · fixed in 6af6d5feebf9423ab3b252831d1f52de31a8b5e0; From 320ae51feed5c2f13664aa05a76bec198967e04d · fixed in 549cbbd14bbec12469ceb279b79c763c8a24224e; From 320ae51feed5c2f13664aa05a76bec198967e04d · fixed in 41e43134ddda35949974be40520460a12dda3502; From 320ae51feed5c2f13664aa05a76bec198967e04d · fixed in 55a7bb2708f7c7c5b366d4e40916113168a3824c; From 320ae51feed5c2f13664aa05a76bec198967e04d · fixed in 40f2eb9b531475dd01b683fdaf61ca3cfd03a51e
- Linux Linux
3.13
- KernelLinux
From 3.13.0 · fixed in 6.1.168; From 6.2.0 · fixed in 6.6.88; From 6.7.0 · fixed in 6.12.25; From 6.13.0 · fixed in 6.14.4