What’s Vulnerable › Vulnerabilities

CVE-2023-53145: Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.326, 4.19.295, 5.10.195, 5.15.131. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53145 or the next vulnerability affects your stack