CVE-2025-37906

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37906
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37906.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37906
Downstream
Published
2025-05-20T15:21:39.633Z
Modified
2025-11-27T02:33:46.452449Z
Summary
ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
Details

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

ublk: fix race between iouringcmdcompleteintask and ublkcancel_cmd

ublkcancelcmd() calls iouringcmddone() to complete uringcmd, but we may have scheduled task work via iouringcmdcompletein_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2025/37xxx/CVE-2025-37906.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
216c8f5ef0f209a3797292c487bdaa6991ab4b92
Fixed
fb2eb9ddf556f93fef45201e1f9d2b8674bcc975
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
216c8f5ef0f209a3797292c487bdaa6991ab4b92
Fixed
f40139fde5278d81af3227444fd6e76a76b9506d

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.14.6