Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 93d260ce43a81df579c98bee92b91316df9c1c57 before 42c3f856d13a91a0d4c302a0c6854813621136db; affected dae23c545eb5a2be3b27a82fd0f611894fb8ab69 before b1e8d40663997aacaa198f37ce6893e07aaba77a; affected efc86691e4d8083d9e380ea95042c2cf679f65fd before 6e6e471eef1d5d8cb056c7d364023fe048249204; affected efc86691e4d8083d9e380ea95042c2cf679f65fd before 59e1592d3c270ff4642d5d6dc55c545306eb0693; affected eae296065ede41a24040e6a7c909ec970f78b4eb; affected 0527a56cb327021cb73167cfddf0e49efa043500; affected 6.12.97 before 6.12.110; affected 6.18.40 before 6.18.52; affected 6.6.160 before 6.7; affected 7.1.5 before 7.2 |
| Linux / Linux | affected 7.2; unaffected 0 before 7.2; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.