r/embeddedlinux • • Apr 22 '26

project Android Verified Boot for embedded Linux

I built a toolkit that brings AVB (Android Verified Boot) to Embedded Linux.

Current practice: the root hash sits inside an initramfs that's only verified at an earlier stage. Once in RAM there's a multi-second TOCTOU window before the verity/dmsetup stage fires. JTAG, voltage glitch, DMA outside the IOMMU: overwrite the hash and the kernel is happy with it. No crypto broken but device pwned!

avb-utils brings AVB dm-verity-style to embedded Linux shipped on billions of Android devices, with host signing, target verification tools and PQC ML-DSA support.

https://github.com/embetrix/avb-utils

5 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/Ok-Adhesiveness5106 Apr 23 '26

Sure, I mean if something in the pathway is tampered with, it is not detected. There is a clear delay between Time of Check and Time of Use. If something went wrong in between, then it is not detectable.