Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139477

ALSA: info: Fix memory leak at card removal

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • fa7c9cc3cb310a6c51923c135991eb206ce6a821 to < 8e2a01649b529b4baa90c38af621f2ecf381860caffected
  • 2dac108b9dd7fa08450750dec10ba5db429c8817 to < 4b5567888516594bf2595ddd927a7bf664eb2cc1affected
  • c7a60651953359f98dbf24b43e1bf561e1573ed4 to < d4b27352e4e1f764535ecce3bed36fa0f3b4e446affected
  • c7a60651953359f98dbf24b43e1bf561e1573ed4 to < cc045f5e432e7c647737f2fa1c95b296ed070b4eaffected
  • c7a60651953359f98dbf24b43e1bf561e1573ed4 to < 94b93c64b5ef07af6aca8efac7ada1a94cfcad5caffected
  • c7a60651953359f98dbf24b43e1bf561e1573ed4 to < a3e8eec7692eac706ba0934fa18453e46acd1a08affected
  • b6f7b2c1acee124bd88a90702064aabec9cace52affected
  • 9f3d7b6a0d2b70abe94ecd6850db087385c8aed3affected
  • 4ef452297de48cd0407f8b8ed45834beeb500a01affected
  • a681d28b973fd446c75b11dbc17592a214a6eef1affected
  • 767c988771cb56ffcfbf18ab3d0061573c1c110aaffected
  • 746820e6963a687508aac6dc5c02048e2201fd64affected
  • 6.1.64 to < 6.1.193affected
  • 6.6.3 to < 6.6.163affected
  • 4.14.331 to < 4.15affected
  • 4.19.300 to < 4.20affected
  • 5.4.262 to < 5.5affected
  • 5.10.202 to < 5.11affected
  • 5.15.140 to < 5.16affected
  • 6.5.13 to < 6.6affected

Linux Linux

Default version status: affected

  • 6.7affected
  • 0 to < 6.7unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References