Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1534A5D49A for ; Fri, 17 May 2024 14:27:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715956025; cv=none; b=tNCAGIjwsZhVaWWAkMJciohZwTYrKIghWEg+dS8n+vKkZQuzKj65efFsf2kzCznoqIpfMY7WFJp8075jn6p8UsU14QbuXBUBe58UXXLXYGeZFlsveGYRNt5dT+s+qWpflLS1g8LQSb/PCijNbs7q6uNc/qNAHCCk7X8VmJZyeSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715956025; c=relaxed/simple; bh=4Vm3bqqBO8X2Oi93FIdLsA4M1TINLwGJEzt82+V0Wl0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LJUK499Slbc0NAgpMuuan47AVdLRzwuRakbl0fYDW/G0RAW9jqFrJvCirDQQ6IQUgiGJtqAPBpRBz3Md2PKV0G7PD184PpiHg2vWGw6f55dmTVx2KRRJPNawsbqyTvPZ6a+JBUksyIRk0iemvb4zFhSxhSr50XXgXmyCiiZ5F6Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tfQUdMCQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tfQUdMCQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40D56C2BD10; Fri, 17 May 2024 14:27:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715956024; bh=4Vm3bqqBO8X2Oi93FIdLsA4M1TINLwGJEzt82+V0Wl0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=tfQUdMCQuBAs935sK+iFE6J6GAAHNq9GgqJHuZ6jGbqRmVbt2f1TQu+ZR9guCurTV gE7ZepSEIlN4VJIfqfP40LupYcRFf6E8t84TixU0aj8TdwknvTY9jV1CU5nAnvez7j xgUZ+T+5a/2zxifhBnyISrLAIrRt1NFq7eqzS9Hk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52674: ALSA: scarlett2: Add clamp() in scarlett2_mixer_ctl_put() Date: Fri, 17 May 2024 16:26:47 +0200 Message-ID: <2024051747-CVE-2023-52674-2aec@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2328; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4Vm3bqqBO8X2Oi93FIdLsA4M1TINLwGJEzt82+V0Wl0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnumepfb/x6fvWDhbre9LSzAs/qE5gi/vCL70/98OTU8 9DWIgaBjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI7kaG+QmF5bcXnT/zf1a7 wemsmR+FOli3VTEs2DR7h6HwlfpXky9WzNqaWpKqV2PeDQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ALSA: scarlett2: Add clamp() in scarlett2_mixer_ctl_put() Ensure the value passed to scarlett2_mixer_ctl_put() is between 0 and SCARLETT2_MIXER_MAX_VALUE so we don't attempt to access outside scarlett2_mixer_values[]. The Linux kernel CVE team has assigned CVE-2023-52674 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 9e4d5c1be21f and fixed in 5.15.148 with commit e517645ead5e Issue introduced in 5.4 with commit 9e4d5c1be21f and fixed in 6.1.75 with commit d8d8897d6506 Issue introduced in 5.4 with commit 9e4d5c1be21f and fixed in 6.6.14 with commit 03035872e178 Issue introduced in 5.4 with commit 9e4d5c1be21f and fixed in 6.7.2 with commit ad945ea8d47d Issue introduced in 5.4 with commit 9e4d5c1be21f and fixed in 6.8 with commit 04f8f053252b 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-2023-52674 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/usb/mixer_scarlett2.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/e517645ead5ea22c69d2a44694baa23fe1ce7c2b https://git.kernel.org/stable/c/d8d8897d65061cbe36bf2909057338303a904810 https://git.kernel.org/stable/c/03035872e17897ba89866940bbc9cefca601e572 https://git.kernel.org/stable/c/ad945ea8d47dd4454c271510bea24850119847c2 https://git.kernel.org/stable/c/04f8f053252b86c7583895c962d66747ecdc61b7