# CVE-2026-74278: ALSA: seq: Fix kernel heap address leak in bounce_error_event()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-15T05:57:49.475Z
- Modified: 2026-10-30T13:19:54.240Z
- Assigned by: Linux

## Description

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

ALSA: seq: Fix kernel heap address leak in bounce_error_event()

The comment above bounce_error_event() documents that user clients
should receive SNDRV_SEQ_EVENT_BOUNCE with the original event embedded
as variable-length data, while kernel clients should receive
SNDRV_SEQ_EVENT_KERNEL_ERROR with a quoted kernel pointer.

However, the implementation unconditionally uses
SNDRV_SEQ_EVENT_KERNEL_ERROR with data.quote.event set to the raw
struct snd_seq_event pointer for all clients.  When a bounce error
event is delivered to a USER_CLIENT via snd_seq_read(), the kernel
heap address in data.quote.event is exposed to userspace through
copy_to_user() in the fixed-length branch.

This is a distinct leak path from the one addressed by commit
705dd6dcbc0e ("ALSA: seq: Clear variable event pointer on read"),
which sanitizes data.ext.ptr in the variable-length branch of
snd_seq_read().  The bounce_error_event() leak uses fixed-length
events that take the else branch where no sanitization occurs.

Differentiate the bounce event by client type.  For USER_CLIENT,
send SNDRV_SEQ_EVENT_BOUNCE with SNDRV_SEQ_EVENT_LENGTH_VARIABLE
and data.ext pointing to the original event.  The variable-length
path in snd_seq_event_dup() copies the event data into chained
cells, and snd_seq_expand_var_event() copies only the content --
never the pointer -- to userspace.  For KERNEL_CLIENT, keep the
existing SNDRV_SEQ_EVENT_KERNEL_ERROR behavior with the quoted
pointer.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 05e2358fec8812c37516ccea63bc4b9956d864ba; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before eae296065ede41a24040e6a7c909ec970f78b4eb; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 93d260ce43a81df579c98bee92b91316df9c1c57; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before dae23c545eb5a2be3b27a82fd0f611894fb8ab69; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0527a56cb327021cb73167cfddf0e49efa043500; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before efc86691e4d8083d9e380ea95042c2cf679f65fd; 2.6.12 (not affected: before 2.6.12; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/05e2358fec8812c37516ccea63bc4b9956d864ba>
- <https://git.kernel.org/stable/c/eae296065ede41a24040e6a7c909ec970f78b4eb>
- <https://git.kernel.org/stable/c/93d260ce43a81df579c98bee92b91316df9c1c57>
- <https://git.kernel.org/stable/c/dae23c545eb5a2be3b27a82fd0f611894fb8ab69>
- <https://git.kernel.org/stable/c/0527a56cb327021cb73167cfddf0e49efa043500>
- <https://git.kernel.org/stable/c/efc86691e4d8083d9e380ea95042c2cf679f65fd>

## Sources

- CVE List: [CVE-2026-74278](https://www.cve.org/CVERecord?id=CVE-2026-74278), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-74278](https://nvd.nist.gov/vuln/detail/CVE-2026-74278), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-74278 · Whole record: https://cve.day/CVE-2026-74278.json · Rebuilt by cve.day 2026-11-25T22:59:33.155Z
