CVE-2026-139479

ALSA: hda: Fix potential UAF for gating jack

Published Nov 30, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: Fix potential UAF for gating jack

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.

For avoiding that pitfall, this patch changes the code to 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.

Analysis

AI-generated

Technical impact

The ALSA hda driver in the Linux kernel contains a use‑after‑free flaw in the gating jack handling routine. When snd_hda_jack_set_gating_jack() calls snd_hda_jack_tbl_get() twice, the second call may trigger a reallocation of the jack table, invalidating the pointer obtained from the first call. This invalid pointer use can lead to a use‑after‑free condition.

Affected Systems

All Linux kernels that include the ALSA hardware‑dependent audio driver (hda) are affected, regardless of distribution or version, until the upstream patch is applied. The vulnerability exists in any build that compiles the vulnerable code path and uses the gating jack feature.

Risk and Exploitability

The CVSS and EPSS values are not publicly available, so the exact severity and likelihood of exploitation remain undetermined. The description indicates a use‑after‑free that could allow memory corruption if the gated jack routine is called twice. Based on the description, it is inferred that local or privileged access to the audio subsystem may be required to trigger the flaw. No public exploit has been documented, and the flaw is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy a kernel update that contains the ALSA hda patch that eliminates the use‑after‑free condition.
  • If a kernel update is not immediately possible, disable the ALSA hda driver or the gating jack functionality to eliminate the vulnerable execution path.
  • Continuously monitor kernel crash logs and audit notices for signs of accidental or malicious misuse of the audio subsystem that could indicate exploitation attempts.

Generated by OpenCVE AI on December 1, 2026 at 18:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: Fix potential UAF for gating jack 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. For avoiding that pitfall, this patch changes the code to 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.
Title ALSA: hda: Fix potential UAF for gating jack
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

No weakness.

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM