PT-2026-166654
CVE-2026-142917
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾