CVE-2025-37906: ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd

Published May 20, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ublk: fix race between iouringcmdcompleteintask and ublkcancelcmd

ublkcancelcmd() calls iouringcmddone() to complete uringcmd, but we may have scheduled task work via iouringcmdcompleteintask() for dispatching request, then kernel crash can be triggered.

Fix it by not trying to canceling the command if ublk block request is started.

Affected Software

8 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=6.7<6.14.6
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
debian/linux<6.12.115-2
6.12.115-2
debian/linux<6.16.3-1
6.16.3-1
debian/linux<=6.12.107-1
6.1.176-16.1.190-16.12.115-27.2.12-17.2.15-1

Event History

May 20, 2025
CVE Published
via MITRE·03:21 PM
Data Sourced
via MITRE·03:21 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-37906?

CVE-2025-37906 is classified as a medium severity vulnerability.

2

How do I fix CVE-2025-37906?

To fix CVE-2025-37906, you should update to the latest version of the Linux kernel where the vulnerability has been patched.

3

What systems are affected by CVE-2025-37906?

CVE-2025-37906 affects the Linux kernel, specifically systems utilizing the ublk feature.

4

What type of vulnerability is CVE-2025-37906?

CVE-2025-37906 is a race condition vulnerability in the Linux kernel.

5

Is there a workaround for CVE-2025-37906?

There are no known effective workarounds for CVE-2025-37906, so patching is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203