In the Linux kernel, the following vulnerability has been resolved:
ALSA: seq: avoid stale FIFO cells during resize
snd_seq_fifo_resize() still needs to publish the replacement pool before it waits for FIFO users. A blocking snd_seq_read() holds f->use_lock while it sleeps, so concurrent senders must be able to queue to the new pool and wake that reader instead of failing against a closing old pool.
However, snd_seq_fifo_event_in() duplicates an event before it takes f->lock, and snd_seq_read() can dequeue a cell and later call snd_seq_fifo_cell_putback() if copy_to_user() or snd_seq_expand_var_event() fails. If resize swaps f->pool and detaches oldhead in between, either path can relink an old-pool cell after the snapshot. That stale cell sits outside the drained oldhead list, keeps oldpool->counter elevated, and can leave snd_seq_pool_delete() waiting for the retired pool to drain.
Keep the existing swap-before-wait ordering in snd_seq_fifo_resize(), but reject stale cells before any FIFO relink. Revalidate event-in cells under f->lock and retry them against the published replacement pool, and free stale putback cells instead of linking them back into the FIFO.
The buggy scenario involves two paths, with each column showing the order within that path:
resize path: relink path: 1. Allocate newpool. 1. Take f->use_lock. 2. Swap f->pool to newpool and 2. Duplicate or dequeue an old-pool detach oldhead. cell before oldpool closes. 3. Mark oldpool closing and 3. Reach a later relink point after wait for FIFO users. resize published newpool. 4. Free oldhead and delete 4. Relink the old-pool cell after oldpool. resize detached oldhead. 5. Drop f->use_lock.
The reproducer reports a resize ioctl blocked in the expected pool teardown path:
signal: resize iteration=98 target_pool=4 exceeded 250ms (elapsed=251ms) diagnostic: resize_tid=651 wchan=snd_seq_pool_done diagnostic: resize_tid=651 stack= snd_seq_pool_done+0x5b/0x140 snd_seq_pool_delete+0x7a/0x90 snd_seq_fifo_resize+0x193/0x1e0 snd_seq_ioctl_set_client_pool+0x214/0x260 snd_seq_ioctl+0x119/0x540 __x64_sys_ioctl+0xd1/0x120 do_syscall_64+0xbb/0x2f0 entry_SYSCALL_64_after_hwframe+0x77/0x7f
A second run with larger pools hit the same target path:
signal: resize iteration=32 target_pool=64 exceeded 250ms (elapsed=251ms) diagnostic: resize_tid=663 wchan=snd_seq_pool_done diagnostic: resize_tid=663 stack= snd_seq_pool_done+0x5b/0x140 snd_seq_pool_delete+0x7a/0x90 snd_seq_fifo_resize+0x193/0x1e0 snd_seq_ioctl_set_client_pool+0x214/0x260 snd_seq_ioctl+0x119/0x540 __x64_sys_ioctl+0xd1/0x120 do_syscall_64+0xbb/0x2f0 entry_SYSCALL_64_after_hwframe+0x77/0x7f
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | No solution exists | Aug 20, 2026 | Aug 15, 2026 |
| Ubuntu | — | Upgrade linux-image-oracleUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-generic-hwe-26.04Upgrade linux-image-genericUpgrade linux-image-realtime-64k-7.0Upgrade linux-image-gcpUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-awsUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-azure-fde-lts-26.04Upgrade linux-image-generic-7.0Upgrade linux-image-7.0.0-1016-azure-fdeUpgrade linux-image-7.0.0-1008-gke-64kUpgrade linux-image-gcp-7.0Upgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-generic-64k-7.0Upgrade linux-image-virtualUpgrade linux-image-realtime-64kUpgrade linux-image-7.0.0-38-realtime-64kUpgrade linux-image-gke-hwe-26.04Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-aws-7.0Upgrade linux-image-realtimeUpgrade linux-image-azure-fde-7.0Upgrade linux-image-gkeUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-aws-64kUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-7.0.0-38-realtimeUpgrade linux-image-7.0.0-1014-aws-64kUpgrade linux-image-7.0.0-1017-azureUpgrade linux-image-oracle-64kUpgrade linux-image-virtual-7.0Upgrade linux-image-7.0.0-38-generic-64kUpgrade linux-image-oem-7.0Upgrade linux-image-oracle-7.0Upgrade linux-image-generic-64kUpgrade linux-image-virtual-hwe-26.04Upgrade linux-image-gcp-64kUpgrade linux-image-azure-lts-26.04Upgrade linux-image-azure-fdeUpgrade linux-image-realtime-7.0Upgrade linux-image-oem-26.04aUpgrade linux-image-ibmUpgrade linux-image-7.0.0-1015-ibmUpgrade linux-image-7.0.0-1013-oracleUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-7.0.0-38-genericUpgrade linux-image-ibm-7.0Upgrade linux-image-7.0.0-1014-awsUpgrade linux-image-7.0.0-1013-oracle-64kUpgrade linux-image-gke-7.0Upgrade linux-image-7.0.0-1015-oemUpgrade linux-image-7.0.0-1008-gkeUpgrade linux-image-gke-64kUpgrade linux-image-azure-7.0Upgrade linux-image-azureUpgrade linux-image-7.0.0-1014-gcp-64kUpgrade linux-image-gke-64k-7.0Upgrade linux-image-oem-26.04Upgrade linux-image-aws-64k-7.0Upgrade linux-image-7.0.0-1014-gcp | Oct 7, 2026 | Oct 6, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub