efi: Fix reservation of unaccepted memory table
Summary
| CVE | CVE-2026-45851 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-27 14:16:57 UTC |
| Updated | 2026-05-27 14:48:31 UTC |
| 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. |
Risk And Classification
EPSS: 0.000180000 probability, percentile 0.050770000 (date 2026-06-01)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 8dbe33956d96c9d066ef15ca933ede30748198b2 b7bc182ec1846be437351e44164089d988f9d0dd git | Not specified |
| CNA | Linux | Linux | affected 8dbe33956d96c9d066ef15ca933ede30748198b2 ba6b6f1502fa55621d1db23f253d54322bdbe4e0 git | Not specified |
| CNA | Linux | Linux | affected 8dbe33956d96c9d066ef15ca933ede30748198b2 9b18bf59977f5c5bc3b11b210520f62500a7adf3 git | Not specified |
| CNA | Linux | Linux | affected 8dbe33956d96c9d066ef15ca933ede30748198b2 e649b5916725c68f44ebf45fb396df563c5dbaf2 git | Not specified |
| CNA | Linux | Linux | affected 8dbe33956d96c9d066ef15ca933ede30748198b2 0862438c90487e79822d5647f854977d50381505 git | Not specified |
| CNA | Linux | Linux | affected 6.6 | Not specified |
| CNA | Linux | Linux | unaffected 6.6 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.128 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.75 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.14 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.4 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/e649b5916725c68f44ebf45fb396df563c5dbaf2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ba6b6f1502fa55621d1db23f253d54322bdbe4e0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9b18bf59977f5c5bc3b11b210520f62500a7adf3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0862438c90487e79822d5647f854977d50381505 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b7bc182ec1846be437351e44164089d988f9d0dd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.