daily cyber × ai intelligence

← index

tagged

[openbsd]

3 editions · 3 items

October 17, 2026

  • OpenBSD local privilege escalation to root, with full exploit code, lands on a shm_nattch attach counter defined as a signed 16-bit short in the original BSD sources. The path: map 127 SysV shared-memory segments, munmap() them, fork 259 processes to wrap the counter to −32,643, groom the heap using sysctl(KERN_MALLOCSTATS), win an IPC_RMID race for a use-after-free, then use a conditional −1 out-of-bounds write against a 16-byte struct ip_moptions to flip the PTE self-referential mapping from user to supervisor and execute kernel code (Calif, The Hacker News). Fixed in errata 026 and 018; phendrenad2 notes the same bug appears to have been fixed by accident in NetBSD during a 1999 rewrite (discussion). · Exploits & Offensive Research

in Thirty-Seven Years of a Signed Short, and a Root Shell on OpenBSD