Skip to contentSkip to conversation

CVE-2026-43007: accel/qaic: Handle DBC deactivation if the owner went away

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 1

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

In the Linux kernel, the following vulnerability has been resolved:

accel/qaic: Handle DBC deactivation if the owner went away

When a DBC is released, the device sends a QAIC_TRANS_DEACTIVATE_FROM_DEV transaction to the host over the QAIC_CONTROL MHI channel. QAIC handles this by calling decode_deactivate() to release the resources allocated for that DBC. Since that handling is done in the qaic_manage_ioctl() context, if the user goes away before receiving and handling the deactivation, the host will be out-of-sync with the DBCs available for use, and the DBC resources will not be freed unless the device is removed. If another user loads and requests to activate a network, then the device assigns the same DBC to that network, QAIC will "indefinitely" wait for dbc->in_use = false, leading the user process to hang.

As a solution to this, handle QAIC_TRANS_DEACTIVATE_FROM_DEV transactions that are received after the user has gone away.

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

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

	Issue introduced in 6.4 with commit 129776ac2e38231fa9c02ce20e116c99de291666 and fixed in 6.6.134 with commit 2dd67966f39a2abf8ccb4865031c722e40e01b7f
	Issue introduced in 6.4 with commit 129776ac2e38231fa9c02ce20e116c99de291666 and fixed in 6.12.81 with commit 08021f2d4a557d6491e3bcc288e96425f50aa3cf
	Issue introduced in 6.4 with commit 129776ac2e38231fa9c02ce20e116c99de291666 and fixed in 6.18.22 with commit f403094d9075d7c565a3d81002b781c325cb3c07
	Issue introduced in 6.4 with commit 129776ac2e38231fa9c02ce20e116c99de291666 and fixed in 6.19.12 with commit ee0180e77e6c8482644569632065411de844c515
	Issue introduced in 6.4 with commit 129776ac2e38231fa9c02ce20e116c99de291666 and fixed in 7.0 with commit 2feec5ae5df785658924ab6bd91280dc3926507c

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-43007

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/accel/qaic/qaic_control.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/2dd67966f39a2abf8ccb4865031c722e40e01b7f
	https://git.kernel.org/stable/c/08021f2d4a557d6491e3bcc288e96425f50aa3cf
	https://git.kernel.org/stable/c/f403094d9075d7c565a3d81002b781c325cb3c07
	https://git.kernel.org/stable/c/ee0180e77e6c8482644569632065411de844c515
	https://git.kernel.org/stable/c/2feec5ae5df785658924ab6bd91280dc3926507c