Skip to content
Heist/ feed
Unrated

Bluetooth: btqcomsmd: destroy RPMsg endpoints before freeing hci_dev

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btqcomsmd: destroy RPMsg endpoints before freeing hci_dev The command and ACL RPMsg endpoints store struct btqcomsmd as their callback private data. The receive callbacks dereference btq->hdev without taking an hci_dev reference. The current teardown order frees the hci_dev before destroying the RPMsg endpoints in both the hci_register_dev() error path and the driver remove path. If WCNSS delivers data in that window, the endpoint callback can run with an already freed hci_dev and pass it to the Bluetooth core. For qcom_smd endpoints, rpmsg_destroy_ept() closes the channel and clears the callback under the channel recv_lock. The receive path holds the same lock while invoking the callback, so destroying the endpoints first both prevents new callbacks and serializes with any callback already running. Destroy the command and ACL endpoints before hci_free_dev(). Keep hci_unregister_dev() first during remove so the HCI core stops issuing operations before the transport endpoints are shut down. In the full registration-error cleanup path, return directly after freeing the hci_dev to avoid falling through to the partial-construction labels and destroying the endpoints twice.

Announced Source revision 1
Original source ↗

CVE-2026-97908

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-97908

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5052de8deff5619a9b7071f00084fd0264b58e17",
        "lessThan": "aaa7f676418e1eb2c4ef0d4e4b07812b25e7b404",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5052de8deff5619a9b7071f00084fd0264b58e17",
        "lessThan": "962dcc1d8a52e64428cae07806e7f6b8d3ec6ac0",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5052de8deff5619a9b7071f00084fd0264b58e17",
        "lessThan": "2dcc2240b4e5f6e5dce1736f82666aba40eb3b13",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5052de8deff5619a9b7071f00084fd0264b58e17",
        "lessThan": "2d016208a011558f211ec9687889df8318654730",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5052de8deff5619a9b7071f00084fd0264b58e17",
        "lessThan": "f5a427b16e45210dee656b0860728f3d496dee85",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/bluetooth/btqcomsmd.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.12",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/bluetooth/btqcomsmd.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97908

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#48800 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement