# CVE-2026-139511: efi/libstub: Fix error unwind freeing fdt in allocate\_new\_fdt\_and\_exit\_boot()

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:35:25.654Z
- **Modified:** 2026-11-30T14:19:27.073Z

## Who should check

- Anyone running Linux \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 3b908dc1b8e6070a43bb55b7c4529f0ed2b0ebb2; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 0bb9a789c1736586e156b4eeefa20c3564cf4fdd; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 3546c80c4b6fcd424044b2d61809dab300e10725; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 8abcdae30b22c961e8217b487fb32964b1a070be; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< d003acbf52efa21803321d65be9996877cac6d99; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< d83fe67339f2032d8facf0fe8a047a4c5d15394f
- Anyone running Linux 6.1

## 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 and fixed versions

- Linux: \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 3b908dc1b8e6070a43bb55b7c4529f0ed2b0ebb2; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 0bb9a789c1736586e156b4eeefa20c3564cf4fdd; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 3546c80c4b6fcd424044b2d61809dab300e10725; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 8abcdae30b22c961e8217b487fb32964b1a070be; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< d003acbf52efa21803321d65be9996877cac6d99; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< d83fe67339f2032d8facf0fe8a047a4c5d15394f (cvelist)
- Linux: 6.1 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139511. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139511.md
Affected: Linux >= 4fc8e738ff3e6a208855bb69783280870c7cf251, < 3b908dc1b8e6070a43bb55b7c4529f0ed2b0ebb2; >= 4fc8e738ff3e6a208855bb69783280870c7cf251, < 0bb9a789c1736586e156b4eeefa20c3564cf4fdd; >= 4fc8e738ff3e6a208855bb69783280870c7cf251, < 3546c80c4b6fcd424044b2d61809dab300e10725; >= 4fc8e738ff3e6a208855bb6…
Fixed in: Linux 3b908dc1b8e6070a43bb55b7c4529f0ed2b0ebb2, Linux 0bb9a789c1736586e156b4eeefa20c3564cf4fdd, Linux 3546c80c4b6fcd424044b2d61809dab300e10725, Linux 8abcdae30b22c961e8217b487fb32964b1a070be

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-139511 being exploited?

There is no confirmed exploitation: CVE-2026-139511 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139511?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139511?

Linux \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 3b908dc1b8e6070a43bb55b7c4529f0ed2b0ebb2; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 0bb9a789c1736586e156b4eeefa20c3564cf4fdd; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 3546c80c4b6fcd424044b2d61809dab300e10725; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< 8abcdae30b22c961e8217b487fb32964b1a070be; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< d003acbf52efa21803321d65be9996877cac6d99; \>= 4fc8e738ff3e6a208855bb69783280870c7cf251, \< d83fe67339f2032d8facf0fe8a047a4c5d15394f; Linux 6.1.

### Is there a fix for CVE-2026-139511?

Yes. Fixed in Linux 3b908dc1b8e6070a43bb55b7c4529f0ed2b0ebb2, Linux 0bb9a789c1736586e156b4eeefa20c3564cf4fdd, Linux 3546c80c4b6fcd424044b2d61809dab300e10725, Linux 8abcdae30b22c961e8217b487fb32964b1a070be. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-139511?

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

- other: <https://git.kernel.org/stable/c/3b908dc1b8e6070a43bb55b7c4529f0ed2b0ebb2>
- other: <https://git.kernel.org/stable/c/0bb9a789c1736586e156b4eeefa20c3564cf4fdd>
- other: <https://git.kernel.org/stable/c/3546c80c4b6fcd424044b2d61809dab300e10725>
- other: <https://git.kernel.org/stable/c/8abcdae30b22c961e8217b487fb32964b1a070be>
- other: <https://git.kernel.org/stable/c/d003acbf52efa21803321d65be9996877cac6d99>
- other: <https://git.kernel.org/stable/c/d83fe67339f2032d8facf0fe8a047a4c5d15394f>

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

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