# CVE-2026-74504: ALSA: seq: Fix division by zero in initialize\_timer()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-15T12:27:28.829Z
- **Modified:** 2026-08-17T06:19:46.953Z

## Who should check

- Anyone running Linux \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< d0e19932875746118e298b4c974f3b2d4aeb16fc; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 5260e195c53e898a4a76527d4bb2178f31795e78; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 42c6543ff27ea280334244458d4f52ec7133cc05; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 21e19688433452dfbbbe6b2bb670dea6eb92f0f6
- Anyone running Linux 6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: seq: Fix division by zero in initialize\_timer()

A userspace-driven ALSA timer (SND\_UTIMER) lets an unprivileged user set
the backing snd\_timer's hardware resolution to an arbitrary 64-bit value
via SNDRV\_TIMER\_IOCTL\_CREATE. snd\_utimer\_create() only rejects zero.

When such a timer is bound to a sequencer queue, initialize\_timer()
computes the tick period as

	tmr-\>ticks = 1000000000 / (r \* freq);

where r is that user-controlled resolution and freq is the sequencer
update rate in Hz, clamped to MIN\_FREQUENCY..MAX\_FREQUENCY (10..6250).
A resolution of 2^63 makes the 64-bit product r \* freq wrap to zero for
any even freq, including DEFAULT\_FREQUENCY (1000), so the division faults
with a divide-by-zero.

The division runs under tmr-\>lock with interrupts disabled, so the oops
leaves the spinlock held and hangs the CPU. It is reachable by an
unprivileged user with access to /dev/snd/timer and /dev/snd/seq.

  Oops: divide error: 0000 \[\#1\] SMP KASAN PTI
  CPU: 7 UID: 1000 PID: 456 Comm: alsa\_seq\_utimer Not tainted 7.2.0-rc4+
  RIP: 0010:initialize\_timer.constprop.0+0x20a/0x2d0
   snd\_seq\_timer\_start+0x15e/0x2b0
   snd\_seq\_control\_queue+0x56f/0xba0
   snd\_seq\_write+0x3e0/0x730

Reject an overflowing product with check\_mul\_overflow() and fall back to
a single tick, which also avoids feeding a wrapped-but-nonzero divisor
(e.g. 2^63 \* 1000 mod 2^64 == 0, or other resolutions wrapping to a small
value) into the period computation.

## Affected and fixed versions

- Linux: \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< d0e19932875746118e298b4c974f3b2d4aeb16fc; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 5260e195c53e898a4a76527d4bb2178f31795e78; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 42c6543ff27ea280334244458d4f52ec7133cc05; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 21e19688433452dfbbbe6b2bb670dea6eb92f0f6 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 21e19688433452dfbbbe6b2bb670dea6eb92f0f6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74504. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74504.md
Affected: Linux >= 37745918e0e7575bc40f38da93a99b9fa6406224, < d0e19932875746118e298b4c974f3b2d4aeb16fc; >= 37745918e0e7575bc40f38da93a99b9fa6406224, < 5260e195c53e898a4a76527d4bb2178f31795e78; >= 37745918e0e7575bc40f38da93a99b9fa6406224, < 42c6543ff27ea280334244458d4f52ec7133cc05; >= 37745918e0e7575bc40f38d…
Fixed in: Linux 5260e195c53e898a4a76527d4bb2178f31795e78, Linux 42c6543ff27ea280334244458d4f52ec7133cc05, Linux 21e19688433452dfbbbe6b2bb670dea6eb92f0f6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74504 being exploited?

There is no confirmed exploitation: CVE-2026-74504 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74504?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74504?

Linux \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< d0e19932875746118e298b4c974f3b2d4aeb16fc; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 5260e195c53e898a4a76527d4bb2178f31795e78; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 42c6543ff27ea280334244458d4f52ec7133cc05; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 21e19688433452dfbbbe6b2bb670dea6eb92f0f6; Linux 6.12.

### Is there a fix for CVE-2026-74504?

Yes. Fixed in Linux 5260e195c53e898a4a76527d4bb2178f31795e78, Linux 42c6543ff27ea280334244458d4f52ec7133cc05, Linux 21e19688433452dfbbbe6b2bb670dea6eb92f0f6. Upgrade Linux to 21e19688433452dfbbbe6b2bb670dea6eb92f0f6 or later.

### How do I check if I'm affected by CVE-2026-74504?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/d0e19932875746118e298b4c974f3b2d4aeb16fc>
- other: <https://git.kernel.org/stable/c/5260e195c53e898a4a76527d4bb2178f31795e78>
- other: <https://git.kernel.org/stable/c/42c6543ff27ea280334244458d4f52ec7133cc05>
- other: <https://git.kernel.org/stable/c/21e19688433452dfbbbe6b2bb670dea6eb92f0f6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74504>

HTML: <https://flawdb.com/CVE-2026-74504> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74504>
