Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Local unprivileged access sufficient (PR:L) due to missing ioctl guard, but timing-dependent race mandates AC:H; no scope change as kernel impact is self-contained per 4.0 SC/SI/SA:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Local kernel privilege escalation and denial of service in NetBSD's hdaudio(4) driver arise from two compounding flaws: the /dev/hdaudioN device nodes enforce no access control, allowing any unprivileged local user to invoke HDAUDIO_FGRP_SETCONFIG, and the detach path in hdafg_detach() is not race-safe against concurrent DMA activity. A two-thread attack - one repeatedly reconfiguring the audio function group, one keeping DMA and IRQs live - wins a use-after-free race where a latched DMA interrupt dereferences a freed callback pointer, producing outcomes from audio-subsystem crashes and kernel panics to potential kernel-level privilege escalation. A public proof-of-concept is available, and no specific patched release version has been confirmed, leaving remediation dependent on source-level kernel rebuilds.
Technical ContextAI
The vulnerability is in sys/dev/hdaudio/hdaudio.c, the kernel driver implementing HD Audio (Intel HDA) support in NetBSD. The root cause class is CWE-862 (Missing Authorization): character device nodes /dev/hdaudioN are created without privilege checks on the HDAUDIO_FGRP_SETCONFIG ioctl handler, which initiates audio function group reconfiguration and triggers the hdafg_detach() teardown path. That teardown calls stream_stop() and then stream_disestablish() sequentially, but does not quiesce DMA and IRQ state before freeing the stream callback structure. A latched DMA interrupt arriving between those two calls dereferences a callback pointer that has already been freed - a textbook use-after-free race condition. The affected CPE is cpe:2.3:a:the_netbsd_foundation:netbsd:*:*:*:*:*:*:*:* with no version upper bound, implying all current NetBSD releases carrying this driver are potentially vulnerable. The HDA bus is present on virtually all modern x86 and ARM desktop/laptop hardware, so the driver is loaded in most general-purpose NetBSD deployments.
RemediationAI
A source-level patch is available via the NetBSD CVSweb repository at https://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/dev/hdaudio/hdaudio.c; administrators should apply the updated hdaudio.c and rebuild and reinstall the kernel, though no specific tagged NetBSD release incorporating this fix has been confirmed from the available references. On multi-user systems where immediate kernel rebuild is not feasible, restricting permissions on /dev/hdaudioN device nodes - for example via devfs rules in /etc/devfs.conf - to root or a privileged audio group will block unprivileged ioctl access and eliminate the exploitation vector, at the trade-off of preventing non-root audio playback. On systems where HD Audio functionality is not required at all, unloading or blacklisting the hdaudio(4) driver entirely removes the attack surface with no security downside, though audio hardware will become unavailable. Monitor https://gnats.netbsd.org/60492 for an official patched release announcement before closing compensating controls.
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and
The fetch_url function in usr.bin/ftp/fetch.c in tnftp, as used in NetBSD 5.1 through 5.1.4, 5.2 through 5.2.2, 6.0 thro
The SSL protocol 3.0, as used in OpenSSL through 1.0.1i and other products, uses nondeterministic CBC padding, which mak
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
NetBSD maps the run-time link-editor ld.so directly below the stack region, even if ASLR is enabled, this allows attacke
mail.local in NetBSD versions 6.0 through 6.0.6, 6.1 through 6.1.5, and 7.0 allows local users to change ownership of or
The NetBSD qsort() function is recursive, and not randomized, an attacker can construct a pathological input array of N
A flaw exists in NetBSD's implementation of the stack guard page that allows attackers to bypass it resulting in arbitra
CGI handling flaw in bozohttpd in NetBSD 6.0 through 6.0.6, 6.1 through 6.1.5, and 7.0 allows remote attackers to execut
The glob implementation in tnftpd (formerly lukemftpd), as used in Apple OS X before 10.11, allows remote attackers to c
An issue was discovered in the kernel in NetBSD 7.1. Rated medium severity (CVSS 5.3), this vulnerability is no authenti
ftpd before "NetBSD-ftpd 20230930" can leak information about the host filesystem before authentication via an MLSD or M
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-57210
GHSA-2q5f-pw9r-2w7m