AZL-117718: CVE-2026-142917 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda: Use linked list for jack table
So far we've used sndarray infrastructure for managing the hdajacktbl elements, but it turned out that this may lead to a UAF when a different order of destruction procedure is applied; namely, each hdajacktbl object creates a sndjack object and sets the privatedata pointing to the hdajacktbl, and privatefree to release it. It looks harmless, but since sndarray 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 hdajacktbl allocations: instead of sndarray(), 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 sndhdajacktblnew(), too.
Affected Software
Event History
Frequently Asked Questions
Is there a known way to trigger this issue in current usage?
No. The vulnerability description states that there is currently no call pattern known to trigger the stale-pointer condition, so it is considered hypothetical.
How can I determine whether a system is in scope?
Check whether the system is using the Azure Linux kernel package version 6.6.161.1-1 identified in this advisory. The issue concerns ALSA HDA jack-table handling.