Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69F97380FF4 for ; Sat, 15 Aug 2026 06:32:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775565; cv=none; b=e5i17dS4iBFdvs3oNio/Fa/lUObw6sHlxeCuJsARaCIQZ7MQ2hOt9nwLZoQuQPAP+vPM7qPlKFpa/lPZ0bmttiy8Xhvp2it+QeImR4SvyPqZAZnf4yeErnU3z4CxS4dXVAKaAvfMGTmztHdaYIjDoFGCt92+avNrWL9n+j5XpLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775565; c=relaxed/simple; bh=svxfGU7m+9yCysJZkThrLP/UZvdXFrCrI3BG+N0JbwQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Oc0OBu3G4LG7p4X/yhEHFL78koFLERGhS0nF7e9cJSZqTes1dK9DUfkJ3gg0pCFOhho5ZIGGsmDrkAd6hTxlX7JmnwHs7Z6XHW5hUwDXSMnNL9NXfLhv3LF03tE5iOGECrqrhMOROoLXuBKZKH00dEAy7cTcFkmmnlyj8bWVNxY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lxNPmGOE; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="lxNPmGOE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAEED1F000E9; Sat, 15 Aug 2026 06:32:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775564; bh=qq3nh1fkmuiIzvQXFQNQK/6bC8yiiQ1QwUhnaea9tF0=; h=From:To:Cc:Subject:Date:Reply-To; b=lxNPmGOEBcZ4WpkgGQ8+WAxTteQGDMkrBp2HSMotsIdfnWgox3GPqbXrRSp//uNc/ CAwNocPjVUimij2W9jCMU8Cxt7AzkkqPQb147k3il9HZ61Q7B8QgenBKt6zYUL6cjH qBwYTgJT3OoOLbDtf5gxBF7L2JfhCwd3PIlS8VxE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74278: ALSA: seq: Fix kernel heap address leak in bounce_error_event() Date: Sat, 15 Aug 2026 15:10:05 +0900 Message-ID: <2026081545-CVE-2026-74278-e7f4@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3665; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3RrGsp1olt+0MxiurIxkX8xbxcLr2cjmWKKcDASoVvw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjKyl1fs2B18Ifbl7vVCB/VSbspVyLGlT/B5Yz2ifV XZk7X+jjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiITB/Dgos8uXbSy875KW9Z rhvUdXSvl2mrM8P8tJVR/l7bXk1iMS2J2PFkmWVI/HY7AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-74278 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.97 with commit 93d260ce43a81df579c98bee92b91316df9c1c57 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.40 with commit dae23c545eb5a2be3b27a82fd0f611894fb8ab69 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1.5 with commit 0527a56cb327021cb73167cfddf0e49efa043500 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2-rc1 with commit efc86691e4d8083d9e380ea95042c2cf679f65fd 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-74278 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/93d260ce43a81df579c98bee92b91316df9c1c57 https://git.kernel.org/stable/c/dae23c545eb5a2be3b27a82fd0f611894fb8ab69 https://git.kernel.org/stable/c/0527a56cb327021cb73167cfddf0e49efa043500 https://git.kernel.org/stable/c/efc86691e4d8083d9e380ea95042c2cf679f65fd