Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 90B443845AC for ; Thu, 17 Sep 2026 16:23:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662191; cv=none; b=KfPd6LDiEcLw7V+ezJEslHhbS0tBFlsgQl+0c1j+hsO54Nt54pzEIkmKWDh1Srwm3nLMIBRVRfT3tKC8+i5AVdOBZaPNG9r0T+GBEcgzXLiGmjU6WpPX5YrItxkVi+tcU9cl0wywETftYHhqbZvJ2v2Pp1YnUkFXU11hVqvbXNc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662191; c=relaxed/simple; bh=WxH+SGvVu7W2NMPqzMKQkrGXDd2G4vo5d2hkfqTjuUw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Rh8EFKVnkn6ZYdJI1Vr87LThr5YoJchlTYDsPNdyLRT+IHZklm5L0Sc+YIpr2yyLyMMhGyCsD3jyi7SWcxnNHhsK7kksxFWoDo0vs+orkUU1gF87ONHJk6n6b02qETzOx30YFTcC0pGeo6NtMuiOkdWWSOf6lmgUA20C2chYAsI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=s6LCl+aT; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="s6LCl+aT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A90A61F000FF; Thu, 17 Sep 2026 16:23:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662190; bh=vUsIuvivZHbgHkN4TtlVqjg79JRGVS0iVNYQWTfmOQo=; h=From:To:Cc:Subject:Date:Reply-To; b=s6LCl+aTOWbJfzExUIy7NRjTrlC+aMPmqn5Z36hvk2ona2k4L6XRTWLUpnI2OZrAa DGhbCsTfAg6uYrxU1OWSPJekde+Kz66IP4222lZKkaqkk/WmMjcMDJK7zP4YboEJEg RZGy0ejbWXcVulds0fveTZe59LHdrvqOkzvHBahM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90244: iommu/dma: Restore locking around msi_page_list Date: Thu, 17 Sep 2026 17:11:14 +0100 Message-ID: <2026091743-CVE-2026-90244-8e05@gregkh> X-Mailer: git-send-email 2.55.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=3414; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VPLDAhRtjG+GqlCwbjKJxtTc7Efm2jCf9ulDspP8ubQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBLqXRE9u9WH5KffSVuTxSTkf6c5tExQ/nghJL5LQ1 rDzZS7qiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIksS2SY7yWcmZN2eErNgvYt P/csEv76rM9+OcOCZiUlx4P/ciayejzR0Gm7wu6pfewMAA== 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/dma: Restore locking around msi_page_list Unlike a group's default domain, which is always freshly allocated and privately owned (iommu_group_alloc_default_domain()), VFIO type1's legacy container merges any newly attached group into an existing domain whenever their iommu_ops and cache-coherency enforcement match. iommu_dma_get_msi_page() only asserts the caller's own group mutex is held (iommu_group_mutex_assert()). On an IOMMU that publishes IOMMU_RESV_SW_MSI, e.g. ARM SMMU, a VM with two such devices assigned through the legacy container can have their guest drivers probe and allocate MSIs in parallel; each host-side VFIO_DEVICE_SET_IRQS lands on a different device fd and group mutex, but both devices' domains are the same merged domain, so both can enter iommu_dma_get_msi_page() concurrently and corrupt msi_page_list. commit 288683c92b1a ("iommu: Make iommu_dma_prepare_msi() into a generic operation") dropped the prior msi_prepare_lock on the reasoning that "each iommu_domain is unique to a group," which holds for default domains but not this VFIO type1 case. Restore the static lock, since it's only guarding a corner case and will likely never be contended. iommufd avoids the equivalent problem by having its own callers (iommufd_sw_map_msi()) take a ctx-wide sw_msi_lock before ever reaching the shared list. VFIO type1 can't mirror that since it dispatches to iommu_dma_sw_msi() which is outside VFIO's jurisdiction. The Linux kernel CVE team has assigned CVE-2026-90244 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 288683c92b1abc32277c83819bea287af614d239 and fixed in 6.18.52 with commit e3c53e9173a47d5ce1fae020f2c6b1fb3c1123c2 Issue introduced in 6.15 with commit 288683c92b1abc32277c83819bea287af614d239 and fixed in 7.2.6 with commit 2af1e99ec14d226d66ceb9f16c663ee2568e6676 Issue introduced in 6.15 with commit 288683c92b1abc32277c83819bea287af614d239 and fixed in 7.3-rc1 with commit 5a9e89ea34e0e34ac5d7e949042d665533549e40 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-90244 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/dma-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/e3c53e9173a47d5ce1fae020f2c6b1fb3c1123c2 https://git.kernel.org/stable/c/2af1e99ec14d226d66ceb9f16c663ee2568e6676 https://git.kernel.org/stable/c/5a9e89ea34e0e34ac5d7e949042d665533549e40