CVE-2026-74503
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
16/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ALSA: timer: Clear SNDRV_TIMER_IFLG_DEAD once the close completes<br />
<br />
snd_timer_close_locked() marks an instance with SNDRV_TIMER_IFLG_DEAD<br />
and returns early when the flag is already set, but the flag is never<br />
cleared again. A completed close ends in remove_slave_links(), which<br />
leaves timeri->timer NULL, so a second close is already harmless through<br />
the timer == NULL path; the early return can only be reached by an<br />
instance that was opened again in between. For such an instance the<br />
close unlinks nothing, so snd_timer_instance_free() frees an object that<br />
is still on timer->open_list_head, still on snd_timer_master_list if it<br />
was opened with a slave key, still owns any adopted slaves, and still<br />
holds its timer and module references.<br />
<br />
snd_seq_timer_open() reopens an instance exactly like that: it retries<br />
its fallback open on the same object after a failure that has already<br />
run snd_timer_close_locked() internally. An unprivileged user with<br />
access to /dev/snd/timer and /dev/snd/seq can force that failure, since<br />
snd_timer_check_master() returns -EBUSY when a pending slave matches the<br />
new master&#39;s (slave_class, slave_id) key and the target timer has<br />
reached max_instances, and SNDRV_TIMER_IOCTL_SELECT with dev_class =<br />
SNDRV_TIMER_CLASS_SLAVE keeps the caller-supplied dev_sclass, so a<br />
sequencer queue&#39;s key can be forged. The freed instance is afterwards<br />
dereferenced by any further snd_timer_open() on that timer, by<br />
snd_timer_check_slave(), and by /proc/asound/timers, which faults on the<br />
stale ti->owner pointer.<br />
<br />
The flag only has to be visible while the close is in progress, which is<br />
all its other users need. Clear it in remove_slave_links(), under the<br />
same timer->lock that sets it, once the instance is off every list.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH


