CVE-2026-23352

x86/efi: defer freeing of boot services memory

No CVSS score yet EPSS 0.20%

Published 25 Mar 2026 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2026-23352

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23352 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.50% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 0aed459e8487eb6ebdb4efe8cefe1eafbc704b30, before 4a2cb90c538f06c873a187aa743575d48685d7a6
affected from 916f676f8dc016103f983c7ec54c18ecdbb6e349, before 7131bd1fecc749bc94fb44aae217bbd8a8a85264
affected from 916f676f8dc016103f983c7ec54c18ecdbb6e349, before 6d8ba221e7aafaa2f284b7d22faee814c28e009d
affected from 916f676f8dc016103f983c7ec54c18ecdbb6e349, before 227688312fece0026fc67a00ba9a0b3611ebe95d
affected from 916f676f8dc016103f983c7ec54c18ecdbb6e349, before 6a25e25279282c5c8ade554c04c6ab9dc7902c64
affected from 916f676f8dc016103f983c7ec54c18ecdbb6e349, before 399da820ecfe6f4f10c143e5c453d3559a04db9c
affected from 916f676f8dc016103f983c7ec54c18ecdbb6e349, before f9e9cc320854a76a39e7bc92d144554f3a727fad
affected from 916f676f8dc016103f983c7ec54c18ecdbb6e349, before 7dcf59422a3b0d20ddda844f856b4a1e0608a326
affected from 916f676f8dc016103f983c7ec54c18ecdbb6e349, before a4b0bf6a40f3c107c67a24fbc614510ef5719980
affected from 2.6.39.1, before 2.6.39.2
Other versions: unaffected
Linux
affected 3.0
unaffected before 3.0
unaffected from 2.6.39.2 up to and including 2.6.*
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.167 up to and including 6.1.*
unaffected from 6.6.130 up to and including 6.6.*
unaffected from 6.12.77 up to and including 6.12.*
unaffected from 6.18.17 up to and including 6.18.*
unaffected from 6.19.7 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23352 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23352

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-23352
trivy image --scanners vuln IMAGE | grep CVE-2026-23352

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-23352 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.