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 4284C28BABC for ; Thu, 10 Jul 2025 08:16:17 +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=1752135378; cv=none; b=C9dSgCsefhDfBvXp+DO2z2UIRwWAcpdTpzuDwO5HkvknaF30s3uK6lzA3Od0+e8B8hFA3srQsC8q75LIDzOEf25CdjKxysAwiOUpEwCwkF0ZVCO9DNq147wDWd70YCc3YWCncYVaLKNnkR7XMliJp5Xozp8sbCTPaqlO1FCL0eU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752135378; c=relaxed/simple; bh=xvD4HHDKt2D3PXwr08uCpg7GQZUz9a5b4GciU/o9qlU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LNvEpj32ncroLtSH0d3Vo2uNkQN7wcrVQ/m83czdxZK4gPUSltLQhSw+S5j/J0rJod2LgWbZXHIyZqgNhX7b+//gxlvag1N5rU4D2vY36S6S8d6N1/lRjyUAIsCYOoggxSeW2UPWe8urEt+a/6vMkE7dBh3TpAFwhsNA7cxZ0Xk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uTBorFbI; 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="uTBorFbI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B08E1C4CEE3; Thu, 10 Jul 2025 08:16:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752135377; bh=xvD4HHDKt2D3PXwr08uCpg7GQZUz9a5b4GciU/o9qlU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=uTBorFbIFzbD78V0Jks9YG3I1EKIuHT0yZmPbMPmPBHHhU2cWJj1umGJ8qWbYHFS0 7dBtn3XrIr9Yx2PHSvoYlXAkv8zL8T4TC2k0zHYkrjizBMBzcbsNjqNqabLouNkino SPRq+Un+7bVDwSoEIeN7Q2v7QSywu6lxj0PB7b9c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38340: firmware: cs_dsp: Fix OOB memory read access in KUnit test Date: Thu, 10 Jul 2025 10:15:48 +0200 Message-ID: <2025071034-CVE-2025-38340-bd10@gregkh> X-Mailer: git-send-email 2.50.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=1774; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=O4d+NS3z8n7LJdU4hbm2hpOmbT4z5t2zGbHBzoq+xts=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5ZcsF/b9WfWTqf182NcvP790c31/GuimLlv84oGa2R oHnx8zLHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARVwOG+fmfj4T9iqu74SXm w7rCZtP/I69bfjIsWLSzVsLN+1fMi2Yz1e2aDfF35gbuAwA= 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: firmware: cs_dsp: Fix OOB memory read access in KUnit test KASAN reported out of bounds access - cs_dsp_mock_bin_add_name_or_info(), because the source string length was rounded up to the allocation size. The Linux kernel CVE team has assigned CVE-2025-38340 to this issue. Affected and fixed versions =========================== Fixed in 6.15.4 with commit 8f4cc454a0bb45b800bc7817c09c8f72e31901f3 Fixed in 6.16-rc1 with commit fe6446215bfad11cf3b446f38b28dc7708973c25 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-38340 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: drivers/firmware/cirrus/test/cs_dsp_mock_bin.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/8f4cc454a0bb45b800bc7817c09c8f72e31901f3 https://git.kernel.org/stable/c/fe6446215bfad11cf3b446f38b28dc7708973c25