ALSA: PCM: Fix wait queue list corruption in snd_pcm_drain() on linked streams

Summary

CVECVE-2026-53242
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-25 09:16:42 UTC
Updated2026-06-25 09:16:42 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001800000 probability, percentile 0.077700000 (date 2026-06-25)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 9baee36e8c5443411c4629afabafaff8a46a23fd cac5bf3500ee6422cf64e0df0b5daeecfed42917 git Not specified
CNA Linux Linux affected fc71f888994569f87d5bee20b1ac6c9c1e3a7a79 d842f26a167e77a36f3ed333b9fa99d36ef99fe6 git Not specified
CNA Linux Linux affected 629cf09464cf98670996ea5c191dc9743e6f3f00 d68b621bb5a48051932f1017a6e1bc9b18f854d0 git Not specified
CNA Linux Linux affected ae8f8d30d334bad5b1b3cdb1eb8a0b771f55e432 b053fcd8912f06c30f932f5b8ec41c72de474695 git Not specified
CNA Linux Linux affected 4a758e9a1f5ed722f83c4dd35f867fe811553bcb cd98837db15f323463b8df07282ac723bd5c3fed git Not specified
CNA Linux Linux affected 9b1dbd69ba6f8f8c69bc7b77c2ce3b9c6ed05ba6 7c71a9522555ff137a9ca36b15d759ca04d84788 git Not specified
CNA Linux Linux affected 9b1dbd69ba6f8f8c69bc7b77c2ce3b9c6ed05ba6 88fe2e3658726cb21ff2dcf9770bf672f9b9d31b git Not specified
CNA Linux Linux affected c2f64e05a0587a83ec42dbd6b7a7ded79b2ff694 git Not specified
CNA Linux Linux affected 5.10.253 5.10.259 semver Not specified
CNA Linux Linux affected 6.1.167 6.1.176 semver Not specified
CNA Linux Linux affected 6.6.130 6.6.143 semver Not specified
CNA Linux Linux affected 6.12.78 6.12.94 semver Not specified
CNA Linux Linux affected 6.18.19 6.18.36 semver Not specified
CNA Linux Linux affected 6.19.9 6.20 semver Not specified
CNA Linux Linux affected 7.0 Not specified
CNA Linux Linux unaffected 7.0 semver Not specified
CNA Linux Linux unaffected 5.10.259 5.10.* semver Not specified
CNA Linux Linux unaffected 6.1.176 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.143 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.94 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.36 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.13 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/d68b621bb5a48051932f1017a6e1bc9b18f854d0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7c71a9522555ff137a9ca36b15d759ca04d84788 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b053fcd8912f06c30f932f5b8ec41c72de474695 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cac5bf3500ee6422cf64e0df0b5daeecfed42917 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cd98837db15f323463b8df07282ac723bd5c3fed 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d842f26a167e77a36f3ed333b9fa99d36ef99fe6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/88fe2e3658726cb21ff2dcf9770bf672f9b9d31b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report