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 2F8BE368288 for ; Tue, 16 Dec 2025 15:40:24 +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=1765899625; cv=none; b=l7MUHOonV7lcEPCBeCL7ecwdawROHeSpi8N+7rOc32BWJrp3azSkFkXSWZ19fzoe2wUAmsyA2+kJAx7XK2UubUEYLoHke9Gc+vMSv6sDHSqulf7WqkSFRFPLf1R5sL+l8buhfdtqF2lHLIHMdh8mQNcMU5QfeJNH3qoBdiypJaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765899625; c=relaxed/simple; bh=vKyS/LY67iUvyT9CcmfogeYS2psoHuAemlLjJ5nz5PE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=D7J+DVlCjFywcOv+dWV++0deug7pTDV/kI3o9JOWTFhMDKL8giJXAp62XoYltbqXxbKUlWANUXXvrhUlKqBGRKszeE/CbZ/6YplSa8qbObtpWMux66TFf3dOsd5WYKDOsi9H+g3nLPC07t+/lS2j1lI+6oEJGbRPy/0aofhU3gc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CD6qAy3a; 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="CD6qAy3a" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D8A0C4CEF1; Tue, 16 Dec 2025 15:40:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765899624; bh=vKyS/LY67iUvyT9CcmfogeYS2psoHuAemlLjJ5nz5PE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=CD6qAy3ax6YSz6I/FnftOY3lFsuerN/sTUHGmF6P2ca1YVZbV4prxlZqQwLlo7zLh 91guaXPFWDNYPIxsn5LxHLOu2y390OQ7TlSKUCWLLwTkuWqR+ndS21XFFtJOyDLlp1 VGZuepHLbjELIfLFgmY+6+xjbv09HqFIpa7nr0Jk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68313: x86/CPU/AMD: Add RDSEED fix for Zen5 Date: Tue, 16 Dec 2025 16:39:56 +0100 Message-ID: <2025121654-CVE-2025-68313-c65d@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=2086; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VkPetfT6qFZkkXqFkwcVmAjFBjli7+n1Zq0kCMnL564=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOtV6zlb966V9dGXdAc6H2fB7eqv4txRbVIYusxSXln 2ouXqDUEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPxCmeYZzctxfD/piulEU1v fwnmZ/wJb3mezzDf1X755r+fvnAqVLvsuZYV5l+zoekvAA== 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: x86/CPU/AMD: Add RDSEED fix for Zen5 There's an issue with RDSEED's 16-bit and 32-bit register output variants on Zen5 which return a random value of 0 "at a rate inconsistent with randomness while incorrectly signaling success (CF=1)". Search the web for AMD-SB-7055 for more detail. Add a fix glue which checks microcode revisions. [ bp: Add microcode revisions checking, rewrite. ] The Linux kernel CVE team has assigned CVE-2025-68313 to this issue. Affected and fixed versions =========================== Fixed in 6.12.58 with commit e980de2ff109dacb6d9d3a77f01b27c467115ecb Fixed in 6.17.8 with commit 36ff93e66d0efc46e39fab536a9feec968daa766 Fixed in 6.18 with commit 607b9fb2ce248cc5b633c5949e0153838992c152 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-68313 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/e980de2ff109dacb6d9d3a77f01b27c467115ecb https://git.kernel.org/stable/c/36ff93e66d0efc46e39fab536a9feec968daa766 https://git.kernel.org/stable/c/607b9fb2ce248cc5b633c5949e0153838992c152