ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 346b7d74c612234dae0878892682b9722e7c04c8, Kernel f40139fde5278d81af3227444fd6e76a76b9506d and Kernel fb2eb9ddf556f93fef45201e1f9d2b8674bcc975.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.7, >=216c8f5ef0f209a3797292c487bdaa6991ab4b92 <346b7d74c612234dae0878892682b9722e7c04c8, >=216c8f5ef0f209a3797292c487bdaa6991ab4b92 <f40139fde5278d81af3227444fd6e76a76b9506d, >=216c8f5ef0f209a3797292c487bdaa6991ab4b92 <fb2eb9ddf556f93fef45201e1f9d2b8674bcc975 | 346b7d74c612234dae0878892682b9722e7c04c8, f40139fde5278d81af3227444fd6e76a76b9506d, fb2eb9ddf556f93fef45201e1f9d2b8674bcc975 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket