CVE-2026-45851 PUBLISHED

efi: Fix reservation of unaccepted memory table

Assigner: Linux
Reserved: 13.05.2026 Published: 27.05.2026 Updated: 27.05.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 8dbe33956d96c9d066ef15ca933ede30748198b2 to b7bc182ec1846be437351e44164089d988f9d0dd (excl.)
  • affected from 8dbe33956d96c9d066ef15ca933ede30748198b2 to ba6b6f1502fa55621d1db23f253d54322bdbe4e0 (excl.)
  • affected from 8dbe33956d96c9d066ef15ca933ede30748198b2 to 9b18bf59977f5c5bc3b11b210520f62500a7adf3 (excl.)
  • affected from 8dbe33956d96c9d066ef15ca933ede30748198b2 to e649b5916725c68f44ebf45fb396df563c5dbaf2 (excl.)
  • affected from 8dbe33956d96c9d066ef15ca933ede30748198b2 to 0862438c90487e79822d5647f854977d50381505 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.6 is affected
  • unaffected from 0 to 6.6 (excl.)
  • unaffected from 6.6.128 to 6.6.* (incl.)
  • unaffected from 6.12.75 to 6.12.* (incl.)
  • unaffected from 6.18.14 to 6.18.* (incl.)
  • unaffected from 6.19.4 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References