xen-blkfront: Fix IO race during unplug
Summary
| CVE | CVE-2026-138847 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:17:40 UTC |
| Updated | 2026-12-02 10:17:17 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 8815f5221e993d16674bae18e4d7363f0c036adf git |
Not specified |
| CNA |
Linux |
Linux |
affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 499be56511b46ad154051e202a5e9731a35a0ac0 git |
Not specified |
| CNA |
Linux |
Linux |
affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e b83510f2053446bc291ded824b8042e42c1febf8 git |
Not specified |
| CNA |
Linux |
Linux |
affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 07fc8d43742a0e5a6f114c39999112ea165bfa51 git |
Not specified |
| CNA |
Linux |
Linux |
affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 24f7f97d3051299bc58f5366182662a7e31a5a24 git |
Not specified |
| CNA |
Linux |
Linux |
affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 5522da98153e39a9ddd0a59a41604a14114b63b4 git |
Not specified |
| CNA |
Linux |
Linux |
affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 61b6d1df1d6234c38a6ea7e4f58e7da035ef6ab4 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.14 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.14 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.63 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/07fc8d43742a0e5a6f114c39999112ea165bfa51 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/b83510f2053446bc291ded824b8042e42c1febf8 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/499be56511b46ad154051e202a5e9731a35a0ac0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/61b6d1df1d6234c38a6ea7e4f58e7da035ef6ab4 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/24f7f97d3051299bc58f5366182662a7e31a5a24 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5522da98153e39a9ddd0a59a41604a14114b63b4 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/8815f5221e993d16674bae18e4d7363f0c036adf |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.