Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: rust: block: fix GenDisk cleanup paths GenDiskBuilder::build() still has… (CVE-2026-64509)

0
Medium
Published: 07/25/2026 (07/25/2026, 12:31:38 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's Rust block subsystem related to GenDisk cleanup paths has been resolved. The issue involved improper cleanup in GenDiskBuilder::build() where error paths leaked temporary gendisk and request_queue resources, potentially retaining blk-mq state after the tag set was dropped. The fix ensures proper dropping of the temporary gendisk reference before recovering queue data, allowing complete teardown. Additionally, the release path for Rust GenDisk objects was corrected to pair del_gendisk() with put_disk().

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:15:08 UTC

Technical Analysis

The vulnerability in the Linux kernel's Rust block code involved incomplete cleanup in the GenDiskBuilder::build() function. Specifically, after __blk_mq_alloc_disk(), error handling only recovered foreign queue data but leaked temporary gendisk and request_queue references. This leak could cause the blk-mq state to persist improperly if the last Arc<TagSet<T>> was moved into build(). The fix drops the temporary gendisk reference with put_disk() before recovering queue data, enabling disk_release() to fully tear down the queue. Furthermore, GenDisk::drop() was paired with put_disk() after del_gendisk() to ensure proper release of Rust GenDisk objects added via device_add_disk().

Potential Impact

The vulnerability caused resource leaks in the Linux kernel block subsystem, specifically leaking temporary gendisk and request_queue references during error handling in GenDiskBuilder::build(). This could lead to retained blk-mq state beyond the lifetime of the tag set, potentially causing resource exhaustion or instability in the block device subsystem. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to address this issue by properly dropping temporary gendisk references and ensuring complete release of Rust GenDisk objects. Users should update to the fixed kernel versions once available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-5653-8mcx-7p26
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64509"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a6542069c2644c7f80820b5

Added to database: 07/25/2026, 23:08:54 UTC

Last enriched: 07/25/2026, 23:15:08 UTC

Last updated: 07/26/2026, 05:31:56 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses