Cleaning up after BPF exceptions
Cleaning up after BPF exceptions
Posted Apr 17, 2024 3:59 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)In reply to: Cleaning up after BPF exceptions by roc
Parent article: Cleaning up after BPF exceptions
But it turned out that nobody actually cares too much about static runtime verification, so it gradually weakened. First by allowing BPF programs to run for millions of instructions instead of several thousand, then by introducing "helper" iterators that already allow BPF programs to run for multiple seconds. Now they are thinking about using runtime metering on back branches instead of static verification.
BPF will eventually be a hacky subset of WASM, fully NIH-ed. It will also experience all the typical issues with homegrown bytecode interpreters/JITs: sandbox escapes, DoS due to memory blowups, DoS due to CPU starvation, etc.
