Linux kernel: x86/efi: defer freeing of boot services memory
Overview
In the Linux kernel, the following vulnerability has been resolved: x86/efi: defer freeing of boot services memory efi_free_boot_services() frees memory occupied by EFI_BOOT_SERVICES_CODE and EFI_BOOT_SERVICES_DATA using memblock_free_late(). There are two issue with that: memblock_free_late() should be used for memory allocated with memblock_alloc() while the memory reserved with memblock_reserve() should be freed with free_reserved_area(). More acutely, with CONFIG_DEFERRED_STRUCT_PAGE_INIT=y efi_free_boot_services() is called before deferred initialization of the memory map is complete. Benjamin Herrenschmidt reports that this causes a leak of ~140MB of RAM on EC2 t3a.nano instances which only have 512MB or RAM. If the freed memory resides in the areas that memory map for them is still uninitialized, they won't be actually freed because memblock_free_late() calls memblock_free_pages() and the latter skips uninitialized pages. Using free_reserved_area() at this point is also problematic because __free_page() accesses the buddy of the freed page and that again might end up in uninitialized part of the memory map. Delaying the entire efi_free_boot_services() could be problematic because in addition to freeing boot services memory it updates efi.memmap without any synchronization and that's undesirable late in boot when there is concurrency. More robust approach is to only defer freeing of the EFI boot services memory. Split efi_free_boot_services() in two. First efi_unmap_boot_services() collects ranges that should be freed into an array then efi_free_boot_services() later frees them after deferred init is complete.
- Published
- 3/25/2026
- Last modified
- 11/5/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 3.0.1, < 5.10.253 | Verify advisory | Source |
linux kernel linux | ≥ 5.11, < 5.15.203 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.1.167 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.6.130 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.12.77 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.18.17 | Verify advisory | Source |
linux kernel linux | ≥ 6.19, < 6.19.7 | Verify advisory | Source |
linux kernel linux | 2.6.39.1 | Verify advisory | Source |
linux kernel linux | 3.0 | Verify advisory | Source |
linux kernel linux | 7.0 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ 0aed459e8487eb6ebdb4efe8cefe1eafbc704b30, < 4a2cb90c538f06c873a187aa743575d48685d7a6 | Verify advisory | Source |
Linux Linux | ≥ 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7131bd1fecc749bc94fb44aae217bbd8a8a85264 | Verify advisory | Source |
Linux Linux | ≥ 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6d8ba221e7aafaa2f284b7d22faee814c28e009d | Verify advisory | Source |
Linux Linux | ≥ 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 227688312fece0026fc67a00ba9a0b3611ebe95d | Verify advisory | Source |
Linux Linux | ≥ 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6a25e25279282c5c8ade554c04c6ab9dc7902c64 | Verify advisory | Source |
Linux Linux | ≥ 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 399da820ecfe6f4f10c143e5c453d3559a04db9c | Verify advisory | Source |
Linux Linux | ≥ 916f676f8dc016103f983c7ec54c18ecdbb6e349, < f9e9cc320854a76a39e7bc92d144554f3a727fad | Verify advisory | Source |
Linux Linux | ≥ 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7dcf59422a3b0d20ddda844f856b4a1e0608a326 | Verify advisory | Source |
Linux Linux | ≥ 916f676f8dc016103f983c7ec54c18ecdbb6e349, < a4b0bf6a40f3c107c67a24fbc614510ef5719980 | Verify advisory | Source |
Linux Linux | ≥ 2.6.39.1, < 2.6.39.2 | Verify advisory | Source |
Linux Linux | 3.0 | Verify advisory | Source |
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Siemens | < * | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.