In the Linux kernel, the following vulnerability has been resolved:
rust: block: fix GenDisk cleanup paths
GenDiskBuilder::build() still has fallible work after
__blkmqallocdisk(), but its error path only recovers the
foreign queue data. That leaks the temporary gendisk and
requestqueue until later teardown. If the caller moved the last
Arc
Fix the pre-registration failure path by dropping the temporary gendisk reference with putdisk() before recovering queuedata, so disk_release() can tear down the owned queue.
Also pair GenDisk::drop() with putdisk() after delgendisk(). Once a Rust GenDisk has been added with deviceadddisk(), del_gendisk() only unregisters it; the final gendisk reference still has to be dropped to complete the release path.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64509.json"
}