{"id":"CVE-2026-68202","aliases":["CVE-2026-68202"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: seq: close a re-opened queue timer in the destructor","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-08-10T12:00:21.279Z","modified":"2026-11-30T16:13:21.673Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"b7feeaca1f53b10df9b4de9eaf611767ca70dc92","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"7478ef94b49bc9789cf1a003deec58b42283dde4","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"9d9be6fc30f384f92c4e1b8ed40bd9d4796b7833","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"fb40d03ed792a8a8bf77aa0ee15df57b0ff78b07","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"24f0cabf173539f048946c8fc221131dc221f277","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"6a10025c7fd09a7d2af37a3ae1da188569fce470","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"31a6163e301d832060f8236f1ed17cbc1ca198df","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2c4dc0ed50b05cd847a4b34b8cebf0775f19aeb9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.10.266","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.217","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b7feeaca1f53b10df9b4de9eaf611767ca70dc92","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7478ef94b49bc9789cf1a003deec58b42283dde4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d9be6fc30f384f92c4e1b8ed40bd9d4796b7833","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb40d03ed792a8a8bf77aa0ee15df57b0ff78b07","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24f0cabf173539f048946c8fc221131dc221f277","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a10025c7fd09a7d2af37a3ae1da188569fce470","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31a6163e301d832060f8236f1ed17cbc1ca198df","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c4dc0ed50b05cd847a4b34b8cebf0775f19aeb9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:45:51.106Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68202","url":"https://www.cve.org/CVERecord?id=CVE-2026-68202","licence":"CVE Terms of Use","modified":"2026-10-19T20:58:57.086Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68202","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68202","licence":"Public domain","modified":"2026-11-30T16:13:21.673Z"}],"updatedAt":"2026-11-30T16:17:35.146Z","epss":{"score":0.00176,"percentile":0.04156,"date":"2026-11-30T12:00:22.000Z"}}