# CVE-2026-31482: s390/entry: Scrub r12 register on kernel entry

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-22T13:54:08.888Z
- Modified: 2026-11-11T23:10:00.263Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 before a58d298a83a3a9b7ca99ded9d60a1e77231159ef; from f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 before 95c899cd791803a5bf7b73e5994fbbe1cc1a9c36; from f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 before 7f4e3233faa8470dd0627bc49b2809f2bfebd909; from f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 before 99a8b420f3f0e162eb9c9c9253929d4d23f9bd30; from f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 before 0738d395aab8fae3b5a3ad3fc640630c91693c27; 6.4 (not affected: before 6.4; from 6.6.131 up to 6.6.*; from 6.12.80 up to 6.12.*; from 6.18.21 up to 6.18.*; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.4.1 before 6.6.131; from 6.7 before 6.12.80; from 6.13 before 6.18.21; from 6.19 before 6.19.11; 6.4; 7.0

## References

- <https://git.kernel.org/stable/c/a58d298a83a3a9b7ca99ded9d60a1e77231159ef> (patch)
- <https://git.kernel.org/stable/c/95c899cd791803a5bf7b73e5994fbbe1cc1a9c36> (patch)
- <https://git.kernel.org/stable/c/7f4e3233faa8470dd0627bc49b2809f2bfebd909> (patch)
- <https://git.kernel.org/stable/c/99a8b420f3f0e162eb9c9c9253929d4d23f9bd30> (patch)
- <https://git.kernel.org/stable/c/0738d395aab8fae3b5a3ad3fc640630c91693c27> (patch)

## Sources

- CVE List: [CVE-2026-31482](https://www.cve.org/CVERecord?id=CVE-2026-31482), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-31482](https://nvd.nist.gov/vuln/detail/CVE-2026-31482), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31482 · Whole record: https://cve.day/CVE-2026-31482.json · Rebuilt by cve.day 2026-11-25T22:59:19.284Z
