Tue 16 Jun 2026 11:30 - 11:55 at Flatirons 2 - Session 2 Chair(s): Matthew J. Parkinson

Memory safety is a critical issue in embedded systems. Although high-level languages like MicroPython simplify IoT development, their C-based runtimes remain vulnerable to memory errors triggered by Python code or native extensions. The CHERI (Capability Hardware Enhanced RISC Instructions) architecture offers hardware-enforced memory safety, but its effectiveness for exposing latent bugs in real-world interpreters has not yet been fully explored.

We present diffCHERI:FruitFly, a differential testing framework for systematically uncovering memory defects in MicroPython across conventional (x86) and CHERI-enabled (Arm Morello) platforms. We mine historic vulnerabilities from diverse Python runtimes to extract recurring stress patterns, then use a large language model to generate new test programs, and apply Concrete Syntax Tree (CST) mutation to diversify inputs.

On 24-hour automated testing, our framework executed 8,189 generated programs on MicroPython v1.20 and the development branch, identifying 40 distinct defects in the conventional build and 51 in the CHERI port. Memory errors that caused silent corruption or weak symptoms on conventional hardware were converted into precise capability faults on CHERI. These results show that CHERI not only shrinks the attack surface but also serves as an effective memory safety oracle for revealing latent vulnerabilities in embedded interpreters.

Tue 16 Jun

Displayed time zone: Mountain Time (US & Canada) change

10:40 - 12:20
Session 2ISMM 2026 at Flatirons 2
Chair(s): Matthew J. Parkinson Microsoft Azure Research
10:40
25m
Talk
Going Where No GC Has Gone Before
ISMM 2026
Anthony Arnold University of Kentucky, Mark Marron University of Kentucky
DOI
11:05
25m
Talk
Reconsidering "Reconsidering Custom Memory Allocation"
ISMM 2026
Nicolas van Kempen University of Massachusetts Amherst, USA, Emery D. Berger University of Massachusetts Amherst and Amazon Web Services
DOI
11:30
25m
Talk
Interpreter Memory Safety via Differential Fuzzing with a CHERI on TopRemote
ISMM 2026
Kai Feng University of Glasgow, Huanting Wang University of Leeds, Jeremy Singer University of Glasgow, Zheng Wang University of Leeds
DOI Pre-print
11:55
25m
Talk
Much Ado About Offset VectorsRecorded
ISMM 2026
Hayley Patton Australian National University, Stephen M. Blackburn Google; Australian National University
DOI