Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| NetBSD / src | affected 0 before ec8451efc1565516aba9e7047e1a1a1ce7953a2f |
CWE
CWE-415, CWE-362
References
- https://nasm.re/posts/uaf_netbsd_crypto/
- https://github.com/NetBSD/src/commit/ec8451efc1565516aba9e7047e1a1a1ce7953a2f
- https://www.vulncheck.com/advisories/netbsd-cryptodev-race-condition-double-free-via-cryptodev-op
ADP enrichment
No English description supplied.
No references supplied.