CVE-2026-97908

Bluetooth: btqcomsmd: destroy RPMsg endpoints before freeing hci_dev

Description

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.

Key facts

Published
25 Sep 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.211% likely to be exploited in the next 30 days, higher than 11.402% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 5052de8deff5619a9b7071f00084fd0264b58e17 up to but excluding b9b34cc149f8344d1cffbf318eb1c8cb414f74ac (affected)
  • 5052de8deff5619a9b7071f00084fd0264b58e17 up to but excluding e2a0d9401368ec29bd0cdbfe9545d2a800429875 (affected)
  • 5052de8deff5619a9b7071f00084fd0264b58e17 up to but excluding f5e4f81f4e075cd5ec062f81b576b88cdee998d1 (affected)
  • 5052de8deff5619a9b7071f00084fd0264b58e17 up to but excluding aaa7f676418e1eb2c4ef0d4e4b07812b25e7b404 (affected)
  • 5052de8deff5619a9b7071f00084fd0264b58e17 up to but excluding 962dcc1d8a52e64428cae07806e7f6b8d3ec6ac0 (affected)
  • 5052de8deff5619a9b7071f00084fd0264b58e17 up to but excluding 2dcc2240b4e5f6e5dce1736f82666aba40eb3b13 (affected)
  • 5052de8deff5619a9b7071f00084fd0264b58e17 up to but excluding 2d016208a011558f211ec9687889df8318654730 (affected)
  • 5052de8deff5619a9b7071f00084fd0264b58e17 up to but excluding f5a427b16e45210dee656b0860728f3d496dee85 (affected)
LinuxLinux
  • Default status: affected
  • 4.12 (affected)
  • 0 up to but excluding 4.12 (unaffected)
  • 5.10.273 up to and including 5.10.* (unaffected)
  • 5.15.224 up to and including 5.15.* (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.111 up to and including 6.12.* (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2.7 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References