CVE-2026-31483: s390/syscalls: Add spectre boundary for syscall dispatch table
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
s390/syscalls: Add spectre boundary for syscall dispatch table
The s390 syscall number is directly controlled by userspace, but does not have an array_index_nospec() boundary to prevent access past the syscall function pointer tables.
The Linux kernel CVE team has assigned CVE-2026-31483 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.12 with commit 56e62a73702836017564eaacd5212e4d0fa1c01d and fixed in 5.15.203 with commit 3c3b97064764899c39a0abbd35a6caa031e70333 Issue introduced in 5.12 with commit 56e62a73702836017564eaacd5212e4d0fa1c01d and fixed in 6.1.168 with commit 1cb9c7bc9025c637564fabc7fcc3c9343949e310 Issue introduced in 5.12 with commit 56e62a73702836017564eaacd5212e4d0fa1c01d and fixed in 6.6.131 with commit 7a5260fbc6e79a1595328ec5c6aa3f937504a1f0 Issue introduced in 5.12 with commit 56e62a73702836017564eaacd5212e4d0fa1c01d and fixed in 6.12.80 with commit f8c444b918d639e1f9a621ee20fe481c1d10dfc4 Issue introduced in 5.12 with commit 56e62a73702836017564eaacd5212e4d0fa1c01d and fixed in 6.18.21 with commit 87776f02449e3bded95b2ccbd6b012e9ae64e6f3 Issue introduced in 5.12 with commit 56e62a73702836017564eaacd5212e4d0fa1c01d and fixed in 6.19.11 with commit 4d05dd18d867d58c6952a3bc260d244899da7256 Issue introduced in 5.12 with commit 56e62a73702836017564eaacd5212e4d0fa1c01d and fixed in 7.0 with commit 48b8814e25d073dd84daf990a879a820bad2bcbd
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-31483
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/syscall.c
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/3c3b97064764899c39a0abbd35a6caa031e70333 https://git.kernel.org/stable/c/1cb9c7bc9025c637564fabc7fcc3c9343949e310 https://git.kernel.org/stable/c/7a5260fbc6e79a1595328ec5c6aa3f937504a1f0 https://git.kernel.org/stable/c/f8c444b918d639e1f9a621ee20fe481c1d10dfc4 https://git.kernel.org/stable/c/87776f02449e3bded95b2ccbd6b012e9ae64e6f3 https://git.kernel.org/stable/c/4d05dd18d867d58c6952a3bc260d244899da7256 https://git.kernel.org/stable/c/48b8814e25d073dd84daf990a879a820bad2bcbd