Skip to main content

NetBSD hdaudio CVE-2026-53996

| EUVDEUVD-2026-57210 HIGH
Missing Authorization (CWE-862)
2026-08-12 VulnCheck GHSA-2q5f-pw9r-2w7m
7.3
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
7.3 HIGH
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
vuln.today AI
7.0 HIGH

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.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

2
Analysis Generated
Aug 12, 2026 - 13:19 vuln.today
CVE Published
Aug 12, 2026 - 12:42 cve.org
HIGH 7.3

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.

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.

More in Netbsd

View all
CVE-2012-0217 HIGH POC
7.2 Jun 12

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

CVE-2014-8517 HIGH POC
7.5 Nov 17

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

CVE-2014-3566 LOW POC
3.4 Oct 15

The SSL protocol 3.0, as used in OpenSSL through 1.0.1i and other products, uses nondeterministic CBC padding, which mak

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2017-1000375 CRITICAL POC
9.8 Jun 19

NetBSD maps the run-time link-editor ld.so directly below the stack region, even if ASLR is enabled, this allows attacke

CVE-2016-6253 HIGH POC
7.8 Jan 20

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

CVE-2017-1000378 CRITICAL
9.8 Jun 19

The NetBSD qsort() function is recursive, and not randomized, an attacker can construct a pathological input array of N

CVE-2017-1000374 CRITICAL
9.8 Jun 19

A flaw exists in NetBSD's implementation of the stack guard page that allows attackers to bypass it resulting in arbitra

CVE-2015-8212 CRITICAL
9.8 Jan 19

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

CVE-2015-5917 MEDIUM POC
5.0 Oct 09

The glob implementation in tnftpd (formerly lukemftpd), as used in Apple OS X before 10.11, allows remote attackers to c

CVE-2020-26139 MEDIUM
5.3 May 11

An issue was discovered in the kernel in NetBSD 7.1. Rated medium severity (CVSS 5.3), this vulnerability is no authenti

CVE-2023-45198 HIGH
7.5 Oct 05

ftpd before "NetBSD-ftpd 20230930" can leak information about the host filesystem before authentication via an MLSD or M

Share

CVE-2026-53996 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy