Skip to contentSkip to conversation

CVE-2026-53241: ALSA: seq: dummy: fix UMP event stack overread

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

ALSA: seq: dummy: fix UMP event stack overread

The dummy sequencer port forwards events by copying an incoming struct snd_seq_event into a stack temporary, rewriting source and destination, and dispatching the temporary to subscribers. That legacy event storage is smaller than struct snd_seq_ump_event.

When a UMP event reaches the dummy client, the copy leaves the UMP flag set but only provides legacy-sized stack storage. The subscriber delivery path then uses snd_seq_event_packet_size() and copies a UMP-sized packet from that stack object, reading past the end of the temporary.

Use the existing union __snd_seq_event storage and copy the packet size reported for the incoming event before rewriting the common routing fields. This preserves the full UMP packet for UMP events while keeping legacy event handling unchanged.

The Linux kernel CVE team has assigned CVE-2026-53241 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.10 with commit 32cb23a0f911317cdb5030035e49a204aa86fef5 and fixed in 6.12.94 with commit a7ef78a2c536242ccb7a4429da01580b2409bb24
	Issue introduced in 6.10 with commit 32cb23a0f911317cdb5030035e49a204aa86fef5 and fixed in 6.18.36 with commit 6671a46144f880c5a167930ebb14c12f3d059fe9
	Issue introduced in 6.10 with commit 32cb23a0f911317cdb5030035e49a204aa86fef5 and fixed in 7.0.13 with commit 6676b6063440561db600494049ce7ffb695c8cc4
	Issue introduced in 6.10 with commit 32cb23a0f911317cdb5030035e49a204aa86fef5 and fixed in 7.1 with commit 2b5ff4db5d7aa5b981d966df02e687f79ad7b311

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53241

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
sound/core/seq/seq_dummy.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/a7ef78a2c536242ccb7a4429da01580b2409bb24
	https://git.kernel.org/stable/c/6671a46144f880c5a167930ebb14c12f3d059fe9
	https://git.kernel.org/stable/c/6676b6063440561db600494049ce7ffb695c8cc4
	https://git.kernel.org/stable/c/2b5ff4db5d7aa5b981d966df02e687f79ad7b311