Skip to contentSkip to conversation

CVE-2026-43353: i3c: mipi-i3c-hci: Fix race in DMA ring dequeue

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 8

lore
Share & tools
lore
#0 lore raw

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

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

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

i3c: mipi-i3c-hci: Fix race in DMA ring dequeue

The HCI DMA dequeue path (hci_dma_dequeue_xfer()) may be invoked for multiple transfers that timeout around the same time. However, the function is not serialized and can race with itself.

When a timeout occurs, hci_dma_dequeue_xfer() stops the ring, processes incomplete transfers, and then restarts the ring. If another timeout triggers a parallel call into the same function, the two instances may interfere with each other - stopping or restarting the ring at unexpected times.

Add a mutex so that hci_dma_dequeue_xfer() is serialized with respect to itself.

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

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

	Issue introduced in 5.11 with commit 9ad9a52cce2828d932ae9495181e3d6414f72c07 and fixed in 6.18.19 with commit b684b420a5bb0ea1b0e13abfdb8ce41c5266e62e
	Issue introduced in 5.11 with commit 9ad9a52cce2828d932ae9495181e3d6414f72c07 and fixed in 6.19.9 with commit 4faa1e9c67a2229f6749190aedaf88ce0391efd2
	Issue introduced in 5.11 with commit 9ad9a52cce2828d932ae9495181e3d6414f72c07 and fixed in 7.0 with commit 1dca8aee80eea76d2aae21265de5dd64f6ba0f09

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

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/i3c/master/mipi-i3c-hci/core.c
drivers/i3c/master/mipi-i3c-hci/dma.c
drivers/i3c/master/mipi-i3c-hci/hci.h

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/b684b420a5bb0ea1b0e13abfdb8ce41c5266e62e
	https://git.kernel.org/stable/c/4faa1e9c67a2229f6749190aedaf88ce0391efd2
	https://git.kernel.org/stable/c/1dca8aee80eea76d2aae21265de5dd64f6ba0f09