CVE-2026-138847

xen-blkfront: Fix IO race during unplug

No CVSS score yet EPSS 0.22%

Published 30 Nov 2026 Updated 2 Dec 2026 CNA: Linux

Check your servers for CVE-2026-138847

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138847 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.7% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 05d69d950d9d84218fc9beafd02dea1f6a70e09e, before 8815f5221e993d16674bae18e4d7363f0c036adf
affected from 05d69d950d9d84218fc9beafd02dea1f6a70e09e, before 499be56511b46ad154051e202a5e9731a35a0ac0
affected from 05d69d950d9d84218fc9beafd02dea1f6a70e09e, before b83510f2053446bc291ded824b8042e42c1febf8
affected from 05d69d950d9d84218fc9beafd02dea1f6a70e09e, before 07fc8d43742a0e5a6f114c39999112ea165bfa51
affected from 05d69d950d9d84218fc9beafd02dea1f6a70e09e, before 24f7f97d3051299bc58f5366182662a7e31a5a24
affected from 05d69d950d9d84218fc9beafd02dea1f6a70e09e, before 5522da98153e39a9ddd0a59a41604a14114b63b4
affected from 05d69d950d9d84218fc9beafd02dea1f6a70e09e, before 61b6d1df1d6234c38a6ea7e4f58e7da035ef6ab4
Other versions: unaffected
Linux
affected 5.14
unaffected before 5.14
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.63 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138847 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138847

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-138847
trivy image --scanners vuln IMAGE | grep CVE-2026-138847

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-138847 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.