CVE-2026-64509

published 25 Jul 2026 · updated 14 Nov 2026

rust: block: fix GenDisk cleanup paths

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.97, Kernel 6.18.39, Kernel 7.1.4 and 4 more.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.11 <6.12.97, >=6.13 <6.18.39, >=6.19 <7.1.4, >=3253aba3408aa4eb2e4e09365eede3e63ef7536b <6822a2685b4da9a87efd1fce4b042678a31ff734, >=3253aba3408aa4eb2e4e09365eede3e63ef7536b <d1dcaa5229a63a6b6df7e0f673fe576cf3d6e8cb, >=3253aba3408aa4eb2e4e09365eede3e63ef7536b <e7636f26f77070a529c26d65afd217514ce85ce4, =6.11, >=3253aba3408aa4eb2e4e09365eede3e63ef7536b <2957771379fa335103a4b539db57bb2271e121426.12.97, 6.18.39, 7.1.4, 6822a2685b4da9a87efd1fce4b042678a31ff734, d1dcaa5229a63a6b6df7e0f673fe576cf3d6e8cb, e7636f26f77070a529c26d65afd217514ce85ce4, 2957771379fa335103a4b539db57bb2271e12142
linux-kernel: Kernel>=6.11.0 <6.12.97, >=6.13.0 <6.18.39, >=6.19.0 <7.1.46.12.97, 6.18.39, 7.1.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-64509 severity on Zeptric[![CVE-2026-64509](https://zeptric.io/badge/cve/CVE-2026-64509.svg)](https://zeptric.io/cve/CVE-2026-64509)