From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796290231; b=jkJE3Q4GpmJqxTOww1qC9N3rWuvWdoOR7zuzrFYIi1l/MUSpmezuaJ1X3vYCoTFiBGUu XEHavUKurHAvNZEychlb0SLnsqkUv5crE+E1heb5lpVe/AtsTwbIFkBBTmOMy5Au6KkcD zBWhrGpbYlmU8Cb7CrzWclN63MwmP5IQT170tZlo/8cCS5SmlqToIWGzjfWy5xXSBIUGt KvzpiGLraYN0pOh7T7pa2x7jDrbxRvm2J3KKrC1rUXp2tqC1C82MZ0xybXl69TDU/tMp/ +6OovTZhENsckdsv3t66QPE5WGyRK31mY+44/7fZAbICB/nbZBgTf0aEOVv/D3aFNXw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796290231; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=SI/WOfX+oXDF579FlpzAQxiYI2KpCKsZn3OggHmQIJU=; b=cH9ewUZ2fnP7vMR0nF2rdpixy9yfkhslG9CIKb22IFSBGhnh07JgZz1mJ5EnK+tW7xx/ Cb/6CuhJe2X9dU/30XMFSTF/uuTq5JkfTJ79me3hjEgYjOrHsBdeT4R+mPZShtgDfo5zC 7hfwCHg6Hqj38xVVN1VckYyvX+w+BM3Z3ZD8yPgmGndpl53maIVo2PAl037xTrug1i2ZB Zcjk3ms+IMvBQWgl2oUCoT1927vdsaMFvIeiq4PFi6mbM2r5+2L5vaCKv1PUtRzQbSLUX A9xDnF5kh5KdLXk1yYGXdXEwPx3rXgrzXkLl9eZxH914ToJZ2dNHwdQTvqAbDTqx8sw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=PsvvjT2P; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C4A2606A32D for ; Thu, 3 Dec 2026 09:30:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=PsvvjT2P Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96AE71F00893; Thu, 3 Dec 2026 09:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796290231; bh=SI/WOfX+oXDF579FlpzAQxiYI2KpCKsZn3OggHmQIJU=; h=From:To:Cc:Subject:Date:Reply-To; b=PsvvjT2PFm9OEuaGWKe22CK0rN8m1ywPCfx2tWNpGkv2BlF4pqCmKJ+KhJE0AQUsM cMAG/y5BNtMfHflm+fso8SVjNjScal3sKO3/+Dcr/yMj7r0xhzbdNgToQQoMIyJbpL mz4zBEbFh0uKK+9uS7MdYEy83XRSJWY2CY4uVooY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-143185: Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages() Date: Thu, 3 Dec 2026 10:20:21 +0100 Message-ID: <2026120312-CVE-2026-143185-e317@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3524; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rX9Pm13DUfb81UxLp5uy+nGMmzjvrUSYqDouCXLyW40=; b=owGbwMvMwCRo6H6F97bub03G02pJDNmCxjMO8/asVcxwDrjyxKnXxE6vgGfB13cPHx6a6vTZK mZV/Xr+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI216G2SxFMwWLCxZuPqzx vV7l3a3oGZEScxhmMZUHHXz5e9YLrSWML6OSpZdsVIy4CgA= 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: Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages() Both decrease-reservation and populate-physmap can succeed partially. For the former this may be pretty unlikely, but clearly the latter can hit both out-of-memory conditions in the hypervisor or denial because of the allocation exceeding the domain's allowance (there's no interaction with the balloon driver here either). In gnttab_dma_free_pages() we simply can't give back to the system what hasn't been re-filled with backing memory. For gnttab_dma_alloc_pages() both parts of the overall region need dealing with differently. While no present caller of gnttab_dma_free_pages() checks its return value, also don't use -EFAULT there: It really is an out-of-memory condition. (In gnttab_dma_alloc_pages() -EFAULT doesn't look quite right either, but I couldn't think of a clearly better error code there.) The Linux kernel CVE team has assigned CVE-2026-143185 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 5.10.276 with commit b698e22b3db1ea263db29ab32ca14a134cfa2bb0 Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 5.15.227 with commit de3a48f4db7610aa5df8e08838285317f4b40c82 Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 6.12.120 with commit 4e2ce0ed4032aeb7b6f8c6b75b48bca537ed8205 Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 6.18.66 with commit fa60c9c122aafc06dff48f451ad550630587a0bb Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 7.3.7 with commit 8cf0bde5988c8a5550dbfaf2959cf60ddd4a2220 Issue introduced in 4.19 with commit 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 and fixed in 7.4-rc3 with commit 2b66f2cc753243a6adb3e9a5c038b0fc59ba7ec9 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-143185 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/xen/grant-table.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/b698e22b3db1ea263db29ab32ca14a134cfa2bb0 https://git.kernel.org/stable/c/de3a48f4db7610aa5df8e08838285317f4b40c82 https://git.kernel.org/stable/c/4e2ce0ed4032aeb7b6f8c6b75b48bca537ed8205 https://git.kernel.org/stable/c/fa60c9c122aafc06dff48f451ad550630587a0bb https://git.kernel.org/stable/c/8cf0bde5988c8a5550dbfaf2959cf60ddd4a2220 https://git.kernel.org/stable/c/2b66f2cc753243a6adb3e9a5c038b0fc59ba7ec9