---
id: CVE-2026-98572
title: 'bpf: Fix immediate JMP JEQ/JNE on MIPS32'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  bpf: Fix immediate JMP JEQ/JNE on MIPS32

  An addu instruction was emitted instead of addiu, causing the immediate
  value 1 to be interpreted as register $at. This made t…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 <
    1547e9f3a7d71971216e6dba30270cae13fe4e02
  - >-
    Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 <
    beeae92e70e705e90a0d6d9b3b8498ee3b92f495
  - >-
    Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 <
    6f939529ed6c580e9b6c5daa20be67fa0b3d4cf0
  - >-
    Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 <
    876ef04c75c2751acfd355606fca3eced71dec65
  - >-
    Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 <
    1bd91670966a7142ac94f2cebe2b5ae6bf5cb0c8
  - >-
    Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 <
    db762fd96be225bd06161c9631160c755d891693
  - Linux 5.16
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T15:18:38.105Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-98572'
references:
  - url: 'https://git.kernel.org/stable/c/1547e9f3a7d71971216e6dba30270cae13fe4e02'
  - url: 'https://git.kernel.org/stable/c/beeae92e70e705e90a0d6d9b3b8498ee3b92f495'
  - url: 'https://git.kernel.org/stable/c/6f939529ed6c580e9b6c5daa20be67fa0b3d4cf0'
  - url: 'https://git.kernel.org/stable/c/876ef04c75c2751acfd355606fca3eced71dec65'
  - url: 'https://git.kernel.org/stable/c/1bd91670966a7142ac94f2cebe2b5ae6bf5cb0c8'
  - url: 'https://git.kernel.org/stable/c/db762fd96be225bd06161c9631160c755d891693'
tags:
  - cve.org
ingestedAt: '2026-10-18T15:45:12.257Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix immediate JMP JEQ/JNE on MIPS32

An addu instruction was emitted instead of addiu, causing the immediate
value 1 to be interpreted as register $at. This made the comparison
result invalid when the immediate operand was negative. Note that $at
is mapped to BPF_REG_AX, which is used for constant blinding.

Fix the instruction to use the immediate form.

Found with test_bpf on MIPS32r1 emulated by QEMU.

## Affected

- `Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 < 1547e9f3a7d71971216e6dba30270cae13fe4e02`
- `Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 < beeae92e70e705e90a0d6d9b3b8498ee3b92f495`
- `Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 < 6f939529ed6c580e9b6c5daa20be67fa0b3d4cf0`
- `Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 < 876ef04c75c2751acfd355606fca3eced71dec65`
- `Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 < 1bd91670966a7142ac94f2cebe2b5ae6bf5cb0c8`
- `Linux >= eb63cfcd2ee8ec3805f6881f43341f589c3d2278 < db762fd96be225bd06161c9631160c755d891693`
- `Linux 5.16`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
