CVE-2026-142917

Source
https://cve.org/CVERecord?id=CVE-2026-142917
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142917.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142917
Published
2026-12-03T03:25:57Z
Modified
2026-12-03T05:01:12Z
Summary
ALSA: hda: Use linked list for jack table
Details

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: Use linked list for jack table

So far we've used snd_array infrastructure for managing the hda_jack_tbl elements, but it turned out that this may lead to a UAF when a different order of destruction procedure is applied; namely, each hda_jack_tbl object creates a snd_jack object and sets the private_data pointing to the hda_jack_tbl, and private_free to release it. It looks harmless, but since snd_array may reallocate the whole table at growing, the formerly referred jack pointer may become stale.

Fortunately, currently there is no call pattern that triggers this issue, so it's only hypothetical, but we should address it in anyway.

There are several ways to address this, and at this time, we rather redesign the hda_jack_tbl allocations: instead of snd_array(), do a normal kmalloc() + linked list. There will be more kmalloc calls than the original code, but as the number of jacks are usually at most handful, it must not be a problem. This change allows us the persistent jack pointer, so no stale pointer access can happen any longer.

This also fixes another reported issue about the stale jack pointer reference in snd_hda_jack_tbl_new(), too.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142917.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
31ef22579302ac42054bebecb528710f46580925
Fixed
3eff04dc7ae5c967156eb04a54f3867dcb1d3c85
Fixed
9d23ace1496a79f0e875523daf500af97f2f0e07
Fixed
f9b97ececb0b5e1b40215a8d9759e5d2cced7ec9
Fixed
5676e013f16ac4b616d433af24647d0ce4b067aa

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.3.0
Fixed
6.12.120
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-142917.json"