The HD-audio driver keeps a table of jacks, the headphone and microphone sockets whose plug detection it reports to userspace, and the table grows as a codec’s pins are set up. Some pins are “gated” by another jack: a headset microphone that only exists once the headphone plug is in. The kernel CNA record says the function that links the two, snd_hda_jack_set_gating_jack(), “assigns gated and gating variables from the succeeding calls of snd_hda_jack_tbl_get(). This works normally, but the second call might kick off the reallocation of the jack table, hence the first pointer might become invalid, which leads to a UAF.” Red Hat rates it Important at 7.8 as a local escalation. On machines with HD-audio codecs and local users who are not root, upgrade to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later and reboot.
CVE-2026-139479 at a glance.
| Component | Linux kernel, HD-audio core (sound/hda/common/jack.c), function snd_hda_jack_set_gating_jack(), module snd-hda-core beneath snd-hda-intel and the codec drivers |
| Affected versions | from 0619ba8c17b1, the 3.8 commit that added gating jacks: 3.8 up to 5.10 before 5.10.275, 5.15 before 5.15.226, 6.1 before 6.1.193, 6.6 before 6.6.163, 6.12 before 6.12.119, 6.18 before 6.18.65, 7.3 before 7.3.6 and 7.4 before 7.4-rc1 |
| Fixed in | mainline 7.4-rc1 (commit 27cee414, “Fix potential UAF for gating jack”: the code is split into “two phases: the first to only create two entries, and the second phase to get the pointers from the table, so that no relocation can happen any longer”) and stable 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6; eight commits in the record |
| Severity | Red Hat Important, CVSS 3.1 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, draft, CWE-825 expired pointer dereference), bug 2587338 “Use-after-free in ALSA HDA driver via audio jack table reallocation”; the kernel CNA gives no score and NVD (Received, 30 November) carries none; Ubuntu Medium; SUSE could not be read on 2 December 2026 |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00211 (12th percentile) on 1 December 2026 |
| Who is exposed | Any machine with an HD-audio codec whose pin configuration uses a gating jack, which is most laptops and desktops with a combined headset socket; the vulnerable call runs when the codec is set up: at boot, on codec rebind and, where the driver is built with reconfiguration support, when the codec is re-parsed through its hwdep interface. Red Hat’s statement: an unprivileged local user could exploit the corruption “to crash the system or potentially escalate privileges”; RHEL 9 and 10 kernels are affected, 8 and earlier are not. Servers without an HDA codec, and virtual machines without an emulated one, have no device to reach it through |
| Published | CVE record 30 November 2026 (kernel CNA); this page built 2 December 2026, last updated 2 December 2026 |
What it is
snd_hda_jack_tbl_get() looks a pin up in the codec’s jack table and, if there is no entry yet, creates one; the table is a growable array, so creating an entry may reallocate it and move every existing entry. snd_hda_jack_set_gating_jack() needs two entries, the gated pin and the gating pin, and fetched them with two consecutive calls, keeping the first pointer across the second. When the second call is the one that creates a new entry and the array has to grow, the first pointer refers to the old allocation, which has been freed, and the function then writes the gating relationship through it.
That is a write into freed slab memory from a kernel path that an unprivileged user can provoke indirectly: the setup runs when the codec is bound, and it is reached again when the codec is re-parsed through the driver’s hwdep reconfiguration interface on kernels built with it, a node the console user holds through the logind ACL on /dev/snd/hwC*D*. Red Hat’s scoring treats the corruption as a local escalation in the usual ALSA shape; the record itself calls it “potential”, and the window exists only when the second lookup is the one that grows the table.
The fix in sound/hda/common/jack.c separates the two concerns: create both entries first, then look both up, so that no reallocation can happen between obtaining the pointers and using them. The code dates from the 3.8 cycle, so every maintained stable series took a backport. git.kernel.org refuses automated readers, so the diff is described from the CNA’s copy of the commit message; the Ubuntu page notes the fix should not be cherry-picked in isolation.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. The code is in every kernel with HD-audio support; only machines with a codec exercise it.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page | — |
| Debian | bookworm (6.1.176-1, security 6.1.192-3) vulnerable; trixie (6.12.117-1, security 6.12.118-1) vulnerable; forky and sid (7.3.6-1) fixed; no DSA | unstable 7.3.6-1 |
| Ubuntu | Medium; the linux package is needs evaluation on every release from 14.04 to 26.10 on 2 December 2026 (page updated 2 December), nothing released | nothing on 2 December 2026 |
| RHEL, Rocky, Alma, CentOS Stream | Important, 7.8 (bug 2587338, CWE-825); kernel and kernel-rt affected in RHEL 9 and 10 and in the OpenShift 4 RHEL 9 and OpenShift 5 RHCOS images; RHEL 6, 7 and 8 not affected; no errata on 2 December 2026 | — |
| openSUSE/SLE | Not consulted: suse.com refused the automated reader on 2 December 2026 (client error) | — |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply | 5.10.275 / 5.15.226 / 6.1.193 / 6.6.163 / 6.12.119 / 6.18.65 / 7.3.6 or later |
How to check
Is there an HD-audio codec, does its configuration use a gating jack, and who can reach the driver’s reconfiguration interfaces. The first question settles it for most servers.
# 1. is an HD-audio codec present
lsmod | grep -E '^snd_hda_(core|intel|codec)'
ls /proc/asound/card*/codec#* 2>/dev/null
# 2. the running kernel: fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later
uname -r
# 3. is a gating jack configured (the headset-mic case), and who can open the hwdep and control nodes
grep -il 'gating' /proc/asound/card*/codec#* 2>/dev/null
ls -l /dev/snd/hwC*D* /dev/snd/controlC* 2>/dev/null
getfacl /dev/snd/hwC0D0 2>/dev/null | grep -E '^user:[^:]'
getent group audioNo snd_hda_* module and no codec# file means the page does not apply; that is the common case on servers, and on virtual machines without an emulated HDA device. A codec on an affected kernel is the exposed case on any machine where a non-root user holds the console ACL or audio membership, since the reconfiguration path is available to that user where it is built in. Grep output in step 3 is a hint rather than a verdict: the gating relationship is set up from the codec’s pin defaults and the driver’s quirk tables, and the kernel is the only reliable test.
How to fix it
Install the fixed kernel and reboot; the HDA stack loads with the sound hardware and stays until the machine boots the new image. Until then, keep the hardware-dependent and control nodes away from untrusted accounts on shared machines.
# Debian forky / sid (7.3.6-1) carry the fix; bookworm and trixie: watch the tracker row above
apt update && apt install linux-image-amd64 && systemctl reboot# RHEL 9 / 10, Rocky, Alma: no errata yet on 2 December 2026; when the advisory lands
dnf update kernel && systemctl reboot# Ubuntu: needs evaluation on 2 December 2026; once the linux package is released
apt update && apt install linux-generic && systemctl reboot# Stop-gap on a shared machine: deny the codec's hwdep and control nodes to unprivileged users until the reboot
chmod 600 /dev/snd/hwC*D* /dev/snd/controlC* && setfacl -b /dev/snd/hwC*D* /dev/snd/controlC*Taking the control node away stops ordinary mixer use for that user until the reboot restores it through udev; the hwdep node alone is rarely needed by anything but reconfiguration tools, and removing just that is a smaller change. What not to do: do not blacklist snd_hda_intel on a laptop to close the window, which removes audio entirely and still leaves the codec path reachable on the next boot if the blacklist is incomplete; and do not add users to the audio group to work around the stop-gap, which is the configuration the score assumes.
Sources
- CVE-2026-139479 at CVE.org — the kernel CNA record: the two consecutive lookups, the reallocation, the two-phase fix, the version ranges (30 November 2026)
- Fix commit 27cee414 (mainline 7.4-rc1, the commit Debian cites) and the stable backports 2005252e, 8bd1b427, efcf3ea7, 1ccbd9f6, b4455b69, fd8b9090, ef68bd82; git.kernel.org refuses automated readers, so the diff is described from the CNA’s copy of the commit message
- NVD entry — Received on 30 November 2026; no CVSS metric, CWE or CPE on 2 December 2026
- Distribution trackers: Debian (bookworm and trixie vulnerable, unstable fixed in 7.3.6-1) · Red Hat (Important 7.8, bug 2587338, CWE-825; RHEL 9 and 10 affected, 8 and earlier not; the statement on crash or escalation) · Ubuntu (Medium, needs evaluation, the cherry-pick note; read from the HTML page, the JSON endpoint refused) · SUSE (refused the automated reader on 2 December 2026)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00211 (percentile 0.120) on 1 December 2026
Related reading
- CVE-2026-139351: Linux kernel ALSA core refcount sync race — rated the same day, the other ALSA entry of this set
- CVE-2026-139388: Linux kernel ALSA jack kctl free — the jack layer’s other use-after-free from the same burst
- CVE-2026-100016: Linux kernel ALSA compress gapless buffer — the same exposure model: a sound device and the users who can open it
- The Kernel — why a growable array’s old pointer is a use-after-free, and what the logind device ACL grants
This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

