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 075CC42B759 for ; Wed, 6 May 2026 11:33:07 +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=1778067187; cv=none; b=hScvkT0Neps5wgqB7PlXPtRfNi0V5asmfEI4hemNMtnM8Y8DeZVCsJsoNAjiaRi8ohUAqVJYtJm79chgo0e9WbmsnsPOXOzKNMMRrEVrxbEEYC+0cXWJWvb5ln+9zvn/JqcCmLatOOeoqz1erMeDvKqwNQSEMDJ99TdRzBGeo78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067187; c=relaxed/simple; bh=3/wo3ksQpmD9cO/Mavn9J7e1GNpSHiykqITYS6AtuZM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aUErIojjCjxsFgty67T8/jqL7L95vV/p8RQWl/npN9WvIh6cyzHkBzno4dWT5zhA/g2pWeUAiTGWDJGnBmyYLV0Mszs+KHu7bVO/CsXxOKQZz1wLWeyO0TVg1sNxuLsFVYJXUCYVL0+UrqQt6B5RBRoqj4BWkWWifQwfRgdTYcE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BVd5LvUR; 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="BVd5LvUR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91483C2BCB8; Wed, 6 May 2026 11:33:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067186; bh=3/wo3ksQpmD9cO/Mavn9J7e1GNpSHiykqITYS6AtuZM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=BVd5LvURSyi9lUa7qUu/NgiSnoMYBG3UAy+bUxX2h2lDthM1eGmi85ghW3XrrAGc3 3FGofhTJogFmpqaXazgjSBee7mRvbKd6CDsmp/dZuv6u1jrSeERW56vJJjJuB33cv6 QHPe9wcO51sf4YLVS2enBAEe0RV6i7GsLzM3hBdI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43220: iommu/amd: serialize sequence allocation under concurrent TLB invalidations Date: Wed, 6 May 2026 13:28:56 +0200 Message-ID: <2026050652-CVE-2026-43220-cf2b@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=2201; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uCCt9n312VFvOFVAJSTZ4etPD6UPJkjpD128DNfIjGY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VXcceqpxqzb46rdZKttjWd8kvPfTOBw9NYT7qYaMB OvRkxlGHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRi1wM8yxtOpQyC+4f3fzz sicHZ2T+j6PCMxnmV/qwqPQd2Pt5zumgsPhvB7kY2f/IAAA= 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: iommu/amd: serialize sequence allocation under concurrent TLB invalidations With concurrent TLB invalidations, completion wait randomly gets timed out because cmd_sem_val was incremented outside the IOMMU spinlock, allowing CMD_COMPL_WAIT commands to be queued out of sequence and breaking the ordering assumption in wait_on_sem(). Move the cmd_sem_val increment under iommu->lock so completion sequence allocation is serialized with command queuing. And remove the unnecessary return. The Linux kernel CVE team has assigned CVE-2026-43220 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.128 with commit f2f65b28d802a667119147444ec2ae33eebf9a58 Issue introduced in 6.12.75 with commit 715c263119fd1b918a9fcbd8a36ea5b604a46324 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-43220 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/iommu/amd/amd_iommu_types.h drivers/iommu/amd/init.c drivers/iommu/amd/iommu.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/5000ce7fcb31067566a1a1a2e5b5bbff93625242 https://git.kernel.org/stable/c/48caa7542a795c9679ec1bd1bc2592e05a7369a4 https://git.kernel.org/stable/c/9e249c48412828e807afddc21527eb734dc9bd3d