Incorrect comparison in Linux kernel - CVE-2026-98572
Published: October 22, 2026
Vulnerability details
The vulnerability allows a local user to cause incorrect BPF comparison results and unintended BPF program control flow on MIPS32 systems.
The vulnerability exists due to incorrect instruction emission in the Linux kernel MIPS32 BPF JIT compiler when compiling immediate JMP JEQ/JNE comparisons with negative operands. A local user can trigger execution of BPF code containing these comparisons to cause incorrect branch decisions because an addu instruction interprets the value 1 as register $at rather than as an immediate constant.
Affected software
Ubuntu
linux (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-oracle (Ubuntu package)
linux-ibm (Ubuntu package)
linux-hwe-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
How to mitigate CVE-2026-98572
linux (Ubuntu package) - update to 7.0.0-42.42
linux-aws (Ubuntu package) - update to 7.0.0-1016.17
linux-gcp (Ubuntu package) - update to 7.0.0-1016.18
linux-oracle (Ubuntu package) - update to 7.0.0-1015.16
linux-ibm (Ubuntu package) - update to 7.0.0-1017.17
linux-hwe-7.0 (Ubuntu package) - update to 7.0.0-42.42~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1017.17
External References
- https://git.kernel.org/stable/c/1547e9f3a7d71971216e6dba30270cae13fe4e02
- https://git.kernel.org/stable/c/1bd91670966a7142ac94f2cebe2b5ae6bf5cb0c8
- https://git.kernel.org/stable/c/6f939529ed6c580e9b6c5daa20be67fa0b3d4cf0
- https://git.kernel.org/stable/c/876ef04c75c2751acfd355606fca3eced71dec65
- https://git.kernel.org/stable/c/beeae92e70e705e90a0d6d9b3b8498ee3b92f495
- https://git.kernel.org/stable/c/db762fd96be225bd06161c9631160c755d891693