ALSA: info: Fix memory leak at card removal
- CVE-2026-139477
- GHSA-fgm8-p4gf-cch9
- EUVD-2026-139183
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: info: Fix memory leak at card removal The fix for potential deadlock at disconnection by the commit c7a606519533 ("ALSA: info: Fix potential deadlock at disconnection") clears card->proc_root pointer at snd_info_card_disconnect(), in order just to be sure. But this leads to a memory leak of card->proc_root content that should have been released at a later call of snd_info_card_free(). For addressing the memory leak, simply drop the card->proc_root clearance at snd_info_card_disconnect(). Since card->proc_root might be still looked at in snd_info_card_id_change() that may be running concurrently during the connection procedure, add a sanity check there, too.
Text from the CVE.org record.
Recommendation
Linux
- If you run 6.6.xupdate to 6.6.163 or laterPatch update: breaking changes are unlikely
- If you run a version from 6.5.13 to before 6.6update to 6.6 or laterMinor version change: check the release notes
- If you run 6.1.xupdate to 6.1.193 or laterPatch update: breaking changes are unlikely
- If you run a version from 5.15.140 to before 5.16update to 5.16 or laterMinor version change: check the release notes
- If you run a version from 5.10.202 to before 5.11update to 5.11 or laterMinor version change: check the release notes
- If you run a version from 5.4.262 to before 5.5update to 5.5 or laterMinor version change: check the release notes
- If you run a version from 4.19.300 to before 4.20update to 4.20 or laterMinor version change: check the release notes
- If you run a version from 4.14.331 to before 4.15update to 4.15 or laterMinor version change: check the release notes
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.6.3 to before 6.6.163 6.6.163 from 6.5.13 to before 6.6 6.6 from 6.1.64 to before 6.1.193 6.1.193 from 5.15.140 to before 5.16 5.16 from 5.10.202 to before 5.11 5.11 from 5.4.262 to before 5.5 5.5 from 4.19.300 to before 4.20 4.20 from 4.14.331 to before 4.15 4.15 and 8 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.