An AI audit of FreeBSD
An AI-assisted audit of the FreeBSD kernel found 15 bugs, including local privilege escalations, remote code executions and a bhyve guest-to-host escape. The published exploits show an attacker with local access could gain root, and a guest could break out of its virtual machine.
blog.calif.io
Published on blog.calif.io
Since we started this campaign of hacking the Internet with AI, we’ve learned something many of you already knew: the Internet runs on volunteers. Projects that are critical to Internet security and culture are staffed by tiny groups of people, sometimes one person.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely several distinct kernel coding mistakes, including a one-character size confusion, a missing bounds check on a redirected syscall number, and freeing an object without draining poll waiters.
Impact
A local user could escalate to root, and a bhyve guest could escape to the host; the text says the published exploits were verified and work.
What the attacker needed
Local access to a FreeBSD 14.4 system
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
FreeBSD is an operating system, and its kernel is the core part that controls memory, processes and permissions. A local privilege escalation means someone who already has a normal account can trick the kernel into giving them full administrator (root) rights. A guest-to-host escape means code inside a virtual machine breaks out onto the real machine underneath.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.