CVE-2026-99498: s390/kprobes: Prevent kprobes on instructions with exception table entry
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
s390/kprobes: Prevent kprobes on instructions with exception table entry
The mvcos exception handler ex_handler_ua_mvcos() decodes the faulting instruction, assuming it is an mvcos instruction. In case the instruction is kprobed the decoded instruction is a breakpoint instruction instead, which leads to incorrect instruction decoding and potential register corruption.
Fix this by simply preventing to set a kprobe on such instructions, similar like arm64 is doing it.
The Linux kernel CVE team has assigned CVE-2026-99498 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.15 with commit c488f5187a24969b40fd08c3e9ead377c0cfb9b3 and fixed in 6.18.61 with commit 3a4da934737159d2ec5341fb8c8a5c9a0c6efee2 Issue introduced in 6.15 with commit c488f5187a24969b40fd08c3e9ead377c0cfb9b3 and fixed in 7.3.2 with commit 641040939ef86fd149e90f3cd4025607afcf160d Issue introduced in 6.15 with commit c488f5187a24969b40fd08c3e9ead377c0cfb9b3 and fixed in 7.4-rc1 with commit fc9bb0ecd310b53af5116415952a1fb89d4660b9
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-99498
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/kprobes.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/3a4da934737159d2ec5341fb8c8a5c9a0c6efee2 https://git.kernel.org/stable/c/641040939ef86fd149e90f3cd4025607afcf160d https://git.kernel.org/stable/c/fc9bb0ecd310b53af5116415952a1fb89d4660b9