CVE-2026-53110: s390/bpf: Zero-extend bpf prog return values and kfunc arguments
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
s390/bpf: Zero-extend bpf prog return values and kfunc arguments
s390x ABI requires callers to zero-extend unsigned arguments and sign-extend signed arguments, and callees to zero-extend unsigned return values and sign-extend signed return values.
s390 BPF JIT currently implements only sign extension. Fix this omission and implement zero extension too.
The Linux kernel CVE team has assigned CVE-2026-53110 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.3 with commit 528eb2cb87bc1353235a6384696b4849bde8b0ba and fixed in 6.6.141 with commit edc90a12073b9a530064a99945c183dde120cb99 Issue introduced in 6.3 with commit 528eb2cb87bc1353235a6384696b4849bde8b0ba and fixed in 6.12.91 with commit 44c4f999b03f55debb1a0c5ab5c1796895a1adf8 Issue introduced in 6.3 with commit 528eb2cb87bc1353235a6384696b4849bde8b0ba and fixed in 6.18.33 with commit 366b0e05ee24f5ba62bdc7ec1346038258b9a797 Issue introduced in 6.3 with commit 528eb2cb87bc1353235a6384696b4849bde8b0ba and fixed in 7.0.10 with commit 834918a77be51419383bf1dda9f02b81ecf26b34 Issue introduced in 6.3 with commit 528eb2cb87bc1353235a6384696b4849bde8b0ba and fixed in 7.1 with commit 202e42e4aa890172366354b233c42c73107a3f59
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-53110
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/net/bpf_jit_comp.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/edc90a12073b9a530064a99945c183dde120cb99 https://git.kernel.org/stable/c/44c4f999b03f55debb1a0c5ab5c1796895a1adf8 https://git.kernel.org/stable/c/366b0e05ee24f5ba62bdc7ec1346038258b9a797 https://git.kernel.org/stable/c/834918a77be51419383bf1dda9f02b81ecf26b34 https://git.kernel.org/stable/c/202e42e4aa890172366354b233c42c73107a3f59