CVE-2026-31482

s390/entry: Scrub r12 register on kernel entry

State
Published
Severity
Not scored
Published
Apr 22, 2026
Updated
May 11, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 to before a58d298a83a3a9b7ca99ded9d60a1e77231159efAffected
  • f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 to before 95c899cd791803a5bf7b73e5994fbbe1cc1a9c36Affected
  • f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 to before 7f4e3233faa8470dd0627bc49b2809f2bfebd909Affected
  • f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 to before 99a8b420f3f0e162eb9c9c9253929d4d23f9bd30Affected
  • f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 to before 0738d395aab8fae3b5a3ad3fc640630c91693c27Affected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.131 through 6.6.*Not affected
  • 6.12.80 through 6.12.*Not affected
  • 6.18.21 through 6.18.*Not affected
  • 6.19.11 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.