# CVE-2025-37906: linux: In the Linux kernel, the following vulnerability has been resolved:  ublk: fix race between io_uring_cmd_complete_in_...

CVE-2025-37906 is fixed in 23 products on 1 platform, first by DEBIAN-CVE-2025-37906, released May 20, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-37906
- Priority: Routine
- CVSS: 4.7 (medium)
- EPSS: 0.0019
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 20, 2025

## Description

In the Linux kernel, the following vulnerability has been resolved:  ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd  ublk_cancel_cmd() calls io_uring_cmd_done() to complete uring_cmd, but we may have scheduled task work via io_uring_cmd_complete_in_task() for dispatching request, then kernel crash can be triggered.  Fix it by not trying to canceling the command if ublk block request is started.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool6.12 amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | bpftool6.12-debuginfo amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel-livepatch-6.12.40-63.114 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12 amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-debuginfo amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-debuginfo-common-aarch64 amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-debuginfo-common-x86_64 amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-devel amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-headers amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-libbpf amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-libbpf-debuginfo amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-libbpf-devel amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-libbpf-static amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-modules-extra amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-modules-extra-common amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-tools amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-tools-debuginfo amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | kernel6.12-tools-devel amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.12.115-2 | [DEBIAN-CVE-2025-37906](https://patchblox.com/security/data/fix/linux/debian-cve-2025-37906.md) | May 20, 2025 |
| Linux | linux Debian 14 | 6.16.3-1 | [DEBIAN-CVE-2025-37906](https://patchblox.com/security/data/fix/linux/debian-cve-2025-37906.md) | May 20, 2025 |
| Linux | perf6.12 amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | perf6.12-debuginfo amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | python3-perf6.12 amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |
| Linux | python3-perf6.12-debuginfo amzn 2023 | 1:6.12.40-63.114.amzn2023 | [ALAS2023-2025-1145](https://patchblox.com/security/data/fix/linux/alas2023-2025-1145.md) | Aug 8, 2025 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
