Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143119

Bluetooth: hci_qca: fix use-after-free in ibs debugfs files

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0ff252c1976da5d80db1377eb39b551931e61826 to < 7adc1065420af2ce058b950486e7fd58f85636c7affected
  • 0ff252c1976da5d80db1377eb39b551931e61826 to < a6b6f3047e6718141c277fbfcd8282d3ca179676affected
  • 0ff252c1976da5d80db1377eb39b551931e61826 to < f92211872631d6f8e6f0e58b895e2c907a30fc00affected
  • 0ff252c1976da5d80db1377eb39b551931e61826 to < 9eff086093ba39e8060af8eafe5090985c3c6ce4affected
  • 0ff252c1976da5d80db1377eb39b551931e61826 to < a545b76352dc02c3d3b85b3567f9bfd3abbca65aaffected
  • 0ff252c1976da5d80db1377eb39b551931e61826 to < eeca795cec6d9c6c193c2c1bd0cb26cde44f9fc3affected

Linux Linux

Default version status: affected

  • 4.3affected
  • 0 to < 4.3unaffected
  • 5.10.276 to ≤ 5.10.*unaffected
  • 5.15.227 to ≤ 5.15.*unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References