xen-blkfront: Fix IO race during unplug

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

xen-blkfront: Fix IO race during unplug

During unplug, blkfront stops the hw queues and marks the disk as dead, then later during removal calls del_gendisk(). However, IO issued after the hw queues are stopped but before the call to del_gendisk() will be queued but never handled. This causes del_gendisk() to hang forever waiting for the queue refcount to drop to zero.

This can be reproduced by issuing IO during an artificial delay after stopping the hw queues.

Fix this by simply not stopping the hw queues directly. Marking the disk as dead already freezes the queue which prevents new requests being added and it synchronously runs the hw queues to clear anything pending. If the hw queues are stopped when calling blk_mark_disk_dead(), running the hw queues is a no-op and can leave queued requests unprocessed.

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8815f5221e993d16674bae18e4d7363f0c036adf Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 499be56511b46ad154051e202a5e9731a35a0ac0 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b83510f2053446bc291ded824b8042e42c1febf8 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 07fc8d43742a0e5a6f114c39999112ea165bfa51 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 24f7f97d3051299bc58f5366182662a7e31a5a24 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5522da98153e39a9ddd0a59a41604a14114b63b4 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 61b6d1df1d6234c38a6ea7e4f58e7da035ef6ab4 Affectedbefore 5.15.226 Affectedbefore 6.1.193 Affectedbefore 6.6.163 Affectedbefore 6.12.117 Affectedbefore 6.18.63 Affectedbefore 7.3.4 Affected
Linux Linux5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.