CVE-2026-53996

NetBSD hdaudio(4) Driver Privilege Bypass Use-After-Free via HDAUDIO_FGRP_SETCONFIG ioctl

Published Aug 12, 2026 CVSS 4.0 · 7.3 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The hdaudio(4) driver lacks sufficient access control, allowing any local user to call the HDAUDIO_FGRP_SETCONFIG ioctl on /dev/hdaudioN without permission. By concurrently issuing this ioctl and keeping DMA and IRQ resources live, an attacker can trigger a use‑after‑free race in hdafg_detach(), causing corrupt memory accesses that may lead to denial of service, kernel panic, or local privilege escalation.

Affected Systems

This vulnerability affects the NetBSD operating system from The NetBSD Foundation. No specific product versions were listed, suggesting the defect may be present in multiple releases until official patches are applied.

Risk and Exploitability

The CVSS score of 7.3 signals moderate to high severity. EPSS data is missing, and the flaw is not yet catalogued in the CISA KEV list. Exploitation requires local access to the device node and the ability to execute an ioctl; a proper race condition must be orchestrated, but the lack of access checks makes the attack straightforward for an unprivileged user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update NetBSD to a release that contains the hdaudio driver fix (consult official advisories).
  • Modify the permissions on /dev/hdaudioN to restrict access to privileged users only.
  • Disable the HDAUDIO device or remove the hardware if it is not required for operation.

Generated by OpenCVE AI on August 13, 2026 at 00:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:o:netbsd:netbsd:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Netbsd
Netbsd netbsd
Vendors & Products Netbsd
Netbsd netbsd
Type Values Removed Values Added
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.
Title NetBSD hdaudio(4) Driver Privilege Bypass Use-After-Free via HDAUDIO_FGRP_SETCONFIG ioctl
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:50 PM
Reserved
Jun 11, 2026, 4:07 PM
Status
Awaiting Analysis
Published
Aug 12, 2026, 1:17 PM
Modified
Oct 24, 2026, 4:10 PM