CVE-2026-64509
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
25/07/2026
Última modificación:
25/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
rust: block: fix GenDisk cleanup paths<br />
<br />
GenDiskBuilder::build() still has fallible work after<br />
__blk_mq_alloc_disk(), but its error path only recovers the<br />
foreign queue data. That leaks the temporary gendisk and<br />
request_queue until later teardown. If the caller moved the last<br />
Arc into build(), the leaked queue can retain blk-mq<br />
state after the tag set is dropped.<br />
<br />
Fix the pre-registration failure path by dropping the temporary<br />
gendisk reference with put_disk() before recovering queue_data,<br />
so disk_release() can tear down the owned queue.<br />
<br />
Also pair GenDisk::drop() with put_disk() after del_gendisk().<br />
Once a Rust GenDisk has been added with device_add_disk(),<br />
del_gendisk() only unregisters it; the final gendisk reference<br />
still has to be dropped to complete the release path.



