PT-2026-64730 · Linux · Linux
CVE-2026-64509
·
Published
2026-07-25
·
Updated
2026-07-25
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
rust: block: fix GenDisk cleanup paths
GenDiskBuilder::build() still has fallible work after
blk mq alloc disk(), but its error path only recovers the
foreign queue data. That leaks the temporary gendisk and
request queue until later teardown. If the caller moved the last
Arc<TagSet> into build(), the leaked queue can retain blk-mq
state after the tag set is dropped.
Fix the pre-registration failure path by dropping the temporary
gendisk reference with put disk() before recovering queue data,
so disk release() can tear down the owned queue.
Also pair GenDisk::drop() with put disk() after del gendisk().
Once a Rust GenDisk has been added with device add disk(),
del gendisk() only unregisters it; the final gendisk reference
still has to be dropped to complete the release path.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux