Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9058cbe1eed29381f84dec9f96980f5a4ea1025f to < 7532fde634304fec4acbeac32829375770ffa1ecaffected9058cbe1eed29381f84dec9f96980f5a4ea1025f to < b17aba4e10dcf29d86d1160b13c74b2af171fa11affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to < 30d0c9186e0b303507b9303dace90d414fde9d8aaffected9058cbe1eed29381f84dec9f96980f5a4ea1025f to < de8f94a5cf0d3883e04ed2f8ec1d756fc454b6fdaffected9058cbe1eed29381f84dec9f96980f5a4ea1025f to < bf2a15a3d94937649a7bbd28b3a337c274969275affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to < 44bd38164511ffe3ad53a2191c64934b11beb4d8affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to < 66ca1ee24a7ea1e666f91a4379f1b374cc4158c6affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to < f421be924fec67f74bb0b6988ea8f0a3480df2a7affected
Linux Linux
Default version status: affected
4.2affected0 to < 4.2unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/7532fde634304fec4acbeac32829375770ffa1ec ↗
- https://git.kernel.org/stable/c/b17aba4e10dcf29d86d1160b13c74b2af171fa11 ↗
- https://git.kernel.org/stable/c/30d0c9186e0b303507b9303dace90d414fde9d8a ↗
- https://git.kernel.org/stable/c/de8f94a5cf0d3883e04ed2f8ec1d756fc454b6fd ↗
- https://git.kernel.org/stable/c/bf2a15a3d94937649a7bbd28b3a337c274969275 ↗
- https://git.kernel.org/stable/c/44bd38164511ffe3ad53a2191c64934b11beb4d8 ↗
- https://git.kernel.org/stable/c/66ca1ee24a7ea1e666f91a4379f1b374cc4158c6 ↗
- https://git.kernel.org/stable/c/f421be924fec67f74bb0b6988ea8f0a3480df2a7 ↗