ALSA: jack: Fix kctl free at error in snd_jack_kctl_new()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 9058cbe1eed29381f84dec9f96980f5a4ea1025f to before 7532fde634304fec4acbeac32829375770ffa1ec Affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to before b17aba4e10dcf29d86d1160b13c74b2af171fa11 Affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to before 30d0c9186e0b303507b9303dace90d414fde9d8a Affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to before de8f94a5cf0d3883e04ed2f8ec1d756fc454b6fd Affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to before bf2a15a3d94937649a7bbd28b3a337c274969275 Affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to before 44bd38164511ffe3ad53a2191c64934b11beb4d8 Affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to before 66ca1ee24a7ea1e666f91a4379f1b374cc4158c6 Affected9058cbe1eed29381f84dec9f96980f5a4ea1025f to before f421be924fec67f74bb0b6988ea8f0a3480df2a7 Affected |
| Linux Linux | 4.2 Affectedbefore 4.2 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.