CVE-2026-23352 Details
Description
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.
A vulnerability in the Linux kernel's handling of EFI boot services memory can lead to a significant RAM leak, particularly on EC2 t3a.nano instances. The issue arises because the function efi_free_boot_services() is called before the memory map is fully initialized, causing approximately 140MB of RAM to remain unreleased. This problem is exacerbated by the fact that the freed memory may reside in uninitialized areas of the memory map, where it won't be properly reclaimed. The vulnerability is present in the Linux kernel's stable releases, specifically in the x86 architecture with EFI support.
Users can upgrade to a patched version of the Linux kernel where this vulnerability has been addressed. The specific commit that fixes this issue is available in the Linux kernel stable repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/227688312fece0026fc67a00ba9a0b3611ebe95d | kernel.org | Patch |
| https://git.kernel.org/stable/c/399da820ecfe6f4f10c143e5c453d3559a04db9c | kernel.org | Patch |
| https://git.kernel.org/stable/c/4a2cb90c538f06c873a187aa743575d48685d7a6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6a25e25279282c5c8ade554c04c6ab9dc7902c64 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6d8ba221e7aafaa2f284b7d22faee814c28e009d | kernel.org | Patch |
| https://git.kernel.org/stable/c/7131bd1fecc749bc94fb44aae217bbd8a8a85264 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7dcf59422a3b0d20ddda844f856b4a1e0608a326 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a4b0bf6a40f3c107c67a24fbc614510ef5719980 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f9e9cc320854a76a39e7bc92d144554f3a727fad | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.0.1, < 5.10.253 >= 5.11, < 5.15.203 >= 5.16, < 6.1.167 >= 6.2, < 6.6.130 >= 6.7, < 6.12.77 >= 6.13, < 6.18.17 >= 6.19, < 6.19.7 2.6.39.1 3.0 - 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 7.0 rc7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 24, 2026 | Initial Analysis | [email protected] |
| Apr 18, 2026 | CVE Modified | kernel.org |
| Mar 25, 2026 | New CVE Received | kernel.org |