# CVE-2026-139479: ALSA: hda: Fix potential UAF for gating jack

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-11-30T13:35:07.956Z
- Modified: 2026-11-30T14:19:21.483Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0619ba8c17b121ef0273be181198659b17d84247 before 2005252e42823e4a8406536a1d56684d3ad01ce4; from 0619ba8c17b121ef0273be181198659b17d84247 before 8bd1b427cdd50ddf20347dd5cd8bd4c17851af05; from 0619ba8c17b121ef0273be181198659b17d84247 before efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38; from 0619ba8c17b121ef0273be181198659b17d84247 before 1ccbd9f6eda1884746d205f19477d351fecc8f0f; from 0619ba8c17b121ef0273be181198659b17d84247 before b4455b69ed192d17bf7b2c2fd18f92831760d80a; from 0619ba8c17b121ef0273be181198659b17d84247 before fd8b909039d7646ff63b455deaa35051fb4418ae; from 0619ba8c17b121ef0273be181198659b17d84247 before ef68bd82e1aa9820ade5a897bd78b569483cbfd5; from 0619ba8c17b121ef0273be181198659b17d84247 before 27cee4141c8de82cf051104ca830c3a209816033; 3.8 (not affected: before 3.8; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/2005252e42823e4a8406536a1d56684d3ad01ce4>
- <https://git.kernel.org/stable/c/8bd1b427cdd50ddf20347dd5cd8bd4c17851af05>
- <https://git.kernel.org/stable/c/efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38>
- <https://git.kernel.org/stable/c/1ccbd9f6eda1884746d205f19477d351fecc8f0f>
- <https://git.kernel.org/stable/c/b4455b69ed192d17bf7b2c2fd18f92831760d80a>
- <https://git.kernel.org/stable/c/fd8b909039d7646ff63b455deaa35051fb4418ae>
- <https://git.kernel.org/stable/c/ef68bd82e1aa9820ade5a897bd78b569483cbfd5>
- <https://git.kernel.org/stable/c/27cee4141c8de82cf051104ca830c3a209816033>

## Sources

- CVE List: [CVE-2026-139479](https://www.cve.org/CVERecord?id=CVE-2026-139479), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139479](https://nvd.nist.gov/vuln/detail/CVE-2026-139479), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139479 · Whole record: https://cve.day/CVE-2026-139479.json · Rebuilt by cve.day 2026-11-30T14:33:03.670Z
