efi: Fix reservation of unaccepted memory table
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.14, Kernel 6.19.4, Kernel 6.6.128 and 6 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.14, >=6.19 <6.19.4, >=6.6.1 <6.6.128, >=6.7 <6.12.75, =6.6, >=8dbe33956d96c9d066ef15ca933ede30748198b2 <9b18bf59977f5c5bc3b11b210520f62500a7adf3, >=8dbe33956d96c9d066ef15ca933ede30748198b2 <b7bc182ec1846be437351e44164089d988f9d0dd, >=8dbe33956d96c9d066ef15ca933ede30748198b2 <ba6b6f1502fa55621d1db23f253d54322bdbe4e0, >=8dbe33956d96c9d066ef15ca933ede30748198b2 <e649b5916725c68f44ebf45fb396df563c5dbaf2, >=8dbe33956d96c9d066ef15ca933ede30748198b2 <0862438c90487e79822d5647f854977d50381505 | 6.18.14, 6.19.4, 6.6.128, 6.12.75, 9b18bf59977f5c5bc3b11b210520f62500a7adf3, b7bc182ec1846be437351e44164089d988f9d0dd, ba6b6f1502fa55621d1db23f253d54322bdbe4e0, e649b5916725c68f44ebf45fb396df563c5dbaf2, 0862438c90487e79822d5647f854977d50381505 |
| linux-kernel: Kernel | >=6.13.0 <6.18.14, >=6.19.0 <6.19.4, >=6.6.0 <6.6.128, >=6.7.0 <6.12.75 | 6.18.14, 6.19.4, 6.6.128, 6.12.75 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket