Bug 2586365 (CVE-2026-138847) - CVE-2026-138847 kernel: kernel: Denial of Service via race condition during device unplug in xen-blkfront
Summary: CVE-2026-138847 kernel: kernel: Denial of Service via race condition during d...
Keywords:
Status: NEW
Alias: CVE-2026-138847
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:44 UTC by OSIDB Bzimport
Modified: 2026-11-30 19:38 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:44:51 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.