7.3high
NetBSD hdaudio(4) Driver Privilege Bypass Use-After-Free via HDAUDIO_FGRP_SETCONFIG ioctl
- Severity
- 7.3high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.09% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
NetBSD's hdaudio(4) driver in sys/dev/hdaudio/hdaudio.c contains a missing access control vulnerability that allows unprivileged local attackers to invoke the HDAUDIO_FGRP_SETCONFIG ioctl without elevated permissions by exploiting the absence of an access check on /dev/hdaudioN device nodes. Attackers can repeatedly issue HDAUDIO_FGRP_SETCONFIG from one thread while keeping DMA and IRQs live from a second thread to trigger a use-after-free race condition in hdafg_detach() between stream_stop() and stream_disestablish(), where a latched DMA interrupt dereferences a freed callback pointer, resulting in outcomes ranging from audio-subsystem denial of service and kernel panic to potential local kernel privilege escalation.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| The NetBSD Foundation NetBSD | up to 11 | CVE List |
All scores
| VulnCheck | 7.3high CVSS:4.0 | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
NetBSD's hdaudio(4) driver in sys/dev/hdaudio/hdaudio.c contains a missing access control vulnerability that allows unprivileged local attackers to invoke the HDAUDIO_FGRP_SETCONFIG ioctl without elevated permissions by exploiting the absence of an access check on /dev/hdaudioN device nodes. Attackers can repeatedly issue HDAUDIO_FGRP_SETCONFIG from one thread while keeping DMA and IRQs live from a second thread to trigger a use-after-free race condition in hdafg_detach() between stream_stop() and stream_disestablish(), where a latched DMA interrupt dereferences a freed callback pointer, resulting in outcomes ranging from audio-subsystem denial of service and kernel panic to potential local kernel privilege escalation.
NVD (es)
El controlador hdaudio(4) de NetBSD en sys/dev/hdaudio/hdaudio.c contiene una vulnerabilidad de control de acceso ausente que permite a atacantes locales sin privilegios invocar el ioctl HDAUDIO_FGRP_SETCONFIG sin permisos elevados, explotando la ausencia de una verificación de acceso en los nodos de dispositivo /dev/hdaudioN. Los atacantes pueden emitir repetidamente HDAUDIO_FGRP_SETCONFIG desde un hilo mientras mantienen DMA e IRQs activos desde un segundo hilo para desencadenar una condición de carrera de uso después de liberación en hdafg_detach() entre stream_stop() y stream_disestablish(), donde una interrupción DMA enclavada desreferencia un puntero de devolución de llamada liberado, resultando en consecuencias que van desde la denegación de servicio del subsistema de audio y pánico del kernel hasta una potencial escalada de privilegios local del kernel.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53996 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2026-53996 changed 2026-10-24 | Public domain |