{"id":"CVE-2023-53145","state":"PUBLISHED","title":"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:\n\nBluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition\n\nIn btsdio_probe, the data->work is bound with btsdio_work. It will be\nstarted in btsdio_send_frame.\n\nIf the btsdio_remove runs with a unfinished work, there may be a race\ncondition that hdev is freed but used in btsdio_work. Fix it by\ncanceling the work before do cleanup in btsdio_remove.","publishedAt":"2025-05-10T14:19:14.932Z","updatedAt":"2026-05-11T19:39:18.996Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"6c3653627397a0d6eab19b20a59423e118985a6b","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"a6650d27ab2c12a8ee750f396edb5ac8b4558b2e","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"746b363bef41cc159c051c47f9e30800bc6b520d","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"a5c2a467e9e789ae0891de55b766daac52e3b7b3","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"179c65828593aff1f444e15debd40a477cb23cf4","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"73f7b171b7c09139eb3c6a5677c200dc1be5f318","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btsdio.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.24","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.24","versionType":"semver"},{"version":"4.14.326","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.295","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.257","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.195","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.131","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.52","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btsdio.c"]}],"references":["https://git.kernel.org/stable/c/6c3653627397a0d6eab19b20a59423e118985a6b","https://git.kernel.org/stable/c/3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e","https://git.kernel.org/stable/c/a6650d27ab2c12a8ee750f396edb5ac8b4558b2e","https://git.kernel.org/stable/c/746b363bef41cc159c051c47f9e30800bc6b520d","https://git.kernel.org/stable/c/a5c2a467e9e789ae0891de55b766daac52e3b7b3","https://git.kernel.org/stable/c/179c65828593aff1f444e15debd40a477cb23cf4","https://git.kernel.org/stable/c/73f7b171b7c09139eb3c6a5677c200dc1be5f318"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53145.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53145","state":"PUBLISHED","datePublished":"2025-05-10T14:19:14.932Z","dateUpdated":"2026-05-11T19:39:18.996Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-05-02T15:51:43.565Z"},"containers":{"cna":{"title":"Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition\n\nIn btsdio_probe, the data->work is bound with btsdio_work. It will be\nstarted in btsdio_send_frame.\n\nIf the btsdio_remove runs with a unfinished work, there may be a race\ncondition that hdev is freed but used in btsdio_work. Fix it by\ncanceling the work before do cleanup in btsdio_remove."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"6c3653627397a0d6eab19b20a59423e118985a6b","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"a6650d27ab2c12a8ee750f396edb5ac8b4558b2e","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"746b363bef41cc159c051c47f9e30800bc6b520d","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"a5c2a467e9e789ae0891de55b766daac52e3b7b3","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"179c65828593aff1f444e15debd40a477cb23cf4","versionType":"git"},{"version":"ddbaf13e3609442b64abb931ac21527772d87980","status":"affected","lessThan":"73f7b171b7c09139eb3c6a5677c200dc1be5f318","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btsdio.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.24","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.24","versionType":"semver"},{"version":"4.14.326","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.295","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.257","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.195","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.131","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.52","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btsdio.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6c3653627397a0d6eab19b20a59423e118985a6b"},{"url":"https://git.kernel.org/stable/c/3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e"},{"url":"https://git.kernel.org/stable/c/a6650d27ab2c12a8ee750f396edb5ac8b4558b2e"},{"url":"https://git.kernel.org/stable/c/746b363bef41cc159c051c47f9e30800bc6b520d"},{"url":"https://git.kernel.org/stable/c/a5c2a467e9e789ae0891de55b766daac52e3b7b3"},{"url":"https://git.kernel.org/stable/c/179c65828593aff1f444e15debd40a477cb23cf4"},{"url":"https://git.kernel.org/stable/c/73f7b171b7c09139eb3c6a5677c200dc1be5f318"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:39:18.996Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.24","versionEndExcluding":"4.14.326"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.24","versionEndExcluding":"4.19.295"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.24","versionEndExcluding":"5.4.257"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.24","versionEndExcluding":"5.10.195"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.24","versionEndExcluding":"5.15.131"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.24","versionEndExcluding":"6.1.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.24","versionEndExcluding":"6.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}