Description
NetBSD prior to commit ec8451e contains a race condition vulnerability in cryptodev_op() within the opencrypto subsystem that allows local attackers to trigger a double-free condition by concurrently issuing CIOCCRYPT operations on the same session identifier on SMP systems. Attackers can exploit mutable per-operation state embedded in the csession struct to corrupt kernel heap memory.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NetBSD | src | — | — |
Advisories 1
- WID-SEC-2026-1575 NetBSD Foundation NetBSD OS: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · May 18, 2026
References
- https://nasm.re/posts/uaf_netbsd_crypto/ technical-description exploit
- https://github.com/NetBSD/src/commit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f patch
- https://www.vulncheck.com/advisories/netbsd-cryptodev-race-condition-double-free-via-cryptodev-op third-party-advisory