{"id":"CVE-2026-143119","state":"PUBLISHED","title":"Bluetooth: hci_qca: fix use-after-free in ibs debugfs files","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_qca: fix use-after-free in ibs debugfs files\n\nqca_debugfs_init() creates an \"ibs\" directory under hdev->debugfs and\nstores pointers to fields of struct qca_data in the debugfs files.\nqca_close() frees qca_data without removing that directory, while\nhdev->debugfs is only removed when the HCI device is released. The HCI\ndevice can outlive the driver data, for example when an HCI socket still\nreferences it, so reading or writing one of the ibs files then\ndereferences freed memory.\n\nStore the directory dentry in struct qca_data and remove the directory\nwith debugfs_remove_recursive() before qca_data is freed.\ndebugfs_remove() waits for callers that are already inside the file\noperations, and any later access fails with -EIO instead of reaching the\ndebugfs helpers. This covers the two writable files as well.","publishedAt":"2026-12-03T09:19:31.458Z","updatedAt":"2026-12-03T09:19:31.458Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"7adc1065420af2ce058b950486e7fd58f85636c7","versionType":"git"},{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"a6b6f3047e6718141c277fbfcd8282d3ca179676","versionType":"git"},{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"f92211872631d6f8e6f0e58b895e2c907a30fc00","versionType":"git"},{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"9eff086093ba39e8060af8eafe5090985c3c6ce4","versionType":"git"},{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"a545b76352dc02c3d3b85b3567f9bfd3abbca65a","versionType":"git"},{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"eeca795cec6d9c6c193c2c1bd0cb26cde44f9fc3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/hci_qca.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.3","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/hci_qca.c"]}],"references":["https://git.kernel.org/stable/c/7adc1065420af2ce058b950486e7fd58f85636c7","https://git.kernel.org/stable/c/a6b6f3047e6718141c277fbfcd8282d3ca179676","https://git.kernel.org/stable/c/f92211872631d6f8e6f0e58b895e2c907a30fc00","https://git.kernel.org/stable/c/9eff086093ba39e8060af8eafe5090985c3c6ce4","https://git.kernel.org/stable/c/a545b76352dc02c3d3b85b3567f9bfd3abbca65a","https://git.kernel.org/stable/c/eeca795cec6d9c6c193c2c1bd0cb26cde44f9fc3"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143119.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143119","state":"PUBLISHED","datePublished":"2026-12-03T09:19:31.458Z","dateUpdated":"2026-12-03T09:19:31.458Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.351Z"},"containers":{"cna":{"title":"Bluetooth: hci_qca: fix use-after-free in ibs debugfs files","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_qca: fix use-after-free in ibs debugfs files\n\nqca_debugfs_init() creates an \"ibs\" directory under hdev->debugfs and\nstores pointers to fields of struct qca_data in the debugfs files.\nqca_close() frees qca_data without removing that directory, while\nhdev->debugfs is only removed when the HCI device is released. The HCI\ndevice can outlive the driver data, for example when an HCI socket still\nreferences it, so reading or writing one of the ibs files then\ndereferences freed memory.\n\nStore the directory dentry in struct qca_data and remove the directory\nwith debugfs_remove_recursive() before qca_data is freed.\ndebugfs_remove() waits for callers that are already inside the file\noperations, and any later access fails with -EIO instead of reaching the\ndebugfs helpers. This covers the two writable files as well."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"7adc1065420af2ce058b950486e7fd58f85636c7","versionType":"git"},{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"a6b6f3047e6718141c277fbfcd8282d3ca179676","versionType":"git"},{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"f92211872631d6f8e6f0e58b895e2c907a30fc00","versionType":"git"},{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"9eff086093ba39e8060af8eafe5090985c3c6ce4","versionType":"git"},{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"a545b76352dc02c3d3b85b3567f9bfd3abbca65a","versionType":"git"},{"version":"0ff252c1976da5d80db1377eb39b551931e61826","status":"affected","lessThan":"eeca795cec6d9c6c193c2c1bd0cb26cde44f9fc3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/hci_qca.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.3","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/hci_qca.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7adc1065420af2ce058b950486e7fd58f85636c7"},{"url":"https://git.kernel.org/stable/c/a6b6f3047e6718141c277fbfcd8282d3ca179676"},{"url":"https://git.kernel.org/stable/c/f92211872631d6f8e6f0e58b895e2c907a30fc00"},{"url":"https://git.kernel.org/stable/c/9eff086093ba39e8060af8eafe5090985c3c6ce4"},{"url":"https://git.kernel.org/stable/c/a545b76352dc02c3d3b85b3567f9bfd3abbca65a"},{"url":"https://git.kernel.org/stable/c/eeca795cec6d9c6c193c2c1bd0cb26cde44f9fc3"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:19:31.458Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}