<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>NetBSD - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/netbsd/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 12 Aug 2026 14:46:36 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/netbsd/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>NetBSD Local Privilege Escalation via hdaudio Driver</title><link>https://feed.craftedsignal.io/briefs/2026-08-netbsd-hdaudio-priv-esc/</link><pubDate>Wed, 12 Aug 2026 14:46:36 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-netbsd-hdaudio-priv-esc/</guid><description>An unprivileged local attacker can trigger a use-after-free condition in the NetBSD hdaudio(4) driver by exploiting a missing access check on /dev/hdaudioN nodes to invoke the HDAUDIO_FGRP_SETCONFIG ioctl.</description><content:encoded><![CDATA[<p>The NetBSD hdaudio(4) driver (sys/dev/hdaudio/hdaudio.c) contains a critical missing access control vulnerability, tracked as CVE-2026-53996. The vulnerability stems from the absence of required access checks when interacting with /dev/hdaudioN device nodes. This flaw allows an unprivileged local user to invoke the HDAUDIO_FGRP_SETCONFIG ioctl, which should be restricted. By exploiting this lack of access control, an attacker can initiate a race condition between the stream_stop() and stream_disestablish() functions during hdafg_detach(). This race condition leads to a use-after-free scenario where a latched DMA interrupt dereferences a callback pointer that has already been freed. Depending on the memory state, this can result in a denial of service via kernel panic or, in specific conditions, local kernel privilege escalation. Defenders should prioritize patching systems running NetBSD kernels that utilize the hdaudio driver.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker establishes a low-privileged local session on a NetBSD target.</li>
<li>Attacker identifies available audio device nodes at /dev/hdaudio*.</li>
<li>Attacker opens a targeted /dev/hdaudioN device node without specific user permissions.</li>
<li>Attacker launches a multi-threaded process to interact with the HDAUDIO_FGRP_SETCONFIG ioctl.</li>
<li>Thread 1 repeatedly invokes the HDAUDIO_FGRP_SETCONFIG ioctl to trigger detach procedures.</li>
<li>Thread 2 maintains active DMA and IRQs, forcing a race condition during the hdafg_detach() call.</li>
<li>The kernel dereferences a freed callback pointer due to the race between stream_stop() and stream_disestablish().</li>
<li>System crashes (DoS) or attacker achieves kernel-mode code execution (Privilege Escalation).</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-53996 allows any local user on a NetBSD system to cause a system-wide kernel panic, disrupting service availability. Furthermore, the use-after-free vulnerability provides a vector for local privilege escalation, potentially allowing an attacker to gain kernel-level execution rights, bypass filesystem permissions, and gain full control of the affected host.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the vendor-provided patch for CVE-2026-53996 to all NetBSD systems.</li>
<li>Audit local system access to determine if unprivileged users have legitimate business needs to access /dev/hdaudio* device nodes.</li>
<li>Implement Udev-style rules or manual permission management to restrict read/write access to /dev/hdaudio* to authorized users or groups only.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>privilege-escalation</category><category>netbsd</category><category>kernel-vulnerability</category></item></channel></rss>