In the Linux kernel, the following vulnerability has been resolved: ALSA: jack: Fix kctl free at error in snd_jack_kctl_new() When an error happens in snd_jack_kctl_new(), it tries to free the new kcontrol element via snd_ctl_free_one(). But snd_ctl_free_one() releases only the memories, and the internal linked list and hash entries still remain, which may lead to bogus accesses to user. Replace with the correct destructor, snd_ctl_remove(), for clearing the whole resources of the given kcontrol, instead.
https://git.kernel.org/stable/c/f421be924fec67f74bb0b6988ea8f0a3480df2a7
https://git.kernel.org/stable/c/de8f94a5cf0d3883e04ed2f8ec1d756fc454b6fd
https://git.kernel.org/stable/c/bf2a15a3d94937649a7bbd28b3a337c274969275
https://git.kernel.org/stable/c/b17aba4e10dcf29d86d1160b13c74b2af171fa11
https://git.kernel.org/stable/c/7532fde634304fec4acbeac32829375770ffa1ec
https://git.kernel.org/stable/c/66ca1ee24a7ea1e666f91a4379f1b374cc4158c6
https://git.kernel.org/stable/c/44bd38164511ffe3ad53a2191c64934b11beb4d8
https://git.kernel.org/stable/c/30d0c9186e0b303507b9303dace90d414fde9d8a