Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139511

efi/libstub: Fix error unwind freeing fdt in allocate_new_fdt_and_exit_boot()

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: efi/libstub: Fix error unwind freeing fdt in allocate_new_fdt_and_exit_boot() Sashiko says fdt_addr can point to either an allocated fdt or the fdt from get_fdt() which is memory owned by FW. Only the allocated fdt should be freed on the error unwind path. Use a dedicated variable for the allocation's size so that the free does not get confused.

Affected products and versions

Linux Linux4fc8e738ff3e6a208855bb69783280870c7cf251 – < 3b908dc1b8e6070a43bb55b7c4529f0ed2b0ebb2 · 4fc8e738ff3e6a208855bb69783280870c7cf251 – < 0bb9a789c1736586e156b4eeefa20c3564cf4fdd · 4fc8e738ff3e6a208855bb69783280870c7cf251 – < 3546c80c4b6fcd424044b2d61809dab300e10725 · 4fc8e738ff3e6a208855bb69783280870c7cf251 – < 8abcdae30b22c961e8217b487fb32964b1a070be · 4fc8e738ff3e6a208855bb69783280870c7cf251 – < d003acbf52efa21803321d65be9996877cac6d99 · 4fc8e738ff3e6a208855bb69783280870c7cf251 – < d83fe67339f2032d8facf0fe8a047a4c5d15394fFixed in: 3b908dc1b8e6070a43bb55b7c4529f0ed2b0ebb2 · 0bb9a789c1736586e156b4eeefa20c3564cf4fdd · 3546c80c4b6fcd424044b2d61809dab300e10725 · 8abcdae30b22c961e8217b487fb32964b1a070be · d003acbf52efa21803321d65be9996877cac6d99 · d83fe67339f2032d8facf0fe8a047a4c5d15394f
Linux Linux6.1Fixed in: 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.