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 D3A0C10A1E for ; Tue, 9 Dec 2025 00:03:31 +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=1765238611; cv=none; b=OoKv2eF8T/nojp63ZkV9g8mY+/x0xKpSQxDUUrvF1SwemOshZLI+guHxYy4h/UfjrTdFIP7PEsRiGP4wNyYaGKcc8Ff2muaDyUHkJuB2f0oiqVVDDdgmgv6PII4r4s0yZcMRNtObh1/AvTtZYkc9silB5XPBrVtaTmEK4tRDnNo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238611; c=relaxed/simple; bh=k+Q/JUoq20wL/Reu9RsHKPGfXjUhyjj+hKgxtX4CbX0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FQPwu9VMwLDuWr1ewC2W6+Tz3PK9/5LPvHyQe6tBaiqhSq306EPJgENE6H1NdMWppRWQkPwYgTC1sj1e1R128qS9FmfO1pq3PdS4gnrlM0NC27IxJUWzXq0PEXX2qPj9Ga+e21t3miXyYyq0PvvxziuR94UlJPvqIsNU9p8Vbxs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dZzAkwE1; 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="dZzAkwE1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E77D2C4CEF1; Tue, 9 Dec 2025 00:03:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238611; bh=k+Q/JUoq20wL/Reu9RsHKPGfXjUhyjj+hKgxtX4CbX0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=dZzAkwE1eix9LjZIgyqUSaTMkhEtjG9NZ3SZcb6b7kDpXXaCRQ4uKf+c8Ae28gsDF MDp0kG6nowwfD2es3yKnWhOptAQ8cZXZa9SIGJOiOJx/Wp3SF7KFioF6tjiL/cbw2/ cEOmGawWPsdfod74DWLmGNfd0uSypKDXijtwUi4I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53788: ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set() Date: Tue, 9 Dec 2025 09:02:09 +0900 Message-ID: <2025120940-CVE-2023-53788-e6a0@gregkh> X-Mailer: git-send-email 2.52.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=3254; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zmBdsGdfdxhMWlaNM0exXD+jL1+Hugzp1hZNK1xwQqM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmaU/+v6nlzvwVpL67LVzx7IyEZK4dyR3fw+pb5vDW7 EwvT0juiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImU1TLML7y/3sFJ+P17Zw4J JleNHzeX+PGKMswzrFi985XI4qO/p++wqXZRe65R8mwiAA== 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: hda/ca0132: fixup buffer overrun at tuning_ctl_set() tuning_ctl_set() might have buffer overrun at (X) if it didn't break from loop by matching (A). static int tuning_ctl_set(...) { for (i = 0; i < TUNING_CTLS_COUNT; i++) (A) if (nid == ca0132_tuning_ctls[i].nid) break; snd_hda_power_up(...); (X) dspio_set_param(..., ca0132_tuning_ctls[i].mid, ...); snd_hda_power_down(...); ^ return 1; } We will get below error by cppcheck sound/pci/hda/patch_ca0132.c:4229:2: note: After for loop, i has value 12 for (i = 0; i < TUNING_CTLS_COUNT; i++) ^ sound/pci/hda/patch_ca0132.c:4234:43: note: Array index out of bounds dspio_set_param(codec, ca0132_tuning_ctls[i].mid, 0x20, ^ This patch cares non match case. The Linux kernel CVE team has assigned CVE-2023-53788 to this issue. Affected and fixed versions =========================== Fixed in 4.14.312 with commit ff5e8b49348f6a550c136b74efaf8b3c1d3ceaea Fixed in 4.19.280 with commit 3590498117a11aa1f92a97e8a04d95320e347ebd Fixed in 5.4.240 with commit 7f12f99b8017ad5ed5aff4b0aefe3bb7bbdf8a99 Fixed in 5.10.177 with commit baef27176ea5fdc7ad0947e2dc7733855e35db71 Fixed in 5.15.106 with commit d23f65f08247068576a01e28b297e995b7dc3965 Fixed in 6.1.23 with commit 32854bc91ae7debcdefdc7ae881ed83385a04792 Fixed in 6.2.10 with commit 734a3deb6614e3597e7e9ef7fb6006c593c5ee18 Fixed in 6.3 with commit 98e5eb110095ec77cb6d775051d181edbf9cd3cf 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-53788 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/pci/hda/patch_ca0132.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/ff5e8b49348f6a550c136b74efaf8b3c1d3ceaea https://git.kernel.org/stable/c/3590498117a11aa1f92a97e8a04d95320e347ebd https://git.kernel.org/stable/c/7f12f99b8017ad5ed5aff4b0aefe3bb7bbdf8a99 https://git.kernel.org/stable/c/baef27176ea5fdc7ad0947e2dc7733855e35db71 https://git.kernel.org/stable/c/d23f65f08247068576a01e28b297e995b7dc3965 https://git.kernel.org/stable/c/32854bc91ae7debcdefdc7ae881ed83385a04792 https://git.kernel.org/stable/c/734a3deb6614e3597e7e9ef7fb6006c593c5ee18 https://git.kernel.org/stable/c/98e5eb110095ec77cb6d775051d181edbf9cd3cf