Bug 2587338 (CVE-2026-139479) - CVE-2026-139479 kernel: kernel: Use-after-free in ALSA HDA driver via audio jack table reallocation
Summary: CVE-2026-139479 kernel: kernel: Use-after-free in ALSA HDA driver via audio j...
Keywords:
Status: NEW
Alias: CVE-2026-139479
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 15:13 UTC by OSIDB Bzimport
Modified: 2026-12-01 14:36 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 15:13:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.