by lumost · 2w ago · 0 comments
Example bug
A verified network program ensures that "data from two addresses are never commingled", but it does not verify that the NIC can't overwrite control flow memory opening up RCE attacks/other memory reads.
It certainly is harder to make bugs in formally verified software than the alternative, but it is not bug free.
So to exploit a bug, that bug must exist in two separate implementations of the Lean checker.
Yes, Lean verifies the algorithm being verified, not hardware or someone else's software.
The same would apply to any interaction between pointer based memory operations and LEAN. Pointer based memory ops are everywhere below a certain level of code/hardware integration.