{"id":"CVE-2026-68202","published":"2026-08-10T12:00:21Z","modified":"2026-10-19T20:58:57Z","title":"ALSA: seq: close a re-opened queue timer in the destructor","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: seq: close a re-opened queue timer in the destructor\n\nqueue_delete() closes the queue timer, then frees it. snd_seq_timer_close()\nclears q->timer->timeri. snd_use_lock_sync() then drains borrowers, and\nsnd_seq_timer_delete() frees q->timer.\n\nA borrower can re-open the timer inside that window. A SET_QUEUE_CLIENT\nthat took a queueptr() use_lock reference before the queue was unlinked\nruns snd_seq_timer_open() after the close. Open refuses re-open only while\ntimeri is set, and the close just cleared it, so it re-opens timeri.\n\nsnd_seq_timer_delete() does not close that instance. Its snd_seq_timer_stop()\nis a no-op, because running was cleared first. So it frees q->timer with the\ninstance still live. The queue is freed next.\n\nThe instance stays on the global timer with callback_data pointing at the\nfreed queue. A non-owner START on the unlocked queue arms it. The next tick\nderefs the freed queue in snd_seq_timer_interrupt().\n\nReachable by an unprivileged user with access to /dev/snd/seq. No CAP and\nno queue ownership required.\n\nClose any lingering instance in the destructor. There, ->timeri can no\nlonger change: the queue is unlinked and all use_lock borrowers have\ndrained, so no snd_seq_queue_use() can re-open it. Close it before clearing\nq->timer. snd_timer_close() waits for any in-flight snd_seq_timer_interrupt()\nto finish, and that callback still reads q->timer (via snd_seq_check_queue()),\nso q->timer must stay valid until it drains.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00177,"percentile":0.07421,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/b7feeaca1f53b10df9b4de9eaf611767ca70dc92","tags":[]},{"url":"https://git.kernel.org/stable/c/7478ef94b49bc9789cf1a003deec58b42283dde4","tags":[]},{"url":"https://git.kernel.org/stable/c/9d9be6fc30f384f92c4e1b8ed40bd9d4796b7833","tags":[]},{"url":"https://git.kernel.org/stable/c/fb40d03ed792a8a8bf77aa0ee15df57b0ff78b07","tags":[]},{"url":"https://git.kernel.org/stable/c/24f0cabf173539f048946c8fc221131dc221f277","tags":[]},{"url":"https://git.kernel.org/stable/c/6a10025c7fd09a7d2af37a3ae1da188569fce470","tags":[]},{"url":"https://git.kernel.org/stable/c/31a6163e301d832060f8236f1ed17cbc1ca198df","tags":[]},{"url":"https://git.kernel.org/stable/c/2c4dc0ed50b05cd847a4b34b8cebf0775f19aeb9","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.48},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b7feeaca1f53b10df9b4de9eaf611767ca70dc92",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7478ef94b49bc9789cf1a003deec58b42283dde4",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9d9be6fc30f384f92c4e1b8ed40bd9d4796b7833",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fb40d03ed792a8a8bf77aa0ee15df57b0ff78b07",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 24f0cabf173539f048946c8fc221131dc221f277",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6a10025c7fd09a7d2af37a3ae1da188569fce470",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 31a6163e301d832060f8236f1ed17cbc1ca198df",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2c4dc0ed50b05cd847a4b34b8cebf0775f19aeb9"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:45:51.106270Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-55303","exploited":false,"provenance":"source"}}