7.8High

CVE-2026-53242ALSA: PCM: Fix wait queue list corruption in snd_pcm_drain() on linked streams

Linux Linux; Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Published: (4 months ago)

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: PCM: Fix wait queue list corruption in snd_pcm_drain() on linked streams snd_pcm_drain() uses init_waitqueue_entry which does not clear entry.prev/next, and add_wait_queue with a conditional remove_wait_queue that is skipped when to_check is no longer in the group after concurrent UNLINK. The orphaned wait entry remains on the unlinked substream sleep queue. On the next drain iteration, add_wait_queue adds the entry to a new queue while still linked on the old one, corrupting both lists. A subsequent wake_up dereferences NULL at the func pointer (mapped from the spinlock at offset 0 of the misinterpreted wait_queue_head_t), causing a kernel panic. Replace init_waitqueue_entry/add_wait_queue/conditional remove_wait_queue with init_wait_entry/prepare_to_wait/ finish_wait. init_wait_entry clears prev/next via INIT_LIST_HEAD on each iteration and sets autoremove_wake_function which auto-removes the entry on wake-up. finish_wait safely handles both the already-removed and still-queued cases.

Weakness (CWE): CWE-362CWE-476

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Linux Linux 5.10.253 – < 5.10.259, 6.1.167 – < 6.1.176, 6.6.130 – < 6.6.143, 6.12.78 – < 6.12.94, 6.18.19 – < 6.18.36, 6.19.9 – < 6.20
linux linux kernel 5.10.253 – < 5.10.259
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0

Ubuntu fixes

  • USN-9066-1 Linux kernel (HWE) vulnerabilities Ubuntu 22.04 · 12.11.2026 · linux-hwe-6.8
  • USN-9002-1 Linux kernel (NVIDIA Tegra) vulnerabilities Ubuntu 24.04 · 06.11.2026 · linux-nvidia-tegra

References and patches

CPE matches (NVD) (18)

  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.10.253 < 5.10.259
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.1.167 < 6.1.176
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.6.130 < 6.6.143
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.12.78 < 6.12.94
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.18.19 < 6.18.36
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.19.9 < 7.0
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 7.0.1 < 7.0.13
  • cpe:2.3:o:linux:linux_kernel:7.0:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*