CVE-2026-139388: ALSA: jack: Fix kctl free at error in snd_jack_kctl_new()
ALSA: jack: Fix kctl free at error in sndjackkctlnew()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In the error path of snd_jack_kctl_new(), replace snd_ctl_free_one() with snd_ctl_remove() to clear the kcontrol and its linked-list and hash entries.
Event History
Frequently Asked Questions
What condition triggers the faulty cleanup path?
The issue is triggered when snd_jack_kctl_new() encounters an error while creating a new kcontrol element. In that path, the element is freed without removing its internal linked-list and hash entries.
What is the impact of the stale entries?
The remaining internal list and hash entries can lead to bogus accesses to user. The provided information does not specify a required attacker privilege level, affected kernel versions, or a workaround.