CVE-2026-139479

Source
https://cve.org/CVERecord?id=CVE-2026-139479
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139479.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139479
Downstream
Published
2026-11-30T13:35:07Z
Modified
2026-11-30T15:02:28Z
Summary
ALSA: hda: Fix potential UAF for gating jack
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139479.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0619ba8c17b121ef0273be181198659b17d84247
Fixed
2005252e42823e4a8406536a1d56684d3ad01ce4
Fixed
8bd1b427cdd50ddf20347dd5cd8bd4c17851af05
Fixed
efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38
Fixed
1ccbd9f6eda1884746d205f19477d351fecc8f0f
Fixed
b4455b69ed192d17bf7b2c2fd18f92831760d80a
Fixed
fd8b909039d7646ff63b455deaa35051fb4418ae
Fixed
ef68bd82e1aa9820ade5a897bd78b569483cbfd5
Fixed
27cee4141c8de82cf051104ca830c3a209816033

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139479.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.8.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139479.json"