CVE-2026-64509: rust: block: fix GenDisk cleanup paths
Vulnerability summary
CVE-2026-64509 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.11% chance of exploitation in the next 30 days, higher than 1.5% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 12Timeline
- 25-07-2026PublishedVulnerability first disclosed.
- 17-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.11%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
Decrease -0.09 pp
From 0.21% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu120 products
- linux< 7.0.0-31.31
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 7.0.0-1012.12
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.12.100-1 | < 7.1.4-1
- linux-6.12< 6.12.100-1~deb12u1
Linux2 products
- linux≥ 3253aba3408aa4eb2e4e09365eede3e63ef7536b, < d1dcaa5229a63a6b6df7e0f673fe576cf3d6e8cb | ≥ 3253aba3408aa4eb2e4e09365eede3e63ef7536b, < e7636f26f77070a529c26d65afd217514ce85ce4 | ≥ 3253aba3408aa4eb2e4e09365eede3e63ef7536b, < 6822a2685b4da9a87efd1fce4b042678a31ff734 | ≥ 3253aba3408aa4eb2e4e09365eede3e63ef7536b, < 2957771379fa335103a4b539db57bb2271e12142 | 6.11
- linux_kernel≥ 6.11, < 6.12.97 | ≥ 6.13, < 6.18.39 | ≥ 6.19, < 7.1.4
3 vendors · 124 products