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 ECA70426EBE for ; Wed, 4 Feb 2026 16:19:53 +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=1770221994; cv=none; b=W4MgNOnZPI63yhFWBf+LWkrWJmKlBIsmpsZPaGA3Pg/DbP0k6t/90YkDm5POoJrWx55ef78NKu4Oz4seaVkINCMkpMWEd2sKbKOV5ILt8mG6OF63Tc0wMaGe8lRNOvi5WgvqSUShBMUeXAgI1gaevDGJzxR/ByIattT62EQRd/M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770221994; c=relaxed/simple; bh=qb0Qib+nSVkrlbsZhPgSo8GshYUFBzX8DngR7c7g5DM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=M6QpwswCmTozRtCRx7OYCbpTovZkIM9i8XlbBuN8qIn3TTxzERTXc8ehNiEoYHg+Nk/kJXc7BtWiocDvlzNrD9w9ZBoSwU2ZK2r/jRCZOh84V0dUknKtKIVBYGuGciNMpe4ppZixhxlcEYuIl5M5M8oz3BgRYJ5qDFeA89AKbW8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PElcuLIG; 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="PElcuLIG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3744CC4CEF7; Wed, 4 Feb 2026 16:19:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770221993; bh=qb0Qib+nSVkrlbsZhPgSo8GshYUFBzX8DngR7c7g5DM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=PElcuLIGcv/1SElgO1CHUYlm2R7yKiSSeDJoQx4XpNNiCiOqTYQYnbxdJOfaVYLPm PTDsNdu1bNpXIuCBMBGJnDvX3F7m6wPJU30gIcviawGpRACniXcrYWJ48OeiRSYH4C QXKIPBTao6fgLGJLhvlgH1B6KhpFr/H5EdLhVb6U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23078: ALSA: scarlett2: Fix buffer overflow in config retrieval Date: Wed, 4 Feb 2026 17:14:37 +0100 Message-ID: <2026020420-CVE-2026-23078-61cc@gregkh> X-Mailer: git-send-email 2.53.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=2784; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XkKcHkahjODMsAzJ1BVJ027MwfrNQbBu8jHM3gZg2Ms=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNBbE7nQX3nSibMGtKW/uizlLXO606ix7Ov/xxq0Wk9 IkZu2c6dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEdKIY5ru3sMuJbAiUlkuv 1tyj+jR10z1zNYa54gsvyhUvm7nf6d5ZxpPmjFyrjWTPAQA= 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: scarlett2: Fix buffer overflow in config retrieval The scarlett2_usb_get_config() function has a logic error in the endianness conversion code that can cause buffer overflows when count > 1. The code checks `if (size == 2)` where `size` is the total buffer size in bytes, then loops `count` times treating each element as u16 (2 bytes). This causes the loop to access `count * 2` bytes when the buffer only has `size` bytes allocated. Fix by checking the element size (config_item->size) instead of the total buffer size. This ensures the endianness conversion matches the actual element type. The Linux kernel CVE team has assigned CVE-2026-23078 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit ac34df733d2dfe3b553897a1e9e1a44414f09834 and fixed in 6.6.122 with commit 91a756d22f0482eac5bedb113c8922f90b254449 Issue introduced in 5.14 with commit ac34df733d2dfe3b553897a1e9e1a44414f09834 and fixed in 6.12.68 with commit 27049f50be9f5ae3a62d272128ce0b381cb26a24 Issue introduced in 5.14 with commit ac34df733d2dfe3b553897a1e9e1a44414f09834 and fixed in 6.18.8 with commit 31a3eba5c265a763260976674a22851e83128f6d Issue introduced in 5.14 with commit ac34df733d2dfe3b553897a1e9e1a44414f09834 and fixed in 6.19-rc7 with commit 6f5c69f72e50d51be3a8c028ae7eda42c82902cb 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-23078 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/91a756d22f0482eac5bedb113c8922f90b254449 https://git.kernel.org/stable/c/27049f50be9f5ae3a62d272128ce0b381cb26a24 https://git.kernel.org/stable/c/31a3eba5c265a763260976674a22851e83128f6d https://git.kernel.org/stable/c/6f5c69f72e50d51be3a8c028ae7eda42c82902cb