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.
Problem types
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Product status
Any version before ec8451efc1565516aba9e7047e1a1a1ce7953a2f
Credits
nasm
VulnCheck
References
nasm.re/posts/uaf_netbsd_crypto/
github.com/...ommit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f
www.vulncheck.com/...-condition-double-free-via-cryptodev-op