5.7medium
NetBSD cryptodev Race Condition Double-Free via cryptodev_op()
- Severity
- 5.7medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.08% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| NetBSD src | before ec8451efc1565516aba9e7047e1a1a1ce7953a2f | CVE List |
All scores
| VulnCheck | 5.7medium CVSS:4.0 | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
NetBSD anterior al commit ec8451e contiene una vulnerabilidad de condición de carrera en cryptodev_op() dentro del subsistema opencrypto que permite a atacantes locales activar una condición de doble liberación al emitir concurrentemente operaciones CIOCCRYPT en el mismo identificador de sesión en sistemas SMP. Los atacantes pueden explotar el estado mutable por operación incrustado en la estructura csession para corromper la memoria del heap del kernel.
References
| https://nasm.re/posts/uaf_netbsd_crypto/ | exploit, technical-description | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-32848 changed 2026-07-14 | CVE Terms of Use |
| NVD | CVE-2026-32848 changed 2026-10-26 | Public domain |