Description
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_qca: fix use-after-free in ibs debugfs files
qca_debugfs_init() creates an "ibs" directory under hdev->debugfs and stores pointers to fields of struct qca_data in the debugfs files. qca_close() frees qca_data without removing that directory, while hdev->debugfs is only removed when the HCI device is released. The HCI device can outlive the driver data, for example when an HCI socket still references it, so reading or writing one of the ibs files then dereferences freed memory.
Store the directory dentry in struct qca_data and remove the directory with debugfs_remove_recursive() before qca_data is freed. debugfs_remove() waits for callers that are already inside the file operations, and any later access fails with -EIO instead of reaching the debugfs helpers. This covers the two writable files as well.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 0ff252c1976da5d80db1377eb39b551931e61826, < 7adc1065420af2ce058b950486e7fd58f85636c7; >= 0ff252c1976da5d80db1377eb39b551931e61826, < a6b6f3047e6718141c277fbfcd8282d3ca179676; >= 0ff252c1976da5d80db1377eb39b551931e61826, < f92211872631d6f8e6f0e58b895e2c907a30fc00; >= 0ff252c1976da5d80db1377eb39b551931e61826, < 9eff086093ba39e8060af8eafe5090985c3c6ce4; >= 0ff252c1976da5d80db1377eb39b551931e61826, < a545b76352dc02c3d3b85b3567f9bfd3abbca65a; >= 0ff252c1976da5d80db1377eb39b551931e61826, < eeca795cec6d9c6c193c2c1bd0cb26cde44f9fc3 |
| Linux | Linux | 4.3 |
References
- https://git.kernel.org/stable/c/7adc1065420af2ce058b950486e7fd58f85636c7
- https://git.kernel.org/stable/c/9eff086093ba39e8060af8eafe5090985c3c6ce4
- https://git.kernel.org/stable/c/a545b76352dc02c3d3b85b3567f9bfd3abbca65a
- https://git.kernel.org/stable/c/a6b6f3047e6718141c277fbfcd8282d3ca179676
- https://git.kernel.org/stable/c/eeca795cec6d9c6c193c2c1bd0cb26cde44f9fc3
- https://git.kernel.org/stable/c/f92211872631d6f8e6f0e58b895e2c907a30fc00
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received