Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain local unprivileged shell on NetBSD
-
DeliveryOpen /dev/hdaudioN bypassing absent access check
-
ExploitSpawn thread 1 issuing repeated HDAUDIO_FGRP_SETCONFIG ioctls
-
InstallSpawn thread 2 maintaining active DMA stream and IRQs
-
C2Race condition triggers use-after-free in hdafg_detach()
-
ExecuteDMA interrupt dereferences freed callback pointer
-
ImpactKernel panic or local privilege escalation to root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold a local unprivileged user account on a NetBSD system with HD Audio hardware present and the hdaudio(4) driver loaded, resulting in accessible /dev/hdaudioN device nodes. The missing access control (CWE-862) means no special group membership, capability, or elevated privilege is required to open those nodes and issue the HDAUDIO_FGRP_SETCONFIG ioctl. The additional requirement is winning a kernel-level race condition between two concurrent threads - stream_stop() versus an in-flight DMA interrupt - which introduces timing dependency on scheduler behavior, CPU count, and system load, making exploitation unreliable rather than deterministic. Remote exploitation is entirely excluded by AV:L; the attacker must have interactive or SSH access to the target. Systems without HD Audio hardware, or configured to not load hdaudio(4), are not affected. |
| Impact | The CVSS 4.0 vector (AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) correctly captures the attack profile: local unprivileged access is sufficient due to the missing ioctl guard, but winning the kernel-level race (AC:H) requires precise thread scheduling and is not guaranteed to be reliable across varying load and CPU configurations. The theoretical impact ceiling is nonetheless severe - full kernel memory corruption enabling confidentiality, integrity, and availability compromise of the vulnerable system. No EPSS score was available in the supplied intelligence data, and the vulnerability does not appear in CISA KEV at time of analysis, indicating no confirmed widespread active exploitation. However, a public PoC gist attributed to researcher n4sm substantially reduces the skill barrier, moving this from theoretical to practically exploitable for motivated attackers with local access. Even a mid-sized municipal IT team in boleslawiec operating NetBSD-based infrastructure with untrusted local user accounts should treat this as urgent, since the combination of a public PoC and a missing access control makes the race condition the only meaningful barrier to exploitation. The absence of a confirmed patched release version - only a CVSweb source commit is referenced - introduces remediation uncertainty that extends exposure windows. |
| Exploit ScenarioDerived | An unprivileged user with a local shell account on a multi-user NetBSD system launches the public PoC from the n4sm gist, which spawns two threads: one hammering HDAUDIO_FGRP_SETCONFIG ioctls against /dev/hdaudioN (possible with no privilege check) and one keeping a DMA stream active. When the race is won and a latched DMA interrupt fires after hdafg_detach() has freed the callback structure, the kernel dereferences the freed pointer - yielding a kernel panic at minimum, or corrupted kernel execution state exploitable for local privilege escalation to root. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Netbsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
DescriptionCVE.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.
Executive ViewAI
CVE-2026-53996 in NetBSD's hdaudio driver allows unprivileged local users to escalate to kernel privilege level using publicly available exploit code. Organizations running NetBSD systems with local user access face immediate risk of privilege escalation and service disruption.
Apply vendor patch (requires NetBSD kernel rebuild from patched source code). Interim: restrict /dev/hdaudioN device permissions to prevent unprivileged user access; disable audio subsystem if not operationally required.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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
EUVD-2026-57210
GHSA-2q5f-pw9r-2w7m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB