ALSA: info: Fix memory leak at card removal
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 4.14.331, < 4.15→ 4.15 ≥ 4.19.300, < 4.20→ 4.20 ≥ 5.4.262, < 5.5→ 5.5 ≥ 5.10.202, < 5.11→ 5.11 ≥ 5.15.140, < 5.16→ 5.16 ≥ 6.1.64, < 6.1.193→ 6.1.193 ≥ 6.5.13, < 6.6→ 6.6 ≥ 6.6.3, < 6.6.163→ 6.6.163 ≥ 6.7.0, < 6.12.119→ 6.12.119 ≥ 6.13.0, < 6.18.65→ 6.18.65 ≥ 6.19.0, < 7.3.6→ 7.3.6 |
4.15 4.20 5.5 5.11 5.16 6.1.193 6.6 6.6.163 6.12.119 6.18.65 7.3.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-139477 linux-lts Fix available
- Debian DEBIAN-CVE-2026-139477 linux Fix available
- Ubuntu UBUNTU-CVE-2026-139477 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com