Blasphemy
OpenBSD has a use-after-free allowing local privilege escalation to root
11–20 of 170 posts
Re: OpenBSD has a use-after-free allowing local privilege escalation to root
#12Seems to be found as a part of Patch The Planet [0] which is basically OpenAI giving model access and Trail of Bits using them to find vulnerabilities in OSS projects. [0] https://openai.com/index/patch-the-planet/
Re: OpenBSD has a use-after-free allowing local privilege escalation to root
#13OpenBSD's security stance being the stuff of legend, I'm curious how many vulns have been found over the last couple months while the big model companies are flaunting their ability to find exploits. It'd be super cool to see it remain tiny.
Linux: 24 LPEs, plus many additional vulnerabilities.
OpenBSD: 1 LPE.
FreeBSD: 7 LPEs, plus many additional vulnerabilities.
Not sure what that says, though. Perhaps the models are more likely to find Linux issues because of the training.
Re: OpenBSD has a use-after-free allowing local privilege escalation to root
#14Re: OpenBSD has a use-after-free allowing local privilege escalation to root
#15Re: OpenBSD has a use-after-free allowing local privilege escalation to root
#16If this is a local privilege escalation to root, why can't I find anything on https://www.openbsd.org/security.html ?
The AI security tool then, retroactively discovered that it could have been used for LPE.
Again, just my guess I could be wrong.
[0] https://github.com/openbsd/src/commit/1957873d2063db11dab780...
Re: OpenBSD has a use-after-free allowing local privilege escalation to root
#17Would Rust have made this issue impossible by construction? I know Linus has spoken about Rust's promises about memory safety not being equivalently applicable in the kernel domain, so I would be curious to hear any kernel developer's perspectives.
Re: OpenBSD has a use-after-free allowing local privilege escalation to root
#18If this is a local privilege escalation to root, why can't I find anything on https://www.openbsd.org/security.html ?
Re: OpenBSD has a use-after-free allowing local privilege escalation to root
#19[flagged]
Re: OpenBSD has a use-after-free allowing local privilege escalation to root
#20Would Rust have made this issue impossible by construction? I know Linus has spoken about Rust's promises about memory safety not being equivalently applicable in the kernel domain, so I would be curious to hear any kernel developer's perspectives.
So I would say that any easy answer like “this would not compile” would just be a guess, because you would want to know more of the particulars in order to answer this question.
I know that this is kind of a non-answer, but if you want to write a kernel in Rust you have to figure out boundaries for where unsafe {} are. In a kernel, there are probably large chunks of unsafe {} and the Rust compiler prevents certain bugs outside unsafe {} assuming there aren’t bugs inside unsafe {} that would prevent the type checker from doing its job correctly.