In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition
In btsdio_probe, the data->work is bound with btsdio_work. It will be started in btsdio_send_frame.
If the btsdio_remove runs with a unfinished work, there may be a race condition that hdev is freed but used in btsdio_work. Fix it by canceling the work before do cleanup in btsdio_remove.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | - | 4.14.326 |
| linux / linux_kernel | 4.15 | 4.19.295 |
| linux / linux_kernel | 4.20 | 5.4.257 |
| linux / linux_kernel | 5.5 | 5.10.195 |
| linux / linux_kernel | 5.11 | 5.15.131 |
| linux / linux_kernel | 5.16 | 6.1.52 |
| linux / linux_kernel | 6.2 | 6.3 |
| linux / linux_kernel | 6.3-rc1 | 6.3-rc1.x |
| linux / linux_kernel | 6.3-rc2 | 6.3-rc2.x |
| linux / linux_kernel | 6.3-rc3 | 6.3-rc3.x |
| linux / linux_kernel | 6.3-rc4 | 6.3-rc4.x |
| linux / linux_kernel | 6.3-rc5 | 6.3-rc5.x |
| linux / linux_kernel | 6.3-rc6 | 6.3-rc6.x |