{"id":"CVE-2026-74261","title":"ALSA: seq: avoid stale FIFO cells during resize","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: seq: avoid stale FIFO cells during resize\n\nsnd_seq_fifo_resize() still needs to publish the replacement pool\nbefore it waits for FIFO users. A blocking snd_seq_re…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 2d7d54002e396c180db0c800c1046f0a3c471597 < ae429220c7f9747579bc4682c574585230e971cc","Linux >= 2d7d54002e396c180db0c800c1046f0a3c471597 < dcf784abee6df2f5c47e36a1d9e400065993bc04","Linux >= 2d7d54002e396c180db0c800c1046f0a3c471597 < 98a965cb1e767b54b6bbd831b6cea26f521a8f51","Linux >= 2d7d54002e396c180db0c800c1046f0a3c471597 < 1c4c35fb68d520241f7d9f1c356b5e2370fd8364","Linux >= 2d7d54002e396c180db0c800c1046f0a3c471597 < e546128291f8d688dcb931827e2efd2aa6c0734d","Linux df7a2d0af9f7ab73cf22a7b62bbc0bad93a02110","Linux 28e0ebdd57cd3287ac821068364b74c70af3861c","Linux d4b8e8a32d74052fe292618ae19f794944ddc673","Linux e91325f27c4d98d1088e9e86b3ab475f752eeb80","Linux 9ebfed203c0d93449a074c5c2fd5bb3e58518f0d","Linux 3492352e1f34673708fa7409b4b1d97545aa2f1c","Linux a90d7447e4a154ad26e3b9e09a0878680be49339","Linux 74a2c1ff88a4e0960623d17f7db56ac5a60bb0cf","Linux c36ef6467420f8982e6d4d6f93d0634a85a5ee45","Linux >= 3.2.91 < 3.3","Linux >= 3.10.107 < 3.11","Linux >= 3.12.73 < 3.13","Linux >= 3.16.46 < 3.17","Linux >= 3.18.50 < 3.19","Linux >= 4.1.40 < 4.2","Linux >= 4.4.60 < 4.5","Linux >= 4.9.21 < 4.10","Linux >= 4.10.9 < 4.11","Linux 4.11"],"published":"2026-08-15","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:45:10.790Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74261","references":[{"url":"https://git.kernel.org/stable/c/ae429220c7f9747579bc4682c574585230e971cc"},{"url":"https://git.kernel.org/stable/c/dcf784abee6df2f5c47e36a1d9e400065993bc04"},{"url":"https://git.kernel.org/stable/c/98a965cb1e767b54b6bbd831b6cea26f521a8f51"},{"url":"https://git.kernel.org/stable/c/1c4c35fb68d520241f7d9f1c356b5e2370fd8364"},{"url":"https://git.kernel.org/stable/c/e546128291f8d688dcb931827e2efd2aa6c0734d"}],"tags":["cve.org"],"epss":0.00203,"epssPercentile":0.09716,"ingestedAt":"2026-10-21T12:48:53.587Z","slug":"CVE-2026-74261","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nALSA: seq: avoid stale FIFO cells during resize\n\nsnd_seq_fifo_resize() still needs to publish the replacement pool\nbefore it waits for FIFO users. A blocking snd_seq_read() holds\nf->use_lock while it sleeps, so concurrent senders must be able to\nqueue to the new pool and wake that reader instead of failing against a\nclosing old pool.\n\nHowever, snd_seq_fifo_event_in() duplicates an event before it takes\nf->lock, and snd_seq_read() can dequeue a cell and later call\nsnd_seq_fifo_cell_putback() if copy_to_user() or\nsnd_seq_expand_var_event() fails. If resize swaps f->pool and detaches\noldhead in between, either path can relink an old-pool cell after the\nsnapshot. That stale cell sits outside the drained oldhead list, keeps\noldpool->counter elevated, and can leave snd_seq_pool_delete() waiting\nfor the retired pool to drain.\n\nKeep the existing swap-before-wait ordering in snd_seq_fifo_resize(),\nbut reject stale cells before any FIFO relink. Revalidate event-in cells\nunder f->lock and retry them against the published replacement pool, and\nfree stale putback cells instead of linking them back into the FIFO.\n\nThe buggy scenario involves two paths, with each column showing the\norder within that path:\n\nresize path:                    relink path:\n1. Allocate newpool.             1. Take f->use_lock.\n2. Swap f->pool to newpool and   2. Duplicate or dequeue an old-pool\n   detach oldhead.                  cell before oldpool closes.\n3. Mark oldpool closing and      3. Reach a later relink point after\n   wait for FIFO users.             resize published newpool.\n4. Free oldhead and delete       4. Relink the old-pool cell after\n   oldpool.                         resize detached oldhead.\n                                 5. Drop f->use_lock.\n\nThe reproducer reports a resize ioctl blocked in the expected pool\nteardown path:\n\nsignal: resize iteration=98 target_pool=4 exceeded 250ms\n        (elapsed=251ms)\ndiagnostic: resize_tid=651 wchan=snd_seq_pool_done\ndiagnostic: resize_tid=651 stack=\n  snd_seq_pool_done+0x5b/0x140\n  snd_seq_pool_delete+0x7a/0x90\n  snd_seq_fifo_resize+0x193/0x1e0\n  snd_seq_ioctl_set_client_pool+0x214/0x260\n  snd_seq_ioctl+0x119/0x540\n  __x64_sys_ioctl+0xd1/0x120\n  do_syscall_64+0xbb/0x2f0\n  entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nA second run with larger pools hit the same target path:\n\nsignal: resize iteration=32 target_pool=64 exceeded 250ms\n        (elapsed=251ms)\ndiagnostic: resize_tid=663 wchan=snd_seq_pool_done\ndiagnostic: resize_tid=663 stack=\n  snd_seq_pool_done+0x5b/0x140\n  snd_seq_pool_delete+0x7a/0x90\n  snd_seq_fifo_resize+0x193/0x1e0\n  snd_seq_ioctl_set_client_pool+0x214/0x260\n  snd_seq_ioctl+0x119/0x540\n  __x64_sys_ioctl+0xd1/0x120\n  do_syscall_64+0xbb/0x2f0\n  entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\n## Affected\n\n- `Linux >= 2d7d54002e396c180db0c800c1046f0a3c471597 < ae429220c7f9747579bc4682c574585230e971cc`\n- `Linux >= 2d7d54002e396c180db0c800c1046f0a3c471597 < dcf784abee6df2f5c47e36a1d9e400065993bc04`\n- `Linux >= 2d7d54002e396c180db0c800c1046f0a3c471597 < 98a965cb1e767b54b6bbd831b6cea26f521a8f51`\n- `Linux >= 2d7d54002e396c180db0c800c1046f0a3c471597 < 1c4c35fb68d520241f7d9f1c356b5e2370fd8364`\n- `Linux >= 2d7d54002e396c180db0c800c1046f0a3c471597 < e546128291f8d688dcb931827e2efd2aa6c0734d`\n- `Linux df7a2d0af9f7ab73cf22a7b62bbc0bad93a02110`\n- `Linux 28e0ebdd57cd3287ac821068364b74c70af3861c`\n- `Linux d4b8e8a32d74052fe292618ae19f794944ddc673`\n- `Linux e91325f27c4d98d1088e9e86b3ab475f752eeb80`\n- `Linux 9ebfed203c0d93449a074c5c2fd5bb3e58518f0d`\n- `Linux 3492352e1f34673708fa7409b4b1d97545aa2f1c`\n- `Linux a90d7447e4a154ad26e3b9e09a0878680be49339`\n- `Linux 74a2c1ff88a4e0960623d17f7db56ac5a60bb0cf`\n- `Linux c36ef6467420f8982e6d4d6f93d0634a85a5ee45`\n- `Linux >= 3.2.91 < 3.3`\n- `Linux >= 3.10.107 < 3.11`\n- `Linux >= 3.12.73 < 3.13`\n- `Linux >= 3.16.46 < 3.17`\n- `Linux >= 3.18.50 < 3.19`\n- `Linux >= 4.1.40 < 4.2`\n- `Linux >= 4.4.60 < 4.5`\n- `Linux >= 4.9.21 < 4.10`\n- `Linux >= 4.10.9 < 4.11`\n- `Linux 4.11`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}