CVE-2025-37759
ublk: fix handling recovery & reissue in ublk_abort_queue()
Check your servers for CVE-2025-37759
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-37759 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 handling recovery & reissue in ublk_abort_queue()
Commit 8284066946e6 ("ublk: grab request reference when the request is handled by userspace") doesn't grab request reference in case of recovery reissue. Then the request can be requeued & re-dispatch & failed when canceling uring command.
If it is one zc request, the request can be freed before io_uring returns the zc buffer back, then cause kernel panic:
[ 126.773061] BUG: kernel NULL pointer dereference, address: 00000000000000c8 [ 126.773657] #PF: supervisor read access in kernel mode [ 126.774052] #PF: error_code(0x0000) - not-present page [ 126.774455] PGD 0 P4D 0 [ 126.774698] Oops: Oops: 0000 [#1] SMP NOPTI [ 126.775034] CPU: 13 UID: 0 PID: 1612 Comm: kworker/u64:55 Not tainted 6.14.0_blk+ #182 PREEMPT(full) [ 126.775676] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-1.fc39 04/01/2014 [ 126.776275] Workqueue: iou_exit io_ring_exit_work [ 126.776651] RIP: 0010:ublk_io_release+0x14/0x130 [ublk_drv]
Fixes it by always grabbing request reference for aborting the request.
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8284066946e6d9cc979566ce698fe24e7ca0b31e, before ab41bf5a211fbec3a85e025658ed90a911ccb692 affected from 8284066946e6d9cc979566ce698fe24e7ca0b31e, before caa5c8a2358604f38bf0a4afaa5eacda13763067 affected from 8284066946e6d9cc979566ce698fe24e7ca0b31e, before 5d34a30efac9c9c93e150130caa940c0df6053c1 affected from 8284066946e6d9cc979566ce698fe24e7ca0b31e, before 0a21d259ca4d6310fdfcc0284ebbc000e66cbf70 affected from 8284066946e6d9cc979566ce698fe24e7ca0b31e, before 6ee6bd5d4fce502a5b5a2ea805e9ff16e6aa890f
Other versions: unaffected
|
| Linux |
affected 6.5 unaffected before 6.5 unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.24 up to and including 6.12.* unaffected from 6.13.12 up to and including 6.13.* unaffected from 6.14.3 up to and including 6.14.* unaffected 6.15 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-37759 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37759
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-37759
trivy image --scanners vuln IMAGE | grep CVE-2025-37759
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/ab41bf5a211fbec3a85e025658ed90a911ccb692 git.kernel.org
- https://git.kernel.org/stable/c/caa5c8a2358604f38bf0a4afaa5eacda13763067 git.kernel.org
- https://git.kernel.org/stable/c/5d34a30efac9c9c93e150130caa940c0df6053c1 git.kernel.org
- https://git.kernel.org/stable/c/0a21d259ca4d6310fdfcc0284ebbc000e66cbf70 git.kernel.org
- https://git.kernel.org/stable/c/6ee6bd5d4fce502a5b5a2ea805e9ff16e6aa890f git.kernel.org
Source: the record CVE-2025-37759 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