CVE-2026-143119: Bluetooth: hci_qca: fix use-after-free in ibs debugfs files
Bluetooth: hciqca: fix use-after-free in ibs debugfs files
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
Store the `ibs` directory dentry in `struct qca_data` and call `debugfs_remove_recursive()` on it before freeing `qca_data`.
Event History
Frequently Asked Questions
When can the stale debugfs files be accessed after the driver data has been freed?
This can occur when the HCI device outlives the qca driver data, such as when an HCI socket still holds a reference to the device after qca_close() runs. The ibs debugfs directory remains under hdev->debugfs in that state.
What access does an attacker need to trigger the issue?
An attacker needs the ability to read from or write to the ibs debugfs files while the HCI device remains alive after qca_data has been freed. The affected directory contains two writable files as well as readable files.
What happens after the fix when these files are accessed after driver teardown?
The ibs debugfs directory is removed before qca_data is freed. Calls already inside the file operations are waited for, and later accesses fail with -EIO rather than dereferencing freed memory.