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 DC19CBA53 for ; Sun, 29 Dec 2024 11:30:15 +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=1735471816; cv=none; b=ELJFc/9XduEXmHx/Jzv4qbKxYR8NzBWx3czwbipzmlQ+rMLqA0OIbAO1oNgV20LRdife4OlNj/GzyBW+La1h0fZRFCjy71ywsc9Nu44PNgsyWReJ3dsPlyRSm9fWW9g/grQdPNMyDoyVdyUPKKSdmxsVXHS+z17Ts4D9mtX+9XA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735471816; c=relaxed/simple; bh=dqEbXDJYjE5GEfGRIV+O4AXunSB9iZCzfbJDW5dAI8M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B2QNGv70D85cXB7/MXdja1w6M1YvCEnZAn/klQWUP4ol3gIw8olbVidBdZhsvkw6s3e2uujmrBtEBYUvYV97KPVANcFuVTb/BAFrDqgWeXsIsLmHEeCPsix2SGV1rrnVGqWuFnUXVI6R9u4+YhCdQzfALiUpj1FUWj0ZHAhW1FY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Uuoo9O2P; 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="Uuoo9O2P" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3396C4CED1; Sun, 29 Dec 2024 11:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735471815; bh=dqEbXDJYjE5GEfGRIV+O4AXunSB9iZCzfbJDW5dAI8M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Uuoo9O2PfnSrdnGTM36+vUpToOdE0mFmWw5q87uqJENy3xeWkENvFS1mE/4b7vokb +1kuvWgsfVyRH3OGQc+L3N+854YeHqUk5FYIdX5kzT7TuLh20wPD+U/VUnmpp9f14x zI3YMw9gOcE99sCHa5jv8uDUMKOQS5il6xK2Vrco= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56721: x86/CPU/AMD: Terminate the erratum_1386_microcode array Date: Sun, 29 Dec 2024 12:29:22 +0100 Message-ID: <2024122922-CVE-2024-56721-aaac@gregkh> X-Mailer: git-send-email 2.47.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=2215; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dqEbXDJYjE5GEfGRIV+O4AXunSB9iZCzfbJDW5dAI8M=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFRpPYvjUYpIQY+DcltAo+mvBN1d6y0und3bdeqS2LN v+fNXVNRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExknh3DXFFBlbOPwiWaXpu8 2XtnVpfsNvlJXQwLplT6yAp+T5pXuLLe+fmTy1///J5yBwA= 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: x86/CPU/AMD: Terminate the erratum_1386_microcode array The erratum_1386_microcode array requires an empty entry at the end. Otherwise x86_match_cpu_with_stepping() will continue iterate the array after it ended. Add an empty entry to erratum_1386_microcode to its end. The Linux kernel CVE team has assigned CVE-2024-56721 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 29ba89f1895285f06c333546882e0c5ae9a6df23 and fixed in 6.11.11 with commit 82d6b82cf89d950982ac240ba068c3a7e1f23b0a Issue introduced in 6.10 with commit 29ba89f1895285f06c333546882e0c5ae9a6df23 and fixed in 6.12.2 with commit ccfee14f08b8699132b87bc6d78e0fa75bf094dd Issue introduced in 6.10 with commit 29ba89f1895285f06c333546882e0c5ae9a6df23 and fixed in 6.13-rc1 with commit ff6cdc407f4179748f4673c39b0921503199a0ad 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-56721 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: arch/x86/kernel/cpu/amd.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/82d6b82cf89d950982ac240ba068c3a7e1f23b0a https://git.kernel.org/stable/c/ccfee14f08b8699132b87bc6d78e0fa75bf094dd https://git.kernel.org/stable/c/ff6cdc407f4179748f4673c39b0921503199a0ad