{"id":"CVE-2026-74503","aliases":["CVE-2026-74503"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: timer: Clear SNDRV_TIMER_IFLG_DEAD once the close completes","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: timer: Clear SNDRV_TIMER_IFLG_DEAD once the close completes\n\nsnd_timer_close_locked() marks an instance with SNDRV_TIMER_IFLG_DEAD\nand returns early when the flag is already set, but the flag is never\ncleared again.  A completed close ends in remove_slave_links(), which\nleaves timeri->timer NULL, so a second close is already harmless through\nthe timer == NULL path; the early return can only be reached by an\ninstance that was opened again in between.  For such an instance the\nclose unlinks nothing, so snd_timer_instance_free() frees an object that\nis still on timer->open_list_head, still on snd_timer_master_list if it\nwas opened with a slave key, still owns any adopted slaves, and still\nholds its timer and module references.\n\nsnd_seq_timer_open() reopens an instance exactly like that: it retries\nits fallback open on the same object after a failure that has already\nrun snd_timer_close_locked() internally.  An unprivileged user with\naccess to /dev/snd/timer and /dev/snd/seq can force that failure, since\nsnd_timer_check_master() returns -EBUSY when a pending slave matches the\nnew master's (slave_class, slave_id) key and the target timer has\nreached max_instances, and SNDRV_TIMER_IOCTL_SELECT with dev_class =\nSNDRV_TIMER_CLASS_SLAVE keeps the caller-supplied dev_sclass, so a\nsequencer queue's key can be forged.  The freed instance is afterwards\ndereferenced by any further snd_timer_open() on that timer, by\nsnd_timer_check_slave(), and by /proc/asound/timers, which faults on the\nstale ti->owner pointer.\n\nThe flag only has to be visible while the close is in progress, which is\nall its other users need.  Clear it in remove_slave_links(), under the\nsame timer->lock that sets it, once the instance is off every list.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: timer: Clear SNDRV_TIMER_IFLG_DEAD once the close completes\n\nsnd_timer_close_locked() marks an instance with SNDRV_TIMER_IFLG_DEAD\nand returns early when the flag is already set, but the flag is never\ncleared again.  A completed close ends in remove_slave_links(), which\nleaves timeri->timer NULL, so a second close is already harmless through\nthe timer == NULL path; the early return can only be reached by an\ninstance that was opened again in between.  For such an instance the\nclose unlinks nothing, so snd_timer_instance_free() frees an object that\nis still on timer->open_list_head, still on snd_timer_master_list if it\nwas opened with a slave key, still owns any adopted slaves, and still\nholds its timer and module references.\n\nsnd_seq_timer_open() reopens an instance exactly like that: it retries\nits fallback open on the same object after a failure that has already\nrun snd_timer_close_locked() internally.  An unprivileged user with\naccess to /dev/snd/timer and /dev/snd/seq can force that failure, since\nsnd_timer_check_master() returns -EBUSY when a pending slave matches the\nnew master's (slave_class, slave_id) key and the target timer has\nreached max_instances, and SNDRV_TIMER_IOCTL_SELECT with dev_class =\nSNDRV_TIMER_CLASS_SLAVE keeps the caller-supplied dev_sclass, so a\nsequencer queue's key can be forged.  The freed instance is afterwards\ndereferenced by any further snd_timer_open() on that timer, by\nsnd_timer_check_slave(), and by /proc/asound/timers, which faults on the\nstale ti->owner pointer.\n\nThe flag only has to be visible while the close is in progress, which is\nall its other users need.  Clear it in remove_slave_links(), under the\nsame timer->lock that sets it, once the instance is off every list.","source":"cvelist"}],"published":"2026-08-15T12:27:28.208Z","modified":"2026-10-16T20:17:32.927Z","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":[],"affected":[{"ranges":[{"type":"git","introduced":"586b219a22b1032b28b8bd356b963276c5e5bf53","fixed":"bb016091010ec401a06e6bdace0cd944ee03d371","status":"affected"},{"type":"git","introduced":"f46093dd22969037beb1fce2e043f3236be41c92","fixed":"a26a2e52736f9e39843ca66a2e1ce6bf1adbcd1e","status":"affected"},{"type":"git","introduced":"da3039e91d1f835874ed6e9a33ea19ee80c2cb92","fixed":"0c561fab50991df10b1e4daca25886c34a2a9c07","status":"affected"},{"type":"git","introduced":"da3039e91d1f835874ed6e9a33ea19ee80c2cb92","fixed":"c2744d5f3aea474513fd2298daecb94a952ce441","status":"affected"},{"type":"git","version":"60e73ab87b84bbd6bd7ddd1d16019a3a3705ab8f","status":"affected"},{"type":"semver","introduced":"6.12.94","fixed":"6.12.103","status":"affected"},{"type":"semver","introduced":"6.18.36","fixed":"6.18.44","status":"affected"},{"type":"semver","introduced":"7.0.13","fixed":"7.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","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/bb016091010ec401a06e6bdace0cd944ee03d371","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a26a2e52736f9e39843ca66a2e1ce6bf1adbcd1e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c561fab50991df10b1e4daca25886c34a2a9c07","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2744d5f3aea474513fd2298daecb94a952ce441","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:58:23.278Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74503","url":"https://www.cve.org/CVERecord?id=CVE-2026-74503","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:50.728Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74503","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74503","licence":"Public domain","modified":"2026-10-16T20:17:32.927Z"}],"updatedAt":"2026-11-25T22:59:33.237Z","epss":{"score":0.00129,"percentile":0.02719,"date":"2026-12-01T12:00:22.000Z"}}