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.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Use‑after‑free in the Bluetooth driver
Action: Apply patch
AI Analysis

Impact

A defect in the Linux kernel Bluetooth driver allows the hci_dev to be freed before the RPMsg endpoints are destroyed. This leads to a use‑after‑free condition where the callback associated with the endpoint can dereference a pointer to an already freed hci_dev. An attacker who can trigger the endpoint callback during teardown could potentially corrupt memory, crash the kernel, or gain elevated privileges. The weakness corresponds to a classic use‑after‑free flaw.

Affected Systems

The vulnerability affects the Linux kernel, specifically the btqcomsmd component of the Bluetooth subsystem. No specific kernel version is listed in the available data, so any kernel installation that includes this driver and the described teardown order may be impacted.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate impact. The EPSS score is <1%, implying a very low current exploitation probability. The vulnerability is not listed in CISA KEV. The flaw requires an attacker to trigger the RPMsg endpoint callback while the driver is tearing down, typically by delivering data via WCNSS during shutdown or a driver error path. Successful exploitation could lead to memory corruption or kernel panic, potentially allowing local privilege escalation or kernel mode code execution.

Generated by OpenCVE AI on October 1, 2026 at 05:42 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that ensures RPMsg endpoints are destroyed before freeing the hci_dev.
  • Reboot the system after applying the patch to load the driver with the correct teardown order.
  • If the patch is not yet available, disable the Bluetooth subsystem or prevent WCNSS from sending data during driver teardown, for example by temporarily unloading the netlink or disabling the device, to mitigate the use‑after‑free until a fix is applied.

Generated by OpenCVE AI on October 1, 2026 at 05:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 21:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title Bluetooth: btqcomsmd: destroy RPMsg endpoints before freeing hci_dev
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T10:22:32.837Z

Reserved: 2026-09-25T10:18:58.200Z

Link: CVE-2026-97908

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:17.730

Modified: 2026-09-25T11:17:17.730

Link: CVE-2026-97908

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97908 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T05:45:17Z

Weaknesses