ALSA: info: Fix memory leak at card removal

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxfa7c9cc3cb310a6c51923c135991eb206ce6a821 to before 8e2a01649b529b4baa90c38af621f2ecf381860c Affected2dac108b9dd7fa08450750dec10ba5db429c8817 to before 4b5567888516594bf2595ddd927a7bf664eb2cc1 Affectedc7a60651953359f98dbf24b43e1bf561e1573ed4 to before d4b27352e4e1f764535ecce3bed36fa0f3b4e446 Affectedc7a60651953359f98dbf24b43e1bf561e1573ed4 to before cc045f5e432e7c647737f2fa1c95b296ed070b4e Affectedc7a60651953359f98dbf24b43e1bf561e1573ed4 to before 94b93c64b5ef07af6aca8efac7ada1a94cfcad5c Affectedc7a60651953359f98dbf24b43e1bf561e1573ed4 to before a3e8eec7692eac706ba0934fa18453e46acd1a08 Affectedb6f7b2c1acee124bd88a90702064aabec9cace52 Affected9f3d7b6a0d2b70abe94ecd6850db087385c8aed3 Affected4ef452297de48cd0407f8b8ed45834beeb500a01 Affecteda681d28b973fd446c75b11dbc17592a214a6eef1 Affected767c988771cb56ffcfbf18ab3d0061573c1c110a Affected746820e6963a687508aac6dc5c02048e2201fd64 Affected6.1.64 to before 6.1.193 Affected6.6.3 to before 6.6.163 Affected4.14.331 to before 4.15 Affected4.19.300 to before 4.20 Affected5.4.262 to before 5.5 Affected5.10.202 to before 5.11 Affected5.15.140 to before 5.16 Affected6.5.13 to before 6.6 Affected
Linux Linux6.7 Affectedbefore 6.7 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

Weaknesses

The record names no weakness.

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.