> Samsung added a custom JPEG parser in Little Kernel that is used to show logos and error messages while booting. The code responsible for loading the JPEG file will place it in a fixed-size structure on the heap. But it never checks the size of the file, causing a heap overflow.
Heh, file format parsers - the GIFt that just keeps on giving
Heh, file format parsers - the GIFt that just keeps on giving
https://googleprojectzero.blogspot.com/2020/07/mms-exploit-p...
The early bootchain components are critical to the security of the device. I am extremly surprised Samsung let a complete noob add code to it.