CVE-2026-139477: ALSA: info: Fix memory leak at card removal

Published Nov 30, 2026
·
Updated

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->procroot pointer at sndinfocarddisconnect(), in order just to be sure. But this leads to a memory leak of card->procroot content that should have been released at a later call of sndinfocardfree().

For addressing the memory leak, simply drop the card->procroot clearance at sndinfocarddisconnect().

Since card->procroot might be still looked at in sndinfocardidchange() that may be running concurrently during the connection procedure, add a sanity check there, too.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description

Frequently Asked Questions

1

When can this leak occur?

The leak can occur when an ALSA card is removed or disconnected after a change that clears card->proc_root in snd_info_card_disconnect(). Clearing that pointer prevents its contents from being released later by snd_info_card_free().

2

Is there a concurrent-operation consideration in the fix?

Yes. card->proc_root may still be examined by snd_info_card_id_change() while a connection procedure is running concurrently, so the fix adds a sanity check there.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203