# CVE-2025-37759: ublk: fix handling recovery & reissue in ublk_abort_queue()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-05-01T12:56:03.462Z
- Modified: 2026-10-21T13:18:06.220Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8284066946e6d9cc979566ce698fe24e7ca0b31e before ab41bf5a211fbec3a85e025658ed90a911ccb692; from 8284066946e6d9cc979566ce698fe24e7ca0b31e before caa5c8a2358604f38bf0a4afaa5eacda13763067; from 8284066946e6d9cc979566ce698fe24e7ca0b31e before 5d34a30efac9c9c93e150130caa940c0df6053c1; from 8284066946e6d9cc979566ce698fe24e7ca0b31e before 0a21d259ca4d6310fdfcc0284ebbc000e66cbf70; from 8284066946e6d9cc979566ce698fe24e7ca0b31e before 6ee6bd5d4fce502a5b5a2ea805e9ff16e6aa890f; 6.5 (not affected: before 6.5; from 6.6.160 up to 6.6.*; from 6.12.24 up to 6.12.*; from 6.13.12 up to 6.13.*; from 6.14.3 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.5 before 6.12.24; from 6.13 before 6.13.12; from 6.14 before 6.14.3; 6.15

## References

- <https://git.kernel.org/stable/c/ab41bf5a211fbec3a85e025658ed90a911ccb692>
- <https://git.kernel.org/stable/c/caa5c8a2358604f38bf0a4afaa5eacda13763067> (patch)
- <https://git.kernel.org/stable/c/5d34a30efac9c9c93e150130caa940c0df6053c1> (patch)
- <https://git.kernel.org/stable/c/0a21d259ca4d6310fdfcc0284ebbc000e66cbf70> (patch)
- <https://git.kernel.org/stable/c/6ee6bd5d4fce502a5b5a2ea805e9ff16e6aa890f> (patch)

## Sources

- CVE List: [CVE-2025-37759](https://www.cve.org/CVERecord?id=CVE-2025-37759), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2025-37759](https://nvd.nist.gov/vuln/detail/CVE-2025-37759), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2025-37759 · Whole record: https://cve.day/CVE-2025-37759.json · Rebuilt by cve.day 2026-11-25T22:58:57.299Z
