CVE-2026-139479
publishedALSA: hda: Fix potential UAF for gating jack
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0619ba8c17b121ef0273be181198659b17d84247 to < 2005252e42823e4a8406536a1d56684d3ad01ce4 · 0619ba8c17b121ef0273be181198659b17d84247 to < 8bd1b427cdd50ddf20347dd5cd8bd4c17851af05 · 0619ba8c17b121ef0273be181198659b17d84247 to < efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38 · 0619ba8c17b121ef0273be181198659b17d84247 to < 1ccbd9f6eda1884746d205f19477d351fecc8f0f · 0619ba8c17b121ef0273be181198659b17d84247 to < b4455b69ed192d17bf7b2c2fd18f92831760d80a · 0619ba8c17b121ef0273be181198659b17d84247 to < fd8b909039d7646ff63b455deaa35051fb4418ae · 0619ba8c17b121ef0273be181198659b17d84247 to < ef68bd82e1aa9820ade5a897bd78b569483cbfd5 · 0619ba8c17b121ef0273be181198659b17d84247 to < 27cee4141c8de82cf051104ca830c3a209816033 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0619ba8c17b121ef0273be181198659b17d84247 to < 2005252e42823e4a8406536a1d56684d3ad01ce4 (affected · git)0619ba8c17b121ef0273be181198659b17d84247 to < 8bd1b427cdd50ddf20347dd5cd8bd4c17851af05 (affected · git)0619ba8c17b121ef0273be181198659b17d84247 to < efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38 (affected · git)0619ba8c17b121ef0273be181198659b17d84247 to < 1ccbd9f6eda1884746d205f19477d351fecc8f0f (affected · git)0619ba8c17b121ef0273be181198659b17d84247 to < b4455b69ed192d17bf7b2c2fd18f92831760d80a (affected · git)0619ba8c17b121ef0273be181198659b17d84247 to < fd8b909039d7646ff63b455deaa35051fb4418ae (affected · git)0619ba8c17b121ef0273be181198659b17d84247 to < ef68bd82e1aa9820ade5a897bd78b569483cbfd5 (affected · git)0619ba8c17b121ef0273be181198659b17d84247 to < 27cee4141c8de82cf051104ca830c3a209816033 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.8 (affected)0 to < 3.8 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1ccbd9f6eda1884746d205f19477d351fecc8f0f
- https://git.kernel.org/stable/c/2005252e42823e4a8406536a1d56684d3ad01ce4
- https://git.kernel.org/stable/c/27cee4141c8de82cf051104ca830c3a209816033
- https://git.kernel.org/stable/c/8bd1b427cdd50ddf20347dd5cd8bd4c17851af05
- https://git.kernel.org/stable/c/b4455b69ed192d17bf7b2c2fd18f92831760d80a
- https://git.kernel.org/stable/c/ef68bd82e1aa9820ade5a897bd78b569483cbfd5
- https://git.kernel.org/stable/c/efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38
- https://git.kernel.org/stable/c/fd8b909039d7646ff63b455deaa35051fb4418ae
Provider assertions
1Linux · cna
ALSA: hda: Fix potential UAF for gating jack
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4aa579b6d86553b827254165b559303a2f68a111af465a48dd613cc0fafe2976
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record