{"id":"CVE-2026-97908","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btqcomsmd: destroy RPMsg endpoints before freeing hci_dev\n\nThe command and ACL RPMsg endpoints store struct btqcomsmd as their\ncallback private data","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btqcomsmd: destroy RPMsg endpoints before freeing hci_dev\n\nThe command and ACL RPMsg endpoints store struct btqcomsmd as their\ncallback private data. The rec…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 5052de8deff5619a9b7071f00084fd0264b58e17 < 962dcc1d8a52e64428cae07806e7f6b8d3ec6ac0","Linux >= 5052de8deff5619a9b7071f00084fd0264b58e17 < 2dcc2240b4e5f6e5dce1736f82666aba40eb3b13","Linux >= 5052de8deff5619a9b7071f00084fd0264b58e17 < 2d016208a011558f211ec9687889df8318654730","Linux >= 5052de8deff5619a9b7071f00084fd0264b58e17 < f5a427b16e45210dee656b0860728f3d496dee85","Linux 4.12"],"published":"2026-09-25","updated":"2026-09-25","sourceUpdated":"2026-09-25T11:17:17.730","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-97908","references":[{"url":"https://git.kernel.org/stable/c/2d016208a011558f211ec9687889df8318654730","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2dcc2240b4e5f6e5dce1736f82666aba40eb3b13","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/962dcc1d8a52e64428cae07806e7f6b8d3ec6ac0","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f5a427b16e45210dee656b0860728f3d496dee85","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-09-25T11:06:38.893Z","slug":"CVE-2026-97908","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btqcomsmd: destroy RPMsg endpoints before freeing hci_dev\n\nThe command and ACL RPMsg endpoints store struct btqcomsmd as their\ncallback private data. The receive callbacks dereference btq->hdev\nwithout taking an hci_dev reference.\n\nThe current teardown order frees the hci_dev before destroying the RPMsg\nendpoints in both the hci_register_dev() error path and the driver remove\npath. If WCNSS delivers data in that window, the endpoint callback can\nrun with an already freed hci_dev and pass it to the Bluetooth core.\n\nFor qcom_smd endpoints, rpmsg_destroy_ept() closes the channel and clears\nthe callback under the channel recv_lock. The receive path holds the same\nlock while invoking the callback, so destroying the endpoints first both\nprevents new callbacks and serializes with any callback already running.\n\nDestroy the command and ACL endpoints before hci_free_dev(). Keep\nhci_unregister_dev() first during remove so the HCI core stops issuing\noperations before the transport endpoints are shut down. In the full\nregistration-error cleanup path, return directly after freeing the hci_dev\nto avoid falling through to the partial-construction labels and destroying\nthe endpoints twice.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}