From mboxrd@z Thu Jan 1 00:00:00 1970 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 9C7CB448BB6 for ; Wed, 26 Aug 2026 14:41:26 +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=1787755290; cv=none; b=SJ7/KhOV9R9uUmSJfKtkb0xXadm3Hj2154ofan/g4pnQEiHk0RJZ/gRORSHbguHyEccna6dWW7qF5zJ7g1iX0tYr+M1C+IkiSqCNvDLUqq6CG2vyBr9FFbZC75kdWVf7mEWxeHtiV9O+bCV/U+2t9TgiPhxP1hzMXlAcgJfhu20= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755290; c=relaxed/simple; bh=Jiw+ShQFz6L8y8hO+IUA2MBtGoIYUl48Mks34CfXA8A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Oo+phbObXhl7DVJrNcAsmwkDVNCVcyd+oc56HC+Yg+uAzZZ4TGTUkEA98qAhAvbvuDsfeFfvNjoFRqKXFc88zBvw/xMe1ixLTqqq12EsM88ToPT1O/s4FBr9yOK2ETAodynTJgaeJg+XlrXXhtXFLr9wcvIs8y4ipEJfpJVANRA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eQmtEzSW; 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="eQmtEzSW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B46C81F00A3A; Wed, 26 Aug 2026 14:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755286; bh=CNNygLmfKXyOIo7uKq2SSYWdSx7RXgen3/yWlniV8Bc=; h=From:To:Cc:Subject:Date:Reply-To; b=eQmtEzSWaI+6J5vvxHKBU+ud6tUNPLVXwV/f/sP3F9kvdLcu/2JEURQP2NcMw9akN WnFqMXa60mHVee2BdDbw3WoOvhKkMCl6DulU0Ggb6840vEqTTToRlLdqm0WH9s3MZC XpKU9VLbTUkqLmxzaB81WOsbda2aH0LbfOgRoHK4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80583: ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses Date: Wed, 26 Aug 2026 16:38:19 +0200 Message-ID: <2026082615-CVE-2026-80583-f4d2@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=2559; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vCLtH9nOgEgQbEY5pyrW0R2ciXNBSVaP2Et5wQ0Hsrs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v6RP6xgYTHqf9PUlQ2ddvsj69kkLGfSEfBJW2+j9z 3i+b15XRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk9BTDghWz+ws/Ttn84VuR VF2SbAzL5LLtqQwLZr6XZTJ9zrZAJDNvC2fIx5rZZ+IvAAA= 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: ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses The "DEC0 MODE" to "DEC7 MODE" controls are enumerated, but tx_macro_dec_mode_get() and tx_macro_dec_mode_put() access their value through ucontrol->value.integer.value[0] (a long) instead of ucontrol->value.enumerated.item[0] (an unsigned int). This same pattern was fixed in the sibling drivers by commit bcfe5f76cc40 ("ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type") and commit 0ea5eff7c606 ("ASoC: codecs: va-macro: fix accessing array out of bounds for enum type"), but tx-macro was missed. On 64-bit kernels built with CONFIG_SND_CTL_DEBUG, the elem value sanity check catches the 4 bytes written past the enumerated item and every read of these controls fails with -EINVAL: snd-sm8250 sound: control 2:0:0:DEC0 MODE:0: access overflow The Linux kernel CVE team has assigned CVE-2026-80583 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit c39667ddcfc516fee084e449179d54430a558298 and fixed in 7.1.10 with commit 3ee3c26ceee562079596abc9bc3307dd56dab4ed Issue introduced in 5.12 with commit c39667ddcfc516fee084e449179d54430a558298 and fixed in 7.2 with commit 1ba381759e45d5d0442452cfa5c42e836191a568 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-80583 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/soc/codecs/lpass-tx-macro.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/3ee3c26ceee562079596abc9bc3307dd56dab4ed https://git.kernel.org/stable/c/1ba381759e45d5d0442452cfa5c42e836191a568