Bufferoverflow on eMMC partition handling

Florian Otte fotte at uni-osnabrueck.de
Mon Sep 2 02:36:11 PDT 2024


Hi Everyone.

I tried to use all general purpose partitions on an eMMC storage device and ran into some trouble. In ./include/mci.h the number of partitions is limited to 6, but there might be 7 partitions. This results in a buffer overflow or access out of bound and causes a nasty bootloop when all general purpose-partitions are used. I created a simple patch and appended it to this mail.

Kind regards
fotte




More information about the barebox mailing list