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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **Published:** 2026-04-22T13:54:08.888Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< a58d298a83a3a9b7ca99ded9d60a1e77231159ef; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 95c899cd791803a5bf7b73e5994fbbe1cc1a9c36; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 7f4e3233faa8470dd0627bc49b2809f2bfebd909; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 99a8b420f3f0e162eb9c9c9253929d4d23f9bd30; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 0738d395aab8fae3b5a3ad3fc640630c91693c27
- Anyone running Linux 6.4

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

## Affected and fixed versions

- Linux: \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< a58d298a83a3a9b7ca99ded9d60a1e77231159ef; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 95c899cd791803a5bf7b73e5994fbbe1cc1a9c36; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 7f4e3233faa8470dd0627bc49b2809f2bfebd909; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 99a8b420f3f0e162eb9c9c9253929d4d23f9bd30; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 0738d395aab8fae3b5a3ad3fc640630c91693c27 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 0738d395aab8fae3b5a3ad3fc640630c91693c27 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31482. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31482.md
Affected: Linux >= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, < a58d298a83a3a9b7ca99ded9d60a1e77231159ef; >= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, < 95c899cd791803a5bf7b73e5994fbbe1cc1a9c36; >= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, < 7f4e3233faa8470dd0627bc49b2809f2bfebd909; >= f33f2d4c7c80c641f6ca3df…
Fixed in: Linux 95c899cd791803a5bf7b73e5994fbbe1cc1a9c36, Linux 7f4e3233faa8470dd0627bc49b2809f2bfebd909, Linux 99a8b420f3f0e162eb9c9c9253929d4d23f9bd30, Linux 0738d395aab8fae3b5a3ad3fc640630c91693c27

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31482 being exploited?

There is no confirmed exploitation: CVE-2026-31482 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31482?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31482?

Linux \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< a58d298a83a3a9b7ca99ded9d60a1e77231159ef; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 95c899cd791803a5bf7b73e5994fbbe1cc1a9c36; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 7f4e3233faa8470dd0627bc49b2809f2bfebd909; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 99a8b420f3f0e162eb9c9c9253929d4d23f9bd30; \>= f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780, \< 0738d395aab8fae3b5a3ad3fc640630c91693c27; Linux 6.4.

### Is there a fix for CVE-2026-31482?

Yes. Fixed in Linux 95c899cd791803a5bf7b73e5994fbbe1cc1a9c36, Linux 7f4e3233faa8470dd0627bc49b2809f2bfebd909, Linux 99a8b420f3f0e162eb9c9c9253929d4d23f9bd30, Linux 0738d395aab8fae3b5a3ad3fc640630c91693c27. Upgrade Linux to 0738d395aab8fae3b5a3ad3fc640630c91693c27 or later.

### How do I check if I'm affected by CVE-2026-31482?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31482>

HTML: <https://flawdb.com/CVE-2026-31482> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31482>
