CVE-2026-143119
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.
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/7adc1065420af2ce058b950486e7fd58f85636c7nvd
- git.kernel.org/stable/c/9eff086093ba39e8060af8eafe5090985c3c6ce4nvd
- git.kernel.org/stable/c/a545b76352dc02c3d3b85b3567f9bfd3abbca65anvd
- git.kernel.org/stable/c/a6b6f3047e6718141c277fbfcd8282d3ca179676nvd
- git.kernel.org/stable/c/eeca795cec6d9c6c193c2c1bd0cb26cde44f9fc3nvd
- git.kernel.org/stable/c/f92211872631d6f8e6f0e58b895e2c907a30fc00nvd
News mentions
0No linked articles in our index yet.