OpenBSD Root Exploit Chains 37-Year-Old Shared-Memory Bug With Kernel Use-After-Free
Attack Tradecraft · 11 sources · Updated 30d ago · First seen Oct 16, 2026

Calif researchers released a proof-of-concept local privilege-escalation exploit that gains root on OpenBSD 7.9 by chaining two kernel vulnerabilities. The chain combines an approximately 37-year-old signed shared-memory attachment counter overflow with a separate reference-counting use-after-free, using a race condition and conditional out-of-bounds write to achieve kernel code execution. It works with KARL kernel-address randomization and SMAP/SMEP protections enabled, without requiring a separate information-disclosure vulnerability.
OpenBSD fixed the overflow in Errata 018 on September 14 and the use-after-free in Errata 026 on September 30, before the technical analysis and full exploit were published on October 16. Patches are listed for all OpenBSD 7.9 architectures, with binary updates available through syspatch for amd64, i386 and arm64. Administrators should apply both fixes and reboot. Neither flaw had a CVE assigned, and the reports identified no evidence of exploitation in real-world attacks at publication.


