CVE-2026-23352
x86/efi: defer freeing of boot services memory
Mitigation
- Upgrade Linux to 2.6.39.2 or later.
Who should check
- Anyone running Linux >= 0aed459e8487eb6ebdb4efe8cefe1eafbc704b30, < 4a2cb90c538f06c873a187aa743575d48685d7a6; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7131bd1fecc749bc94fb44aae217bbd8a8a85264; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6d8ba221e7aafaa2f284b7d22faee814c28e009d; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 227688312fece0026fc67a00ba9a0b3611ebe95d; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6a25e25279282c5c8ade554c04c6ab9dc7902c64; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 399da820ecfe6f4f10c143e5c453d3559a04db9c; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < f9e9cc320854a76a39e7bc92d144554f3a727fad; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7dcf59422a3b0d20ddda844f856b4a1e0608a326; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < a4b0bf6a40f3c107c67a24fbc614510ef5719980; >= 2.6.39.1, < 2.6.39.2
- Anyone running Linux 3.0
Vulnerability facts
- Affected
- Linux >= 0aed459e8487eb6ebdb4efe8cefe1eafbc704b30, < 4a2cb90c538f06c873a187aa743575d48685d7a6; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7131bd1fecc749bc94fb44aae217bbd8a8a85264; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6d8ba221e7aafaa2f284b7d22faee814c28e009d; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 227688312fece0026fc67a00ba9a0b3611ebe95d; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6a25e25279282c5c8ade554c04c6ab9dc7902c64; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 399da820ecfe6f4f10c143e5c453d3559a04db9c; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < f9e9cc320854a76a39e7bc92d144554f3a727fad; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7dcf59422a3b0d20ddda844f856b4a1e0608a326; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < a4b0bf6a40f3c107c67a24fbc614510ef5719980; >= 2.6.39.1, < 2.6.39.2; Linux 3.0
- Fixed in
- Linux 4a2cb90c538f06c873a187aa743575d48685d7a6, Linux 7131bd1fecc749bc94fb44aae217bbd8a8a85264, Linux 6d8ba221e7aafaa2f284b7d22faee814c28e009d, Linux 227688312fece0026fc67a00ba9a0b3611ebe95d, Linux 6a25e25279282c5c8ade554c04c6ab9dc7902c64, Linux 399da820ecfe6f4f10c143e5c453d3559a04db9c, Linux 7dcf59422a3b0d20ddda844f856b4a1e0608a326, Linux 2.6.39.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- CWE
- CWE-401
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0aed459e8487eb6ebdb4efe8cefe1eafbc704b30, < 4a2cb90c538f06c873a187aa743575d48685d7a6; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7131bd1fecc749bc94fb44aae217bbd8a8a85264; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6d8ba221e7aafaa2f284b7d22faee814c28e009d; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 227688312fece0026fc67a00ba9a0b3611ebe95d; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6a25e25279282c5c8ade554c04c6ab9dc7902c64; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 399da820ecfe6f4f10c143e5c453d3559a04db9c; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < f9e9cc320854a76a39e7bc92d144554f3a727fad; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7dcf59422a3b0d20ddda844f856b4a1e0608a326; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < a4b0bf6a40f3c107c67a24fbc614510ef5719980; >= 2.6.39.1, < 2.6.39.2 | — | cvelist |
| Linux | 3.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-23352. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-23352.md Affected: Linux >= 0aed459e8487eb6ebdb4efe8cefe1eafbc704b30, < 4a2cb90c538f06c873a187aa743575d48685d7a6; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7131bd1fecc749bc94fb44aae217bbd8a8a85264; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6d8ba221e7aafaa2f284b7d22faee814c28e009d; >= 916f676f8dc016103f983c7… Fixed in: Linux 4a2cb90c538f06c873a187aa743575d48685d7a6, Linux 7131bd1fecc749bc94fb44aae217bbd8a8a85264, Linux 6d8ba221e7aafaa2f284b7d22faee814c28e009d, Linux 227688312fece0026fc67a00ba9a0b3611ebe95d, Linux 6a25e25279282c5c8ade554c04c6ab9dc7902c64, Linux 399da820ecfe6f4f10c143e5c453d3559a04db9c, Linux 7dcf5… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/4a2cb90c538f06c873a187aa743575d48685d7a6
- https://git.kernel.org/stable/c/7131bd1fecc749bc94fb44aae217bbd8a8a85264
- https://git.kernel.org/stable/c/6d8ba221e7aafaa2f284b7d22faee814c28e009d
- https://git.kernel.org/stable/c/227688312fece0026fc67a00ba9a0b3611ebe95d
- https://git.kernel.org/stable/c/6a25e25279282c5c8ade554c04c6ab9dc7902c64
- https://git.kernel.org/stable/c/399da820ecfe6f4f10c143e5c453d3559a04db9c
- https://git.kernel.org/stable/c/f9e9cc320854a76a39e7bc92d144554f3a727fad
- https://git.kernel.org/stable/c/7dcf59422a3b0d20ddda844f856b4a1e0608a326
- https://git.kernel.org/stable/c/a4b0bf6a40f3c107c67a24fbc614510ef5719980
FAQ
Is CVE-2026-23352 being exploited?
There is no confirmed exploitation: CVE-2026-23352 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-23352?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-23352?
Linux >= 0aed459e8487eb6ebdb4efe8cefe1eafbc704b30, < 4a2cb90c538f06c873a187aa743575d48685d7a6; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7131bd1fecc749bc94fb44aae217bbd8a8a85264; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6d8ba221e7aafaa2f284b7d22faee814c28e009d; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 227688312fece0026fc67a00ba9a0b3611ebe95d; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 6a25e25279282c5c8ade554c04c6ab9dc7902c64; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 399da820ecfe6f4f10c143e5c453d3559a04db9c; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < f9e9cc320854a76a39e7bc92d144554f3a727fad; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < 7dcf59422a3b0d20ddda844f856b4a1e0608a326; >= 916f676f8dc016103f983c7ec54c18ecdbb6e349, < a4b0bf6a40f3c107c67a24fbc614510ef5719980; >= 2.6.39.1, < 2.6.39.2; Linux 3.0.
Is there a fix for CVE-2026-23352?
Yes. Fixed in Linux 4a2cb90c538f06c873a187aa743575d48685d7a6, Linux 7131bd1fecc749bc94fb44aae217bbd8a8a85264, Linux 6d8ba221e7aafaa2f284b7d22faee814c28e009d, Linux 227688312fece0026fc67a00ba9a0b3611ebe95d, Linux 6a25e25279282c5c8ade554c04c6ab9dc7902c64, Linux 399da820ecfe6f4f10c143e5c453d3559a04db9c, Linux 7dcf59422a3b0d20ddda844f856b4a1e0608a326, Linux 2.6.39.2. Upgrade Linux to 2.6.39.2 or later.
How do I check if I'm affected by CVE-2026-23352?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.