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 BE6C93B27CF for ; Wed, 22 Apr 2026 13:56:07 +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=1776866167; cv=none; b=AGPTXUajnisvTOR8Z3f7aYgMjuA/ni5zsMBlUvdeza1qNSeTtg8P9sIrmDBLRuzwdLOC9RampUarn8I7H8iFYYdxKFHSG+/09g9141RvqaE4OsefULVhNkFDupgbCozI+1SHOzwmJ8be3H0ml5CxhICk0iHES5BxCMeswqqs2wg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866167; c=relaxed/simple; bh=MDY9uwZ6Sjg++fJXShc8LJTiXDh9OX01MMDtQSRzkWY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I4+1nacw2S0LvrWyN18e+ZWCbCtKIEwzSArUEIrXh6v6xh25hhvF0FfVFnCk4AwuYEthSZ5xH7Fq+vXzbkePEnfvtrc2J/P+ieFvFXW0dyt1ul+OaVz38VN4kqj46awJ2vFZEvg6yJcoB/6mOl5ZjeyonyQOf4b33QvlvOCzlvw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lUg6JaGN; 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="lUg6JaGN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14561C19425; Wed, 22 Apr 2026 13:56:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866167; bh=MDY9uwZ6Sjg++fJXShc8LJTiXDh9OX01MMDtQSRzkWY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=lUg6JaGNYQkFkhMiI20ZAsdai/5kzkC4G0VA4U9A2SZbqGDMsQ38s1n1ThxBEANmX Lpx90HvVV0bO2kDpFrci4+2YzFqE1nUVTQVB8Bg2i6Nx0tNSBvjpUVvmFOvdbyr3Fj goqtFfiZWZtVC6mtDjM4QaJse2DBhE+Irrz/jrls= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31482: s390/entry: Scrub r12 register on kernel entry Date: Wed, 22 Apr 2026 15:54:28 +0200 Message-ID: <2026042258-CVE-2026-31482-b482@gregkh> X-Mailer: git-send-email 2.54.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=2873; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CYvAbpczCQI13Rt1r5CZhVAGOxuARaRJ+Mz6Hhoy20E=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLn2bKF7sm2EfeFNo3R5VffmzOZXCi6KazlYwNrIyv jryWTu1I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbC78Uwv9r00KK3sZ5nrtz1 +njHa/GKyd4NrxjmcM2JkAxaco7jxYTdJ3kmlvzYr/fzAQA= 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: s390/entry: Scrub r12 register on kernel entry Before commit f33f2d4c7c80 ("s390/bp: remove TIF_ISOLATE_BP"), all entry handlers loaded r12 with the current task pointer (lg %r12,__LC_CURRENT) for use by the BPENTER/BPEXIT macros. That commit removed TIF_ISOLATE_BP, dropping both the branch prediction macros and the r12 load, but did not add r12 to the register clearing sequence. Add the missing xgr %r12,%r12 to make the register scrub consistent across all entry points. The Linux kernel CVE team has assigned CVE-2026-31482 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 and fixed in 6.6.131 with commit a58d298a83a3a9b7ca99ded9d60a1e77231159ef Issue introduced in 6.4 with commit f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 and fixed in 6.12.80 with commit 95c899cd791803a5bf7b73e5994fbbe1cc1a9c36 Issue introduced in 6.4 with commit f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 and fixed in 6.18.21 with commit 7f4e3233faa8470dd0627bc49b2809f2bfebd909 Issue introduced in 6.4 with commit f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 and fixed in 6.19.11 with commit 99a8b420f3f0e162eb9c9c9253929d4d23f9bd30 Issue introduced in 6.4 with commit f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 and fixed in 7.0 with commit 0738d395aab8fae3b5a3ad3fc640630c91693c27 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-2026-31482 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/s390/kernel/entry.S 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/a58d298a83a3a9b7ca99ded9d60a1e77231159ef https://git.kernel.org/stable/c/95c899cd791803a5bf7b73e5994fbbe1cc1a9c36 https://git.kernel.org/stable/c/7f4e3233faa8470dd0627bc49b2809f2bfebd909 https://git.kernel.org/stable/c/99a8b420f3f0e162eb9c9c9253929d4d23f9bd30 https://git.kernel.org/stable/c/0738d395aab8fae3b5a3ad3fc640630c91693c27