ALSA: caiaq: Fix potential double-free at error path
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: Fix potential double-free at error path The fix for caiaq driver's resource management to handle the errors tries to release the resources in a common destructor call, but as a sashiko review for another patch suggested, some of the audio resources such as URBs have been already freed, and this may lead to a double-free. For addressing the double-free, call the common destructor function from each place, and assure that the resource pointers get cleared.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From da938aa9fc7826901921dcea225948ab21a97e45 · fixed in ddfff1cec52b7deec6c770ba85de4dab6221d0a2; From 09616e25f502080ba684fc7fcf959d1376ab756d · fixed in da93fd9002d980bb02b729c5d5aeefeb252dd110; From b956e48371f2ff72b76be9a829800ecec963bd45 · fixed in b6cd6f1664a0bc8038b9baa7e6f5fe8e4142d056; From f537e3ad69609f6924a4db6b4a7f6561f5288bdd · fixed in 75b20534d7a37e091db585f8b505a3b77b7e81a8; From 6251e3e256337a30160ef59ab1580dde4d1acd28 · fixed in 2883d65a3d9a8d9a682cdb003e6ab7fb28bb17f8; From e59ecd4ee3a450db6cb4e4ecaa3efdd593f80056 · fixed in 1dd715ca0568e4833ed5878f49b028b449941096; From 28abd224db4a49560b452115bca3672a20e45b2f · fixed in b629ae7b3eddc6812d5af3614b8c1bd76d65fa75; From 28abd224db4a49560b452115bca3672a20e45b2f · fixed in 3b26ceef88c110f4d188387cffa0df78657be904; From 5.10.258 · fixed in 5.10.271; From 5.15.209 · fixed in 5.15.222; From 6.1.175 · fixed in 6.1.189; From 6.6.140 · fixed in 6.6.158; From 6.12.86 · fixed in 6.12.111; From 6.18.27 · fixed in 6.18.53; From 7.0.4 · fixed in 7.1
- Linux Linux
7.1
- KernelLinux
fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7
References 8
git.kernel.org
- stable/c/ddfff1cec52b7deec6c770ba85de4dab6221d0a2
- stable/c/da93fd9002d980bb02b729c5d5aeefeb252dd110
- stable/c/b6cd6f1664a0bc8038b9baa7e6f5fe8e4142d056
- stable/c/75b20534d7a37e091db585f8b505a3b77b7e81a8
- stable/c/2883d65a3d9a8d9a682cdb003e6ab7fb28bb17f8
- stable/c/1dd715ca0568e4833ed5878f49b028b449941096
- stable/c/b629ae7b3eddc6812d5af3614b8c1bd76d65fa75
- stable/c/3b26ceef88c110f4d188387cffa0df78657be904