The Software Safety Institute has put together a series of podcasts about memory...

@dwallach@discuss.systems

The Software Safety Institute has put together a series of podcasts about memory safety, interviewing all sorts of notable folks who've been working on and around the problem for years. I'm quoted briefly in episode 2.

What you might take away from this podcast series is that what starts off as a technical discussion -- what exactly is a buffer overflow or ASLR or whatever else -- rapidly becomes an economics discussion. Who's incentivized to fix the problem and who's not? For people looking over the wall from the world of government policy, this starts to smell like a regulatory problem, where the industry has been offloading the side effects of its bad practices on the shoulders of its customers (i.e., "economic externalities").

Modern AI tools are incredibly useful at code translation tasks, which reduces but doesn't eliminate the costs of rewriting legacy C and C++ into modern languages like Rust. If industry doesn't go there on its own, it's entirely predictable that future government actions, whether in the U.S. or elsewhere, will write these requirements into their procurements, and may well shift liability burdens back on vendors. You ship a product with a memory-safety vulnerability, you're on the hook for remediation costs when your customers get hacked.

We don't necessarily have to solve the problem with better programming languages. We could also solve it with better hardware (e.g., CHERI-style capability systems). Ideally I'd like to see both used together. Even if all the world's C and C++ code was retired, CHERI or something else like it also helps attack other security problems, like microarchitectural timing attacks.

podcast.softwaresafety.org/