CVE-2025-68823
ublk: fix deadlock when reading partition table
Check your servers for CVE-2025-68823
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-2025-68823 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
ublk: fix deadlock when reading partition table
When one process(such as udev) opens ublk block device (e.g., to read the partition table via bdev_open()), a deadlock[1] can occur:
1. bdev_open() grabs disk->open_mutex 2. The process issues read I/O to ublk backend to read partition table 3. In __ublk_complete_rq(), blk_update_request() or blk_mq_end_request() runs bio->bi_end_io() callbacks 4. If this triggers fput() on file descriptor of ublk block device, the work may be deferred to current task's task work (see fput() implementation) 5. This eventually calls blkdev_release() from the same context 6. blkdev_release() tries to grab disk->open_mutex again 7. Deadlock: same task waiting for a mutex it already holds
The fix is to run blk_update_request() and blk_mq_end_request() with bottom halves disabled. This forces blkdev_release() to run in kernel work-queue context instead of current task work context, and allows ublk server to make forward progress, and avoids the deadlock.
[axboe: rewrite comment in ublk]
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.93% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 71f28f3136aff5890cd56de78abc673f8393cad9, before 27bb79b7717b2fbb111a1c13548b2786ee712dca affected from 71f28f3136aff5890cd56de78abc673f8393cad9, before 64c0b7e2293757e8320f13434cd809f1c9257a62 affected from 71f28f3136aff5890cd56de78abc673f8393cad9, before 9bcc47343ee0ef346aa7b2b460c8ff56bd882fe7 affected from 71f28f3136aff5890cd56de78abc673f8393cad9, before 0460e09a614291f06c008443f47393c37b7358e7 affected from 71f28f3136aff5890cd56de78abc673f8393cad9, before c258f5c4502c9667bccf5d76fa731ab9c96687c1
Other versions: unaffected
|
| Linux |
affected 6.0 unaffected before 6.0 unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.124 up to and including 6.6.* unaffected from 6.12.70 up to and including 6.12.* unaffected from 6.18.3 up to and including 6.18.* unaffected 6.19 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-2025-68823 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68823
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-2025-68823
trivy image --scanners vuln IMAGE | grep CVE-2025-68823
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
- https://git.kernel.org/stable/c/27bb79b7717b2fbb111a1c13548b2786ee712dca git.kernel.org
- https://git.kernel.org/stable/c/64c0b7e2293757e8320f13434cd809f1c9257a62 git.kernel.org
- https://git.kernel.org/stable/c/9bcc47343ee0ef346aa7b2b460c8ff56bd882fe7 git.kernel.org
- https://git.kernel.org/stable/c/0460e09a614291f06c008443f47393c37b7358e7 git.kernel.org
- https://git.kernel.org/stable/c/c258f5c4502c9667bccf5d76fa731ab9c96687c1 git.kernel.org
Source: the record CVE-2025-68823 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.
Vulnpocalypse