CVE-2026-139477
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.
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/4b5567888516594bf2595ddd927a7bf664eb2cc1nvd
- git.kernel.org/stable/c/8e2a01649b529b4baa90c38af621f2ecf381860cnvd
- git.kernel.org/stable/c/94b93c64b5ef07af6aca8efac7ada1a94cfcad5cnvd
- git.kernel.org/stable/c/a3e8eec7692eac706ba0934fa18453e46acd1a08nvd
- git.kernel.org/stable/c/cc045f5e432e7c647737f2fa1c95b296ed070b4envd
- git.kernel.org/stable/c/d4b27352e4e1f764535ecce3bed36fa0f3b4e446nvd
News mentions
0No linked articles in our index yet.