In the Linux kernel, the following vulnerability has been resolved:
ublk: fail to start device if queue setup is interrupted
In ublk_ctrl_start_dev(), if wait_for_completion_interruptible() is interrupted by signal, queues aren't setup successfully yet, so we have to fail UBLK_CMD_START_DEV, otherwise kernel oops can be triggered.
Reported by German when working on qemu-storage-deamon which requires single thread ublk daemon.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 6.0 | 6.1.43 |
| linux / linux_kernel | 6.2 | 6.4.8 |
| linux / linux_kernel | 6.5-rc1 | 6.5-rc1.x |
| linux / linux_kernel | 6.5-rc2 | 6.5-rc2.x |
| linux / linux_kernel | 6.5-rc3 | 6.5-rc3.x |