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 CBE4E18FC75 for ; Sat, 11 Jan 2025 15:05:44 +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=1736607944; cv=none; b=a9jVhmngnSi3zEVJ64I1M4EkM4gFsfvJCNwClMETbEGEJ9zlLLyxEGcTuX8wGrNvgbIuzgbcxRuaD6/AJuiMUUViMUM6gKgGZYd0IqTJjrX3MYmccYRbjtHmdjdNDCgGvHk3ynFtaN7vQMod5WP+zJegeDy6MEK3sl3XokHL384= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736607944; c=relaxed/simple; bh=z5OsYEIq7A4BMJJ+h7GLHqjCpcJH3/nn4Eix6/9/G+U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YiPQA2ebDNkyvC6dGCn70qTVXnEQv79yQrevpuhfasMJ6LjkhMJQdUbxcqy//W9rBnsCf+BSmIUcMnoiwco0xzHaEM0bmVFaUwOT5hDFovGYj1OG0T/izrUqp4qiMEuTwRxQY6wO5oWzBz1pPPggS4EA5YUuyowJcZzUWFOVsqw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zdQIMEmW; 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="zdQIMEmW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5CF7C4CED2; Sat, 11 Jan 2025 15:05:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1736607944; bh=z5OsYEIq7A4BMJJ+h7GLHqjCpcJH3/nn4Eix6/9/G+U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zdQIMEmWqNsiODsDNje8ZlfXaO7CKRn7XRO3XStQ3wZDDA15uQ3JXqfT3qdWUn7H2 JEKkyNnZ7/GYyz+Omy3tNsa0dHIUv8bOSMt0VGOtFu33oG0YmO1LsjDwaD9Py410VK ue2cR0x8X3uQ/vGEMV06rUS+IFSMSpqPlI4sAgTQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57880: ASoC: Intel: sof_sdw: Add space for a terminator into DAIs array Date: Sat, 11 Jan 2025 16:05:33 +0100 Message-ID: <2025011134-CVE-2024-57880-c009@gregkh> X-Mailer: git-send-email 2.48.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=2077; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=z5OsYEIq7A4BMJJ+h7GLHqjCpcJH3/nn4Eix6/9/G+U=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlNHftq3c2O7cmTii/qesPio3blw8r1M/rMPpgJJ16Ue Zw4OeBLRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwk1pZhDi9zeTV3+cFTVp/K T3zbt2pShJSEC8OC1Ya9xV9v9zrqMG19vmXOUlHVFGNzAA== 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: ASoC: Intel: sof_sdw: Add space for a terminator into DAIs array The code uses the initialised member of the asoc_sdw_dailink struct to determine if a member of the array is in use. However in the case the array is completely full this will lead to an access 1 past the end of the array, expand the array by one entry to include a space for a terminator. The Linux kernel CVE team has assigned CVE-2024-57880 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 27fd36aefa0013bea1cf6948e2e825e9b8cff97a and fixed in 6.12.6 with commit b21a849764a4111b0bc14a5ffe987a0582419de2 Issue introduced in 6.10 with commit 27fd36aefa0013bea1cf6948e2e825e9b8cff97a and fixed in 6.13-rc3 with commit 255cc582e6e16191a20d54bcdbca6c91d3e90c5e 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-2024-57880 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/soc/intel/boards/sof_sdw.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/b21a849764a4111b0bc14a5ffe987a0582419de2 https://git.kernel.org/stable/c/255cc582e6e16191a20d54bcdbca6c91d3e90c5e