Sceawere

Vulnerability Detail

CVE-2026-53996UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

NetBSD hdaudio Use-After-Free Vulnerability

Vulnerability Metadata

Severity
High
Score / CVSS
7
Creation Date
3h ago
Vendor
The NetBSD Foundation
Product
NetBSD
Attack Type
Missing Authorization
Vector String
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Complexity
HIGH

Narrative and Response

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.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "7.0",
  "pubDate": "2026-08-12T13:17:22.777Z",
  "pubdate": "2026-08-12T13:17:22.777Z",
  "executiveSummary": "A missing access control vulnerability exists in NetBSD's hdaudio(4) driver located within sys/dev/hdaudio/hdaudio.c.\nThe vulnerability stems from the absence of proper privilege checks when invoking the HDAUDIO_FGRP_SETCONFIG ioctl via /dev/hdaudioN device nodes.\nUnprivileged local attackers can exploit this flaw by issuing the ioctl repeatedly from one thread while simultaneously maintaining active DMA and IRQs from a second thread.\nThis race condition triggers a use-after-free scenario within hdafg_detach() between stream_stop() and stream_disestablish().\nThe resulting memory corruption condition allows a latched DMA interrupt to dereference a freed callback pointer.\nThe impact ranges from audio-subsystem denial of service and kernel panics to potential local kernel privilege escalation.\nSuccessful exploitation requires local access to the system and the ability to interact with the vulnerable audio device nodes without requiring prior elevated privileges.",
  "technicalDetails": "The root cause of the vulnerability is the lack of authorization checks enforcing elevated permissions prior to handling the HDAUDIO_FGRP_SETCONFIG ioctl command on the /dev/hdaudioN device nodes.\nThe vulnerable component is the NetBSD hdaudio(4) driver, specifically implemented in sys/dev/hdaudio/hdaudio.c.\nAuthentication and privilege requirements are minimal, as unprivileged local attackers can directly access the device nodes and execute the ioctl.\nNetwork exposure is not applicable since the vulnerability is strictly local.\nThe attack flow relies on a multi-threaded exploitation strategy designed to win a race condition during device detachment and configuration updates.\nIn the first thread, the attacker repeatedly invokes the HDAUDIO_FGRP_SETCONFIG ioctl to alter function group configurations dynamically.\nIn the second thread, the attacker maintains active DMA operations and interrupt requests (IRQs).\nThis concurrent activity targets hdafg_detach(), specifically exploiting the execution window between stream_stop() and stream_disestablish().\nAs the driver tears down stream resources and frees underlying memory structures, the persistence of active DMA operations causes a latched DMA interrupt to fire.\nWhen this interrupt is processed, it attempts to dereference a callback pointer that has already been deallocated, resulting in a use-after-free condition.\nThe post-exploitation impact includes memory corruption within kernel space, leading to unpredictable kernel behavior, immediate denial of service via kernel panics, or advanced exploitation vectors that could lead to local kernel privilege escalation."
}
CVE-2026-53996: NetBSD hdaudio Use-After-Free Vulnerability (HIGH Severity, CVSS: 7.0) - Sceawere