Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04BCD43C06A for ; Tue, 5 May 2026 15:17:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777994270; cv=none; b=M58MaJxEhNC3+iw4xSUwWuIMM91/UDdRSzBGereV6S8FQicb8R7c8Rm+kDt4HJTELYieFE/6/aIpij03LyGOj3v286JGyugZAg95cZXbxlwZWYaBe2MnbrsMPlMFf8sso1ridR8y1j7f0jLRON5IBkJJWiRfKVUsuhtH/4RIEUI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777994270; c=relaxed/simple; bh=F05EUC/Bei/BgLBkqn9TF6RlhGlVh5TKt55Txz4PR6k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mxCUySId2WTHzLtSpp0Wa6YiNP5wmpVYkQXCIUUrRB8yxt5IIYX8TygaAPNGfpwOq8eI0FkqkvCeRHSDF2tFs1uBsykb8HxJwY2pLxdy8Aq5t5q/jUtr1GeA8QANmCvKGwCw4l9vH/jobnT5WYjnvwiif3u7eRVroBTaRYOnUWs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NizxTiQD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="NizxTiQD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A34CC2BCC7; Tue, 5 May 2026 15:17:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777994269; bh=F05EUC/Bei/BgLBkqn9TF6RlhGlVh5TKt55Txz4PR6k=; h=From:To:Cc:Subject:Date:Reply-To:From; b=NizxTiQD28khR+znsUSdPuWep2iyTE9fspkflOj3cMqyG/3y6PyHJXGPgqDlGFBKP S4po4dsupNkQtp4NUftGS+r7KCBpAn82H6N+jnc8ZFXO3RyEmGfqxlUpwcSbZ+cuT1 PrBHGNT5bvEfedbu57MHdQF9ldQ+nTlQDrq9a0rg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43061: serial: 8250: Fix TX deadlock when using DMA Date: Tue, 5 May 2026 17:17:38 +0200 Message-ID: <2026050537-CVE-2026-43061-91b7@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3950; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wHQda3G2M+k/alQ3CUXKZkZOkrhofLa4LKKPdCOPgjY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/uARND8d2rY+w8w18YGLI/cA/W/TRW79Ni7xnHpmRM Vnj0JMrHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRjMUMC3aa8X5dlvQrdEpc YsaNF3sNJm+PfscwV0o72XP/Z5arKZ7u7yasemT4kj0oCwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: serial: 8250: Fix TX deadlock when using DMA `dmaengine_terminate_async` does not guarantee that the `__dma_tx_complete` callback will run. The callback is currently the only place where `dma->tx_running` gets cleared. If the transaction is canceled and the callback never runs, then `dma->tx_running` will never get cleared and we will never schedule new TX DMA transactions again. This change makes it so we clear `dma->tx_running` after we terminate the DMA transaction. This is "safe" because `serial8250_tx_dma_flush` is holding the UART port lock. The first thing the callback does is also grab the UART port lock, so access to `dma->tx_running` is serialized. The Linux kernel CVE team has assigned CVE-2026-43061 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.235 with commit 7c47e637dfadfbc691dd297b91d81ef939ca2080 and fixed in 5.10.253 with commit 8190f9ab6ad90cb97652adbebd238b874a4ef70d Issue introduced in 5.15.179 with commit bf3f395b9c37956eca866c9e1679769ed7dcce68 and fixed in 5.15.203 with commit 79a19bd936bb35f56ef0ccab1b3b59ebce8c762d Issue introduced in 6.1.129 with commit d470522c597b73e63cca04f3012aec28185113b7 and fixed in 6.1.167 with commit f76d91271bcacbd759a2e4ee3ea61faa6a727ccf Issue introduced in 6.6.79 with commit 5e00346deb7bf40a4cf70e3716ac8e9a2409eb55 and fixed in 6.6.130 with commit d2719a0a9c3439abf67843a5504b7afccd9ded93 Issue introduced in 6.12.16 with commit c8a52c772c7c6de72257a435bcad03d3bb914a70 and fixed in 6.12.78 with commit 2a72403b985aea6b4aac3171830492f9a387f9e1 Issue introduced in 6.14 with commit 9e512eaaf8f4008c44ede3dfc0fbc9d9c5118583 and fixed in 6.18.20 with commit 5f6b17562f03fc65c7d3474ef8f1959b19d1ca41 Issue introduced in 6.14 with commit 9e512eaaf8f4008c44ede3dfc0fbc9d9c5118583 and fixed in 6.19.10 with commit b5ad887339503103d0fbe9827b16ad287597c275 Issue introduced in 6.14 with commit 9e512eaaf8f4008c44ede3dfc0fbc9d9c5118583 and fixed in 7.0 with commit a424a34b8faddf97b5af41689087e7a230f79ba7 Issue introduced in 5.4.291 with commit bbec5998d7bd349730f59c959a8b00cfff816e34 Issue introduced in 6.13.4 with commit 59f751db7f392fa7a58cbd972205982f7f4f5854 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-43061 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/tty/serial/8250/8250_dma.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/8190f9ab6ad90cb97652adbebd238b874a4ef70d https://git.kernel.org/stable/c/79a19bd936bb35f56ef0ccab1b3b59ebce8c762d https://git.kernel.org/stable/c/f76d91271bcacbd759a2e4ee3ea61faa6a727ccf https://git.kernel.org/stable/c/d2719a0a9c3439abf67843a5504b7afccd9ded93 https://git.kernel.org/stable/c/2a72403b985aea6b4aac3171830492f9a387f9e1 https://git.kernel.org/stable/c/5f6b17562f03fc65c7d3474ef8f1959b19d1ca41 https://git.kernel.org/stable/c/b5ad887339503103d0fbe9827b16ad287597c275 https://git.kernel.org/stable/c/a424a34b8faddf97b5af41689087e7a230f79ba7