Skip to contentSkip to conversation

CVE-2026-90220: ALSA: seq: Don't leak the extension cell pointer in the bounce payload

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

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: Don't leak the extension cell pointer in the bounce payload

The bounce_error_event() embeds the failed event in the bounce payload by pointing data.ext.ptr at it. When that event is a queued variable-length event, its own data.ext.ptr holds the address of its first extension cell, put there by snd_seq_event_dup(). The payload goes out verbatim through snd_seq_expand_var_event(), so the address reaches userspace.

That is the same address commit 705dd6dcbc0e ("ALSA: seq: Clear variable event pointer on read") removed from the event header. The read path still clears it there, just above the call that expands the payload.

Embed a sanitised copy instead, treated exactly as snd_seq_read() treats the header. A stack copy is enough because delivery is synchronous and snd_seq_event_dup() copies before returning.

An unprivileged client reaches this by setting SNDRV_SEQ_FILTER_BOUNCE, queueing a variable-length event to a port that does not exist and reading the bounce back. Eight bytes on 64-bit, from its own pool.

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

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

	Issue introduced in 6.12.97 with commit 93d260ce43a81df579c98bee92b91316df9c1c57 and fixed in 6.12.110 with commit 42c3f856d13a91a0d4c302a0c6854813621136db
	Issue introduced in 6.18.40 with commit dae23c545eb5a2be3b27a82fd0f611894fb8ab69 and fixed in 6.18.52 with commit b1e8d40663997aacaa198f37ce6893e07aaba77a
	Issue introduced in 7.2 with commit efc86691e4d8083d9e380ea95042c2cf679f65fd and fixed in 7.2.6 with commit 6e6e471eef1d5d8cb056c7d364023fe048249204
	Issue introduced in 7.2 with commit efc86691e4d8083d9e380ea95042c2cf679f65fd and fixed in 7.3-rc1 with commit 59e1592d3c270ff4642d5d6dc55c545306eb0693
	Issue introduced in 7.1.5 with commit 0527a56cb327021cb73167cfddf0e49efa043500

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-90220

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_clientmgr.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/42c3f856d13a91a0d4c302a0c6854813621136db
	https://git.kernel.org/stable/c/b1e8d40663997aacaa198f37ce6893e07aaba77a
	https://git.kernel.org/stable/c/6e6e471eef1d5d8cb056c7d364023fe048249204
	https://git.kernel.org/stable/c/59e1592d3c270ff4642d5d6dc55c545306eb0693