Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139511

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 4fc8e738ff3e6a208855bb69783280870c7cf251 to < 3b908dc1b8e6070a43bb55b7c4529f0ed2b0ebb2affected
  • 4fc8e738ff3e6a208855bb69783280870c7cf251 to < 0bb9a789c1736586e156b4eeefa20c3564cf4fddaffected
  • 4fc8e738ff3e6a208855bb69783280870c7cf251 to < 3546c80c4b6fcd424044b2d61809dab300e10725affected
  • 4fc8e738ff3e6a208855bb69783280870c7cf251 to < 8abcdae30b22c961e8217b487fb32964b1a070beaffected
  • 4fc8e738ff3e6a208855bb69783280870c7cf251 to < d003acbf52efa21803321d65be9996877cac6d99affected
  • 4fc8e738ff3e6a208855bb69783280870c7cf251 to < d83fe67339f2032d8facf0fe8a047a4c5d15394faffected

Linux Linux

Default version status: affected

  • 6.1affected
  • 0 to < 6.1unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References