News for hackers. Stuff that matters.
Re:" and the proof is checked in Lean" by lumost on Monday November 16, 2026 @11:10AM (#50519196)
Saying that a "formally verified" program rules out any bugs is a bit of a reach. Formal verification only checks that the properties you claim are true are actually true in the absence of bugs in the proof logic.

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.

Re:" and the proof is checked in Lean" by erichocean on Monday November 16, 2026 @12:49PM (#50520487)
> but it does not verify that the NIC can't overwrite control flow memory

Yes, Lean verifies the algorithm being verified, not hardware or someone else's software.