Linux
Bluetooth: hci_qca: Clear memdump state on invalid dump size
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_qca: Clear memdump state on invalid dump size qca_controller_memdump() allocates qca->qca_memdump before processing the first dump packet. For a sequence-zero packet it then disables IBS, marks memdump collection active, and reads the advertised dump size. If the controller reports a zero dump size, the error path frees the local qca_memdump object and returns without clearing qca->qca_memdump or undoing the collection state. A later memdump work item initializes its local pointer from qca->qca_memdump and skips allocation when that pointer is non-NULL, so it can operate on freed memory. The stale collection and IBS-disabled flags can also leave waiters or later transmit handling blocked behind an aborted dump. Clear the saved pointer and memdump state before returning from the invalid-size path, matching the cleanup used when hci_devcd_init() fails. A static analysis checker reported the stale memdump state, and manual source review confirmed the invalid-size failure path.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 06d3fdfcdf5cefb06f2024b9d3dad356779399cf, < 5a3945e8dea6c9a8ec9e981169ac9487e1d6ad6a
- >= 06d3fdfcdf5cefb06f2024b9d3dad356779399cf, < 069258d5111eed9ac9586bee42d03d38e2975715
- >= 06d3fdfcdf5cefb06f2024b9d3dad356779399cf, < cefb44c367b2b52e50f97bc8526d39df9bcf5e60
- >= 06d3fdfcdf5cefb06f2024b9d3dad356779399cf, < 2363a757694752426fc47f3eadde15cf5f791fa5
- >= 06d3fdfcdf5cefb06f2024b9d3dad356779399cf, < bf587a10c33e5571a299742e45bc18960b9912e7
Fixed in 5a3945e8dea6c9a8ec9e981169ac9487e1d6ad6a, 069258d5111eed9ac9586bee42d03d38e2975715, cefb44c367b2b52e50f97bc8526d39df9bcf5e60, 2363a757694752426fc47f3eadde15cf5f791fa5, bf587a10c33e5571a299742e45bc18960b9912e7
- 6.6
Fixed in 0, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to 5a3945e8dea6c9a8ec9e981169ac9487e1d6ad6a or 069258d5111eed9ac9586bee42d03d38e2975715 or cefb44c367b2b52e50f97bc8526d39df9bcf5e60 or 2363a757694752426fc47f3eadde15cf5f791fa5 or bf587a10c33e5571a299742e45bc18960b9912e7 or later.
Upgrade Linux to 0 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.