← CVE Intelligence

CVE-2023-53145

Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected ddbaf13e3609442b64abb931ac21527772d87980 before 6c3653627397a0d6eab19b20a59423e118985a6b; affected ddbaf13e3609442b64abb931ac21527772d87980 before 3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e; affected ddbaf13e3609442b64abb931ac21527772d87980 before a6650d27ab2c12a8ee750f396edb5ac8b4558b2e; affected ddbaf13e3609442b64abb931ac21527772d87980 before 746b363bef41cc159c051c47f9e30800bc6b520d; affected ddbaf13e3609442b64abb931ac21527772d87980 before a5c2a467e9e789ae0891de55b766daac52e3b7b3; affected ddbaf13e3609442b64abb931ac21527772d87980 before 179c65828593aff1f444e15debd40a477cb23cf4; affected ddbaf13e3609442b64abb931ac21527772d87980 before 73f7b171b7c09139eb3c6a5677c200dc1be5f318
Linux / Linuxaffected 2.6.24; unaffected 0 before 2.6.24; unaffected 4.14.326 through 4.14.*; unaffected 4.19.295 through 4.19.*; unaffected 5.4.257 through 5.4.*; unaffected 5.10.195 through 5.10.*; unaffected 5.15.131 through 5.15.*; unaffected 6.1.52 through 6.1.*; unaffected 6.3 through *

CWE

No CWE identifiers supplied.

References