CVE-2026-68389: Bluetooth: hci_qca: Clear memdump state on invalid dump size

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081046-CVE-2026-68389-13d3@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-68389 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.6 with commit 06d3fdfcdf5cefb06f2024b9d3dad356779399cf and fixed in 6.6.148 with commit 5a3945e8dea6c9a8ec9e981169ac9487e1d6ad6a
	Issue introduced in 6.6 with commit 06d3fdfcdf5cefb06f2024b9d3dad356779399cf and fixed in 6.12.101 with commit 069258d5111eed9ac9586bee42d03d38e2975715
	Issue introduced in 6.6 with commit 06d3fdfcdf5cefb06f2024b9d3dad356779399cf and fixed in 6.18.42 with commit cefb44c367b2b52e50f97bc8526d39df9bcf5e60
	Issue introduced in 6.6 with commit 06d3fdfcdf5cefb06f2024b9d3dad356779399cf and fixed in 7.1.6 with commit 2363a757694752426fc47f3eadde15cf5f791fa5
	Issue introduced in 6.6 with commit 06d3fdfcdf5cefb06f2024b9d3dad356779399cf and fixed in 7.2-rc4 with commit bf587a10c33e5571a299742e45bc18960b9912e7

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-68389
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/bluetooth/hci_qca.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/5a3945e8dea6c9a8ec9e981169ac9487e1d6ad6a
	https://git.kernel.org/stable/c/069258d5111eed9ac9586bee42d03d38e2975715
	https://git.kernel.org/stable/c/cefb44c367b2b52e50f97bc8526d39df9bcf5e60
	https://git.kernel.org/stable/c/2363a757694752426fc47f3eadde15cf5f791fa5
	https://git.kernel.org/stable/c/bf587a10c33e5571a299742e45bc18960b9912e7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.