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 8576E52BE22 for ; Thu, 17 Sep 2026 16:23:58 +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=1789662239; cv=none; b=PQFP+/3b42OEN5QLTcBrq9ZRLCtJ/+lvkpjwgFTxDPQ96D/nndHVKDooKYT34it7PisL01Q03vjm8VMDhbuRJBUe57blSauetOK5KYM5/FaAaw1BFI1plNgOxzZlUOHhNbPIFi1y/GFZmnykPXI0Exvvx39MLrwb9y+DF8Pdy1Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662239; c=relaxed/simple; bh=15ZgmqHemB1cA4/enc1cigsIEH3SYdShPNmr5Ro0x58=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Epe/GREqelAVOFRmKbD8nXVHlJ6+w7RuJacpX9sCSX10/K0B9S495s3wnW0oLa4l22/VbMTmGzzNm6bdWt7FGSmWvZtHJiCXwkxKbRsurTfJo1d9fIMSBdJ56Fbu68oan7gpmrfvqStje8mFH2gcqmn7o/1LeLtJgQKc/8MtC3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2wGM8Byo; 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="2wGM8Byo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D68091F000FF; Thu, 17 Sep 2026 16:23:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662238; bh=ta+YQyqky8OVC0MMMrrgVzKI1ElPdee+Y9lwv7HId7Q=; h=From:To:Cc:Subject:Date:Reply-To; b=2wGM8ByoNNJ7D4/qxmEzGhti67/Z2Co0WHw1Fg60qCD8sFOlb0hI0wHXjiOy/1G1m kPyfjqBff8WhBnwy6FOrx+YKQka4yVBo3vXuJXRHHbN1iWMaCDE/q+dVKPqVgjFA2v nnEsAwNQU3LJespVmg+Bh0SWUVsJBoo+r7+j6xSw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90241: iommu/vt-d: Tear down scalable-mode context on probe failure Date: Thu, 17 Sep 2026 17:11:11 +0100 Message-ID: <2026091742-CVE-2026-90241-5a87@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=3544; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rlHlFtqIuzR35dNwfk5imGntmd2rnV0RQ0lYpIsWOF0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBLr82aY7BLPHL55jeUJW6/x8E4bJx+JZb1/gaLnS0 JpofnZBRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk1z+GBQvXLXx2nyum/7vB tk9Z+SqX/pxqO8CwYNfmAn/h7IoVKxR2et78WOWSIsGfDQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Tear down scalable-mode context on probe failure intel_pasid_setup_sm_context() walks a PCI device’s DMA aliases via pci_for_each_dma_alias() and programs a scalable-mode context entry for each RID. For a device with a dma_alias_mask, the callback is invoked once for the device’s own RID and once for each alias bit, all with the same pci_dev, so device_pasid_table_setup() runs for multiple RIDs. pci_for_each_dma_alias() stops at the first callback error. Therefore, a failure partway through the walk can leave context entries for already processed RIDs present and still pointing to the device’s PASID table. On this error path, intel_iommu_probe_device() currently jumps directly to intel_pasid_free_table(), which frees the PASID table without first tearing down those context entries. The IOMMU may then walk a present context entry whose PASID table pointer references freed memory. intel_iommu_release_device() already performs teardown before freeing the table. Apply the same ordering on the probe failure path. device_pasid_table_teardown() safely handles RIDs that were never programmed: iommu_context_addr() returns NULL when no context table has been allocated, and clearing the Present bit of an already non-present entry is a no-op. So unwind is safe for both the alias that failed and any aliases not yet reached. The Linux kernel CVE team has assigned CVE-2026-90241 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 301f1a80487fd2f51012533792583d4425e8b8c0 and fixed in 6.12.110 with commit 25ac85a9747cd63e1d166ace7b360a2cd9479d9d Issue introduced in 6.9 with commit 301f1a80487fd2f51012533792583d4425e8b8c0 and fixed in 6.18.52 with commit d0e978ced7429b516358bb4d41d337214768ae98 Issue introduced in 6.9 with commit 301f1a80487fd2f51012533792583d4425e8b8c0 and fixed in 7.2.6 with commit db5daf25f754cdc20c18525adb88240ece6fdee9 Issue introduced in 6.9 with commit 301f1a80487fd2f51012533792583d4425e8b8c0 and fixed in 7.3-rc1 with commit c509fb73a1093a15accd7d43a61645d4b520f6ac 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-90241 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/intel/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/25ac85a9747cd63e1d166ace7b360a2cd9479d9d https://git.kernel.org/stable/c/d0e978ced7429b516358bb4d41d337214768ae98 https://git.kernel.org/stable/c/db5daf25f754cdc20c18525adb88240ece6fdee9 https://git.kernel.org/stable/c/c509fb73a1093a15accd7d43a61645d4b520f6ac