CVE-2026-139477

ALSA: info: Fix memory leak at card removal

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An improper cleanup of the ALSA card information structure when a sound card is removed causes a memory leak. During disconnection, the kernel clears the card->proc_root pointer, but this pointer should be released later during snd_info_card_free(). As a result, the memory associated with card->proc_root is not freed, leading to a gradual increase in memory usage for systems that frequently plug or unplug audio hardware. The vulnerability does not allow an attacker to execute code or gain elevated privileges; its primary consequence is resource exhaustion over time.

Affected Systems

The vulnerability exists in the Linux kernel’s ALSA subsystem. All kernel releases that contain the outdated disconnection logic are affected, as the kernel frequently spawns audio devices and may disconnect them. Any Linux distribution that ships with a kernel before the patch that removes the premature clearance of card->proc_root is vulnerable. No specific vendor versions are listed; the fix applies broadly to all affected kernels.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, indicating that no publicly known exploitation exists. The impact is limited to memory consumption; it does not provide a medium or high severity for immediate compromise. Consequently, the risk level is low, though repeated or automated card removal could eventually lead to system instability if memory usage grows unchecked. The vulnerability is mitigated by updating the kernel to a patched version that restores proper cleanup behavior.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the fix for the ALSA card removal memory leak, such as any kernel incorporating the commit that removes the premature card->proc_root clearance.
  • If a kernel upgrade is not immediately possible, temporarily disable automatic removal or reboot the system regularly to reclaim the leaked memory until the patch can be applied.
  • Verify that the updated kernel contains the relevant commit (e.g., c7a606519533 or later) by checking kernel sources for the corrected snd_info_card_disconnect() implementation.

Generated by OpenCVE AI on November 30, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
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.
Title ALSA: info: Fix memory leak at card removal
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM