Technical impact
A defect in the ALSA jack subsystem of the Linux kernel corrupts the cleanup path for the kcontrol object created in snd_jack_kctl_new(). The code calls snd_ctl_free_one() on error, which frees only memory while leaving the internal linked list and hash entries intact. This leaves dangling references that can be accessed after the error, enabling a use‑after‑free scenario that may allow an attacker to trigger arbitrary code execution or cause a kernel crash.
Affected Systems
All Linux kernel releases that include the ALSA jack subsystem prior to the commit that replaces snd_ctl_free_one() with snd_ctl_remove(), which is present in every distribution running an unpatched kernel.
Risk and Exploitability
The CVSS score is not provided and the EPSS score is unavailable, so the quantitative risk is unclear. The likely attack vector is inferred to involve an attacker triggering snd_jack_kctl_new() from user space—for example, by manipulating audio controls or communicating with the JACK server—then causing the error path to execute. If successful, this could lead to kernel panic or arbitrary code execution. The issue is not listed in CISA KEV, indicating no publicly known mass exploitation.