A tale of two sets of bug reports in CHERIoT RTOS: Some folks at Washington have...

@david_chisnall@infosec.exchange

A tale of two sets of bug reports in CHERIoT RTOS:

Some folks at Washington have been building LLM-based tooling to try to detect linker / loader bugs. I was curious to see what these things did in the hands of an expert (not some random person saying 'Clod, pls find teh bugz in teh programs' but an expert building specialised tooling on top of them) so I asked them to file the issues. I've looked at ten of the 84 that they filed so far and they were all either low priority (technically a bug, but basically impossible to trigger in a way that helped an attacker, or out of scope for our threat model) or just not actually bugs. Most of them were things that we would probably have found later in testing if they ever mattered. This creates a lot of work for us, for very little benefit, so I don't think that we'll do it again.

At the same time, some folks at Aarhus have been working on formal verification of one of the core parts of our TCB. June Belinda Cerise Rousseau, as part of that effort, has filed two bugs resulting from this effort. Both were corner case behaviours that an attacker might trigger but that we'd have been very unlikely to find in testing. Both came with a PoC that demonstrated an attack. Both are now fixed. The second one took a while for me to understand because it required two cooperating compartments to attack a third in a complicated way. But that's intrinsic to the nature of the bug. This is immensely valuable and I will strongly encourage anyone else in this space to keep doing it.