fitfall.de

Cat sleeps on laptop Cat alert on laptop

Drop a FIT image here to manipulate it
or click to browse

What is a FIT image?
A FIT (Flattened Image Tree) bundles the kernel, device trees and ramdisks an embedded system boots. Internally it is a Device Tree Blob (DTB). It is the native boot format of Das U-Boot, and other bootloaders like barebox support it too.
Why is FIT security relevant?
Embedded devices rely on FIT's cryptographic signatures for verified boot. Signing was bolted onto the format afterwards, though: nothing can be checked before parsing the flattened device tree, and keeping track of which bytes that signature actually covered is where it can go wrong. Those pitfalls, and how to avoid them, are what this site is about.
What does this website do?

Originally, it rewrote a signed FIT so that a bootloader verified the vendor's image and booted yours. The bytes a FIT hashes and the bytes it boots are allowed to differ, which is CVE-2026-33243 in barebox, fixed in 2026.03.0, and CVE-2026-46728 in Das U-Boot, fixed in 2026.04. You can pick what to patch:

  • /model in the signed device tree, so the booted system reports the tampering itself (cat /proc/device-tree/model)
  • the kernel, replaced by a file you supply
  • the ramdisk, with an initramfs of yours concatenated onto it, so your files land in the booted rootfs on top of the vendor's

The signature handling drop-down picks which flaw gets it past the signature; all three methods explain themselves there. Every modified FIT says so: in the injected /model, and in the signer-name of every signature node.

It has since grown further methods. Each one is a pitfall to rule out in your own boot chain: together they make it a way to check that a bootloader's verified boot is configured correctly, and not merely enabled.

Why do some images not have a signed configuration?
Not every image in a FIT belongs to a verified boot chain, and some are verified by other means: individually X.509 signed, or authenticated as one blob from outside the FIT, e.g. by i.MX HAB (High Assurance Boot).
Where can I learn more?
This site goes with the talk FIT Happens: How Secure Boot Wasn't at Embedded Linux Conference Europe 2026, which walks through some of these pitfalls and their fixes. The slides are linked from the event page.

Use responsibly and only on devices you own.
This tool is provided “as is” without warranty of any kind, express or implied.
The authors assume no liability for any damages resulting from its use.