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 7391A519DE2 for ; Thu, 17 Sep 2026 16:28:57 +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=1789662538; cv=none; b=fE3WP5afOWhpHY4Fa5HEE+D+IUcwEqTl9YyYxX5obj5xEufw0JIWm3O1gRhRS0lj7jn/ffUYEbxWL+YRCs7/HPo1ExurB6BjrVp2bHhLxCgimsQ3mdsYFsqnk6smD+FI+KNMluJgL9pU7suh6edocdquw+rLgud8ZigyC7sxJhc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662538; c=relaxed/simple; bh=td0HEJN1vM6VesPaid0ll43dedfNJrCNGPK49BF74w8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GWQE9Ebx9wcmbZSWEj/D4PRc2FJPJg/Izw5cTYphGTaCBPVxfjAWc/KiUtUxa5qDGhQ7iitgyqsFOa3lO4QcKejcHIUIYSFgw3tfH4sT4edorYxfu8RxmIXUtSsPbw/TLfWtSHVqwDLXBVELTbXXX3KkVVGFdJDDakTBInne5G0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SwJDlLcP; 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="SwJDlLcP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C97A81F000FF; Thu, 17 Sep 2026 16:28:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662537; bh=SqH+doYGSKA3FFIMeYY1+5BDr8jH5AsgOFPayBkC4JM=; h=From:To:Cc:Subject:Date:Reply-To; b=SwJDlLcPrbRGr6/jeYjCr0u6+EPgpjk1sUp2I66de/yStFZdvzo+VDS5OxNg//1oL ZuEAlT1dq2vp827EJSPH8Xg5mvqqJqKFE3nv02aU0qukt2fwn22RwSFVyUT8Qv6Hk9 L5czHDmB7ngz1EOE+widRPNND1QUfITmnqWTgUpM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90387: swiotlb: Preserve allocation virtual address for dynamic pools Date: Thu, 17 Sep 2026 17:13:37 +0100 Message-ID: <2026091711-CVE-2026-90387-6ccb@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=3249; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=g1IGU5sM/+83sMzlceInB22I4Qlsptde5ZVUANdSX1E=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBJYfMCvYUV7+KjUxNGhWopTp8SdTHcM+hM6vPLe9S m21tzF7RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkuRDD/CivU3a7M5rumZy8 ksbgejAs4p3yY4YFByN0MhXvtLlk//kuHbjycGZP3mw2AA== 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: swiotlb: Preserve allocation virtual address for dynamic pools swiotlb_alloc_tlb() can allocate from the DMA atomic pool when a decrypted pool is needed from atomic context. With CONFIG_DMA_DIRECT_REMAP, the atomic pool is backed by remapped virtual addresses, which are not the same as the direct-map addresses returned by phys_to_virt(). swiotlb_init_io_tlb_pool() currently reconstructs the pool virtual address from the physical start address. For atomic-pool backed allocations this stores the wrong address in pool->vaddr. Later, swiotlb_free_tlb() passes that address to dma_free_from_pool(), which will fail to recognize the chunk Pass the virtual address returned by the allocation path into swiotlb_init_io_tlb_pool(), and store that address in pool->vaddr. This keeps the pool free path using the same virtual address as the allocator. The Linux kernel CVE team has assigned CVE-2026-90387 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 79636caad3618e2b38457f6e298c9b31ba82b489 and fixed in 6.6.157 with commit 68bf3ebd8e7020dae58e8aa14c7d482738bff9a8 Issue introduced in 6.6 with commit 79636caad3618e2b38457f6e298c9b31ba82b489 and fixed in 6.12.110 with commit 45507dcb0847e96add4455274b12df0eca6590b4 Issue introduced in 6.6 with commit 79636caad3618e2b38457f6e298c9b31ba82b489 and fixed in 6.18.52 with commit 35e0103177826430b5df888b1506239d41e76ab5 Issue introduced in 6.6 with commit 79636caad3618e2b38457f6e298c9b31ba82b489 and fixed in 7.2.6 with commit c1f4d7763cdf1b9e0d35c14aa6f52d0512a36319 Issue introduced in 6.6 with commit 79636caad3618e2b38457f6e298c9b31ba82b489 and fixed in 7.3-rc1 with commit 57d29044d0f29a76c6ec0c112c8c7371d5608dc7 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-90387 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: kernel/dma/swiotlb.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/68bf3ebd8e7020dae58e8aa14c7d482738bff9a8 https://git.kernel.org/stable/c/45507dcb0847e96add4455274b12df0eca6590b4 https://git.kernel.org/stable/c/35e0103177826430b5df888b1506239d41e76ab5 https://git.kernel.org/stable/c/c1f4d7763cdf1b9e0d35c14aa6f52d0512a36319 https://git.kernel.org/stable/c/57d29044d0f29a76c6ec0c112c8c7371d5608dc7