CVE-2023-53145 (GCVE-0-2023-53145)

Vulnerability from cvelistv5 – Published: 2025-05-10 14:19 – Updated: 2026-01-05 10:18
VLAI?
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: ddbaf13e3609442b64abb931ac21527772d87980 , < 6c3653627397a0d6eab19b20a59423e118985a6b (git)
Affected: ddbaf13e3609442b64abb931ac21527772d87980 , < 3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e (git)
Affected: ddbaf13e3609442b64abb931ac21527772d87980 , < a6650d27ab2c12a8ee750f396edb5ac8b4558b2e (git)
Affected: ddbaf13e3609442b64abb931ac21527772d87980 , < 746b363bef41cc159c051c47f9e30800bc6b520d (git)
Affected: ddbaf13e3609442b64abb931ac21527772d87980 , < a5c2a467e9e789ae0891de55b766daac52e3b7b3 (git)
Affected: ddbaf13e3609442b64abb931ac21527772d87980 , < 179c65828593aff1f444e15debd40a477cb23cf4 (git)
Affected: ddbaf13e3609442b64abb931ac21527772d87980 , < 73f7b171b7c09139eb3c6a5677c200dc1be5f318 (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.24
Unaffected: 0 , < 2.6.24 (semver)
Unaffected: 4.14.326 , ≤ 4.14.* (semver)
Unaffected: 4.19.295 , ≤ 4.19.* (semver)
Unaffected: 5.4.257 , ≤ 5.4.* (semver)
Unaffected: 5.10.195 , ≤ 5.10.* (semver)
Unaffected: 5.15.131 , ≤ 5.15.* (semver)
Unaffected: 6.1.52 , ≤ 6.1.* (semver)
Unaffected: 6.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/bluetooth/btsdio.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6c3653627397a0d6eab19b20a59423e118985a6b",
              "status": "affected",
              "version": "ddbaf13e3609442b64abb931ac21527772d87980",
              "versionType": "git"
            },
            {
              "lessThan": "3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e",
              "status": "affected",
              "version": "ddbaf13e3609442b64abb931ac21527772d87980",
              "versionType": "git"
            },
            {
              "lessThan": "a6650d27ab2c12a8ee750f396edb5ac8b4558b2e",
              "status": "affected",
              "version": "ddbaf13e3609442b64abb931ac21527772d87980",
              "versionType": "git"
            },
            {
              "lessThan": "746b363bef41cc159c051c47f9e30800bc6b520d",
              "status": "affected",
              "version": "ddbaf13e3609442b64abb931ac21527772d87980",
              "versionType": "git"
            },
            {
              "lessThan": "a5c2a467e9e789ae0891de55b766daac52e3b7b3",
              "status": "affected",
              "version": "ddbaf13e3609442b64abb931ac21527772d87980",
              "versionType": "git"
            },
            {
              "lessThan": "179c65828593aff1f444e15debd40a477cb23cf4",
              "status": "affected",
              "version": "ddbaf13e3609442b64abb931ac21527772d87980",
              "versionType": "git"
            },
            {
              "lessThan": "73f7b171b7c09139eb3c6a5677c200dc1be5f318",
              "status": "affected",
              "version": "ddbaf13e3609442b64abb931ac21527772d87980",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/bluetooth/btsdio.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.24"
            },
            {
              "lessThan": "2.6.24",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.131",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.326",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.195",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.131",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.52",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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-\u003ework 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-05T10:18:18.488Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
        }
      ],
      "title": "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53145",
    "datePublished": "2025-05-10T14:19:14.932Z",
    "dateReserved": "2025-05-02T15:51:43.565Z",
    "dateUpdated": "2026-01-05T10:18:18.488Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…