News for hackers. Stuff that matters.
Re:OpenBSD has a use-after-free allowing local privilege esc... by efficax on Wednesday July 08, 2026 @12:02PM (#48833660)
It's difficult to say if a kernel written in rust would not have similar vulnerabilites, because it would be impossible to build a kernel without significant amounts of `unsafe`.
Re:OpenBSD has a use-after-free allowing local privilege esc... by anoneng on Thursday July 09, 2026 @04:15AM (#48842552)
Oh it’s possible and people do it in embedded all the time at great expense, but that safety isn’t assured by using a “safe” language, it comes from the requirements, documentation and verification process. OpenBSD’s kernel was developed with security in mind but not that level of safety.
Re:OpenBSD has a use-after-free allowing local privilege esc... by efficax on Thursday July 09, 2026 @10:06AM (#48846112)
Not really sure what you mean? You have to use `unsafe` in Rust to access arbitrary mutable pointers. How would you do DMA, or write a device driver, without `* mut T`
Re:OpenBSD has a use-after-free allowing local privilege esc... by anoneng on Friday July 10, 2026 @12:22AM (#48855712)
I’m referring to use of process (sometimes with a partial assist from qualified tools, of which Rust is NOT one) for safety assurance, not the language. As is done in safety and security critical embedded contexts. eg DO-178, Common Criteria, etc.