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

CVE record · `CVE-2023-53145`

- **Identifiers:** `CVE-2023-53145`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 10 May 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 10 May 2025, 14:19 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `ddbaf13e3609442b64abb931ac21527772d87980 to before 6c3653627397a0d6eab19b20a59423e118985a6b` (git)
  - affected: `ddbaf13e3609442b64abb931ac21527772d87980 to before 3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e` (git)
  - affected: `ddbaf13e3609442b64abb931ac21527772d87980 to before a6650d27ab2c12a8ee750f396edb5ac8b4558b2e` (git)
  - affected: `ddbaf13e3609442b64abb931ac21527772d87980 to before 746b363bef41cc159c051c47f9e30800bc6b520d` (git)
  - affected: `ddbaf13e3609442b64abb931ac21527772d87980 to before a5c2a467e9e789ae0891de55b766daac52e3b7b3` (git)
  - affected: `ddbaf13e3609442b64abb931ac21527772d87980 to before 179c65828593aff1f444e15debd40a477cb23cf4` (git)
  - affected: `ddbaf13e3609442b64abb931ac21527772d87980 to before 73f7b171b7c09139eb3c6a5677c200dc1be5f318` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.24`
  - unaffected: `before 2.6.24` (semver)
  - unaffected: `4.14.326 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.295 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.257 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.195 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.131 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.52 to 6.1.*, inclusive` (semver)
  - unaffected: `6.3 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Linux kernel Bluetooth btsdio driver: a use-after-free in btsdio_remove can occur when the device is removed while queued work is still pending, because the hdev may be freed while btsdio_work still uses it. The source gives few details about how an attacker would trigger this. The fix is to cancel the pending work before cleanup in btsdio_remove; the source lists fixed kernel versions in its affected-version ranges, including 4.14.326, 4.19.295, 5.4.257 and 5.10.195 and later stable releases, so upgrade to a kernel release containing the fix for your branch.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 9th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 10 May 2025, 14:19 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2023-53145)
- 10 May 2025, 15:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-53145)

## Sources

- [CVE List: CVE-2023-53145](https://www.cve.org/CVERecord?id=CVE-2023-53145)
- [NVD: CVE-2023-53145](https://nvd.nist.gov/vuln/detail/CVE-2023-53145)

### References from the CNA

- <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>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-53145>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-53145/>. Everything for agents: <https://agentprime.io/llms.txt>.
