Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.326, 4.19.295, 5.10.195, 5.15.131, 5.4.257, 6.1.52
CVEs
CVE-2023-53145
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 00:59 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 10 May 2025, 14:19 UTC

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.

osv:CVE-2023-53145

Kernel

Fixed versions: 4.14.326, 4.19.295, 5.4.257, 5.10.195, 5.15.131, 6.1.52

Complete source record
{
  "id": "1fadb09247dcd9d16506585ca00c76497dc2c68c3ab33cdf8052b56a177e3c19",
  "url": "https://osv.dev/vulnerability/CVE-2023-53145",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition",
    "summary": "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.",
    "evidence": "osv:CVE-2023-53145",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.14.326",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.295",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.257",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.195",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.131",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.52",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-53145",
      "aliases": [
        "CVE-2023-53145"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ddbaf13e3609442b64abb931ac21527772d87980"
                },
                {
                  "fixed": "6c3653627397a0d6eab19b20a59423e118985a6b"
                },
                {
                  "fixed": "3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e"
                },
                {
                  "fixed": "a6650d27ab2c12a8ee750f396edb5ac8b4558b2e"
                },
                {
                  "fixed": "746b363bef41cc159c051c47f9e30800bc6b520d"
                },
                {
                  "fixed": "a5c2a467e9e789ae0891de55b766daac52e3b7b3"
                },
                {
                  "fixed": "179c65828593aff1f444e15debd40a477cb23cf4"
                },
                {
                  "fixed": "73f7b171b7c09139eb3c6a5677c200dc1be5f318"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53145.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.24"
                },
                {
                  "fixed": "4.14.326"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.295"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.257"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.195"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.131"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.52"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53145.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.659294365Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/179c65828593aff1f444e15debd40a477cb23cf4",
        "https://git.kernel.org/stable/c/3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e",
        "https://git.kernel.org/stable/c/6c3653627397a0d6eab19b20a59423e118985a6b",
        "https://git.kernel.org/stable/c/73f7b171b7c09139eb3c6a5677c200dc1be5f318",
        "https://git.kernel.org/stable/c/746b363bef41cc159c051c47f9e30800bc6b520d",
        "https://git.kernel.org/stable/c/a5c2a467e9e789ae0891de55b766daac52e3b7b3",
        "https://git.kernel.org/stable/c/a6650d27ab2c12a8ee750f396edb5ac8b4558b2e",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53145.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53145",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53145.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53145",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 516804,
  "published_at": "2025-05-10T14:19:14.932+00:00"
}