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 261183D4128 for ; Wed, 27 May 2026 12:20: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=1779884459; cv=none; b=ZT6dLbaMICFdlzhVH+1ZIKEmm+zZ0a45iJKp5F/lxoNkxgEXSxlWqYWx+i3GXUbwzlXHRU8Xl9cXHDVGrWRozRfNrWg8LKk691GrfZWMZ+XLNkSI6JnSLHe5JzviY4zoMP3PulpO/qGHaHrCmiZvLKzOQsViChY++sr1MZQmOLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884459; c=relaxed/simple; bh=86BUmKFbniQghrjWisrqHht+bSfD6erHUnj+GDsdzHc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TJDNHQgilSWbczh1HVv1QmZ5TBtLJbnzh8cTpgvXWuUbFl7fR92NlSwnw0RNOD58rOlM5JMmwOd5dLYraHRidrMnNPOVl206CEVgeBARetwSdk1mld7fAJJDGbNz1/+mwGkntPwzNT7enDRAl5FU9oqBUik0fGdyu5dXESQu4QE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kPXRSa2t; 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="kPXRSa2t" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 776621F000E9; Wed, 27 May 2026 12:20:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884458; bh=C5CS+jXCj6hiqG+tKJVeHNtp8lU9i4HlhCsrDLvRs/4=; h=From:To:Cc:Subject:Date:Reply-To; b=kPXRSa2tyHSQryzZK4oeUuNEjRHd176hOiiHClH56kRLdgV9fn6QEitcIqT8Ule6Y H6L3+rFDyFB44RDcQFRf69Aq6I5PuRxDCH5Mfg4Fr3p6MiqtNLL+2rGGYOgDjfFVm+ A08fR/1BPoei61wHAQtLQKNSodW1jMdDHuPKkqlA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45851: efi: Fix reservation of unaccepted memory table Date: Wed, 27 May 2026 14:18:13 +0200 Message-ID: <2026052708-CVE-2026-45851-f0ed@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=3259; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sSJYaWdH+QZJNVjjVwSurizsr+YAFWu8qONSUtwQXQo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliDxm6Li3yd2GTDp7Cpf5/mWbpE37eiUFc7/5JbmA5f o0lwS25I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyTp1hruC5YzdmG8e+2zL9 5xvp5ne3vD/E5DEs2Gpd/3Z/9P7VupJhJckpJ977/9v5DwA= 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: efi: Fix reservation of unaccepted memory table The reserve_unaccepted() function incorrectly calculates the size of the memblock reservation for the unaccepted memory table. It aligns the size of the table, but fails to account for cases where the table's starting physical address (efi.unaccepted) is not page-aligned. If the table starts at an offset within a page and its end crosses into a subsequent page that the aligned size does not cover, the end of the table will not be reserved. This can lead to the table being overwritten or inaccessible, causing a kernel panic in accept_memory(). This issue was observed when starting Intel TDX VMs with specific memory sizes (e.g., > 64GB). Fix this by calculating the end address first (including the unaligned start) and then aligning it up, ensuring the entire range is covered by the reservation. The Linux kernel CVE team has assigned CVE-2026-45851 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 8dbe33956d96c9d066ef15ca933ede30748198b2 and fixed in 6.6.128 with commit b7bc182ec1846be437351e44164089d988f9d0dd Issue introduced in 6.6 with commit 8dbe33956d96c9d066ef15ca933ede30748198b2 and fixed in 6.12.75 with commit ba6b6f1502fa55621d1db23f253d54322bdbe4e0 Issue introduced in 6.6 with commit 8dbe33956d96c9d066ef15ca933ede30748198b2 and fixed in 6.18.14 with commit 9b18bf59977f5c5bc3b11b210520f62500a7adf3 Issue introduced in 6.6 with commit 8dbe33956d96c9d066ef15ca933ede30748198b2 and fixed in 6.19.4 with commit e649b5916725c68f44ebf45fb396df563c5dbaf2 Issue introduced in 6.6 with commit 8dbe33956d96c9d066ef15ca933ede30748198b2 and fixed in 7.0 with commit 0862438c90487e79822d5647f854977d50381505 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-45851 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/firmware/efi/efi.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/b7bc182ec1846be437351e44164089d988f9d0dd https://git.kernel.org/stable/c/ba6b6f1502fa55621d1db23f253d54322bdbe4e0 https://git.kernel.org/stable/c/9b18bf59977f5c5bc3b11b210520f62500a7adf3 https://git.kernel.org/stable/c/e649b5916725c68f44ebf45fb396df563c5dbaf2 https://git.kernel.org/stable/c/0862438c90487e79822d5647f854977d50381505