CVE-2026-31482
JSON

5.5medium

s390/entry: Scrub r12 register on kernel entry

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 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.0NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: s390/entry: Limpiar el registro r12 al entrar al kernel Antes del commit f33f2d4c7c80 (’s390/bp: remove TIF_ISOLATE_BP’), todos los manejadores de entrada cargaban r12 con el puntero de la tarea actual (lg %r12,__LC_CURRENT) para uso de las macros BPENTER/BPEXIT. Ese commit eliminó TIF_ISOLATE_BP, descartando tanto las macros de predicción de ramas como la carga de r12, pero no añadió r12 a la secuencia de limpieza de registros. Añadir el xgr %r12,%r12 faltante para hacer que la limpieza del registro sea consistente en todos los puntos de entrada.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31482 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-31482 changed 2026-11-11Public domain