Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139479

ALSA: hda: Fix potential UAF for gating jack

Published 30/11/2026 · Updated 30/11/2026 · Linux

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.

Affected products and versions

Linux Linux0619ba8c17b121ef0273be181198659b17d84247 – < 2005252e42823e4a8406536a1d56684d3ad01ce4 · 0619ba8c17b121ef0273be181198659b17d84247 – < 8bd1b427cdd50ddf20347dd5cd8bd4c17851af05 · 0619ba8c17b121ef0273be181198659b17d84247 – < efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38 · 0619ba8c17b121ef0273be181198659b17d84247 – < 1ccbd9f6eda1884746d205f19477d351fecc8f0f · 0619ba8c17b121ef0273be181198659b17d84247 – < b4455b69ed192d17bf7b2c2fd18f92831760d80a · 0619ba8c17b121ef0273be181198659b17d84247 – < fd8b909039d7646ff63b455deaa35051fb4418ae · 0619ba8c17b121ef0273be181198659b17d84247 – < ef68bd82e1aa9820ade5a897bd78b569483cbfd5 · 0619ba8c17b121ef0273be181198659b17d84247 – < 27cee4141c8de82cf051104ca830c3a209816033Fixed in: 2005252e42823e4a8406536a1d56684d3ad01ce4 · 8bd1b427cdd50ddf20347dd5cd8bd4c17851af05 · efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38 · 1ccbd9f6eda1884746d205f19477d351fecc8f0f · b4455b69ed192d17bf7b2c2fd18f92831760d80a · fd8b909039d7646ff63b455deaa35051fb4418ae · ef68bd82e1aa9820ade5a897bd78b569483cbfd5 · 27cee4141c8de82cf051104ca830c3a209816033
Linux Linux3.8Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.