# CVE-2026-23352: x86/efi: defer freeing of boot services memory

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-03-25T10:27:37.500Z
- **Modified:** 2026-11-05T22:18:16.540Z

## 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

## 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

- 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)

## Mitigation

- Upgrade Linux to 2.6.39.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/4a2cb90c538f06c873a187aa743575d48685d7a6>
- patch: <https://git.kernel.org/stable/c/7131bd1fecc749bc94fb44aae217bbd8a8a85264>
- patch: <https://git.kernel.org/stable/c/6d8ba221e7aafaa2f284b7d22faee814c28e009d>
- patch: <https://git.kernel.org/stable/c/227688312fece0026fc67a00ba9a0b3611ebe95d>
- patch: <https://git.kernel.org/stable/c/6a25e25279282c5c8ade554c04c6ab9dc7902c64>
- patch: <https://git.kernel.org/stable/c/399da820ecfe6f4f10c143e5c453d3559a04db9c>
- patch: <https://git.kernel.org/stable/c/f9e9cc320854a76a39e7bc92d144554f3a727fad>
- patch: <https://git.kernel.org/stable/c/7dcf59422a3b0d20ddda844f856b4a1e0608a326>
- patch: <https://git.kernel.org/stable/c/a4b0bf6a40f3c107c67a24fbc614510ef5719980>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23352>

HTML: <https://flawdb.com/CVE-2026-23352> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23352>
