From mboxrd@z Thu Jan 1 00:00:00 1970 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 9FF8335AAB2 for ; Thu, 11 Sep 2025 16:53:34 +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=1757609614; cv=none; b=uqtvCui3chg2V7EQvzCirolcbqlfgtctAGAZPVxBt6d+Lu0yzGb810XJilO0H0GkyPM3lSctgAVXzNk7e0qE3LTb7tcMKMhKFd0Tn2qkYV+ECvKHGg3JWATeVnA6CWx2Auunmp54Y654hINHQ0NWASq7tPosUUt6G1nOyOZNc9w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757609614; c=relaxed/simple; bh=eNA+grH6vg/TlVl7iWmux0OxhovsGbjBWrMYzpxVAEM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kIjbi7YRADSvb7iBB7u7fhdaZOz9bygxq8rdSQArUEwUqlCNnG3MEFqnG/NZQJYT28Loa7mCoyaXDYP3rPE+2pKcx9N61XqB2pZTsez2T6zaBI4qkj4LeR3p5PZkUlDAWMgde0a3ZzAS9BLxbQ6hzCIutfEqxpBnxfyJAMvuijE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BkqbHQqu; 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="BkqbHQqu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C8C4C4CEFA; Thu, 11 Sep 2025 16:53:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757609614; bh=eNA+grH6vg/TlVl7iWmux0OxhovsGbjBWrMYzpxVAEM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BkqbHQquWJLCADQ4zih7p+kXb+ddmJtMs0SuPr8BwiTb6wOBTkwVu+u7UQvUZAXvI 13ZXt/fc8F5qCCH1ClRoEwP4zGuVh64nid4PU2sGOYe4ESFabJTHuuuP5Hge81+PnT wpm9k71YobyZy2Wxbw9BgPsvUq6fKBnEf2uh9vEE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39751: ALSA: hda/ca0132: Fix buffer overflow in add_tuning_control Date: Thu, 11 Sep 2025 18:52:52 +0200 Message-ID: <2025091142-CVE-2025-39751-c340@gregkh> X-Mailer: git-send-email 2.51.0 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=2871; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zqCDirR4TlvyZRYfQCuZ/qUP6pOcKIdiqE73kXYIEX0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmH/kUpre5sev2ScV/h3lNWGns+hm/mCxOZZCWqsPCOP iNHgGpWRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEbjPDfP8cz6XFl6ZX2jx5 pi7rX9F8euXPXoZ5Jh5mFuyx/x4cOf+Wa/HePGn2g4V8AA== 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: Fix buffer overflow in add_tuning_control The 'sprintf' call in 'add_tuning_control' may exceed the 44-byte buffer if either string argument is too long. This triggers a compiler warning. Replaced 'sprintf' with 'snprintf' to limit string lengths to prevent overflow. The Linux kernel CVE team has assigned CVE-2025-39751 to this issue. Affected and fixed versions =========================== Fixed in 5.4.297 with commit 04fa6f5e94034654da3505d9e908dd9090f0e83c Fixed in 5.10.241 with commit fb8116c38d67d6e23f3b5e34bbc8d9f8c12e81e5 Fixed in 5.15.190 with commit c2dacfe495b72699a9480c95f8eef2285042e474 Fixed in 6.1.149 with commit 86a024a5a521da362fb67a3a6a84f54331503326 Fixed in 6.6.103 with commit 0de69bc9b3661e16c4b08b34949529553906f5e1 Fixed in 6.12.43 with commit 417407cdf587e3ae41a0e728daa562ee88fc1bd6 Fixed in 6.15.11 with commit 195e4cec1007c34ddeb0ce61ef14ce9ab312544f Fixed in 6.16.2 with commit cf494138b9d7f78bcb510b9ea5f5faa6e882a7a3 Fixed in 6.17-rc1 with commit a409c60111e6bb98fcabab2aeaa069daa9434ca0 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-2025-39751 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/04fa6f5e94034654da3505d9e908dd9090f0e83c https://git.kernel.org/stable/c/fb8116c38d67d6e23f3b5e34bbc8d9f8c12e81e5 https://git.kernel.org/stable/c/c2dacfe495b72699a9480c95f8eef2285042e474 https://git.kernel.org/stable/c/86a024a5a521da362fb67a3a6a84f54331503326 https://git.kernel.org/stable/c/0de69bc9b3661e16c4b08b34949529553906f5e1 https://git.kernel.org/stable/c/417407cdf587e3ae41a0e728daa562ee88fc1bd6 https://git.kernel.org/stable/c/195e4cec1007c34ddeb0ce61ef14ce9ab312544f https://git.kernel.org/stable/c/cf494138b9d7f78bcb510b9ea5f5faa6e882a7a3 https://git.kernel.org/stable/c/a409c60111e6bb98fcabab2aeaa069daa9434ca0