CVE-2026-74504

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
17/08/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ALSA: seq: Fix division by zero in initialize_timer()<br /> <br /> A userspace-driven ALSA timer (SND_UTIMER) lets an unprivileged user set<br /> the backing snd_timer&amp;#39;s hardware resolution to an arbitrary 64-bit value<br /> via SNDRV_TIMER_IOCTL_CREATE. snd_utimer_create() only rejects zero.<br /> <br /> When such a timer is bound to a sequencer queue, initialize_timer()<br /> computes the tick period as<br /> <br /> tmr-&gt;ticks = 1000000000 / (r * freq);<br /> <br /> where r is that user-controlled resolution and freq is the sequencer<br /> update rate in Hz, clamped to MIN_FREQUENCY..MAX_FREQUENCY (10..6250).<br /> A resolution of 2^63 makes the 64-bit product r * freq wrap to zero for<br /> any even freq, including DEFAULT_FREQUENCY (1000), so the division faults<br /> with a divide-by-zero.<br /> <br /> The division runs under tmr-&gt;lock with interrupts disabled, so the oops<br /> leaves the spinlock held and hangs the CPU. It is reachable by an<br /> unprivileged user with access to /dev/snd/timer and /dev/snd/seq.<br /> <br /> Oops: divide error: 0000 [#1] SMP KASAN PTI<br /> CPU: 7 UID: 1000 PID: 456 Comm: alsa_seq_utimer Not tainted 7.2.0-rc4+<br /> RIP: 0010:initialize_timer.constprop.0+0x20a/0x2d0<br /> snd_seq_timer_start+0x15e/0x2b0<br /> snd_seq_control_queue+0x56f/0xba0<br /> snd_seq_write+0x3e0/0x730<br /> <br /> Reject an overflowing product with check_mul_overflow() and fall back to<br /> a single tick, which also avoids feeding a wrapped-but-nonzero divisor<br /> (e.g. 2^63 * 1000 mod 2^64 == 0, or other resolutions wrapping to a small<br /> value) into the period computation.

Impact