Skip to content
Heist/ feed
Back to feed
UnratedFix available

bpf: Fix immediate JMP JEQ/JNE on MIPS32

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.189, 6.12.112, 6.18.55, 6.6.158, 7.2.9
CVEs
CVE-2026-98572
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:38 UTC · Revision 1

Source evidence

bpf: Fix immediate JMP JEQ/JNE on MIPS32

core-osv · Original source

Published 18 Oct 2026, 15:18 UTC

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.

osv:CVE-2026-98572

Kernel

Fixed versions: 6.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9

Complete source record
{
  "id": "ad8fd0c5d9ce727fb7b76b1efa46966e7c5d31554fc7ffbafe942f4cdba1b3fd",
  "url": "https://osv.dev/vulnerability/CVE-2026-98572",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 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.",
    "evidence": "osv:CVE-2026-98572",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.189",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.158",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.112",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.55",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98572",
      "aliases": [
        "CVE-2026-98572"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "eb63cfcd2ee8ec3805f6881f43341f589c3d2278"
                },
                {
                  "fixed": "1547e9f3a7d71971216e6dba30270cae13fe4e02"
                },
                {
                  "fixed": "beeae92e70e705e90a0d6d9b3b8498ee3b92f495"
                },
                {
                  "fixed": "6f939529ed6c580e9b6c5daa20be67fa0b3d4cf0"
                },
                {
                  "fixed": "876ef04c75c2751acfd355606fca3eced71dec65"
                },
                {
                  "fixed": "1bd91670966a7142ac94f2cebe2b5ae6bf5cb0c8"
                },
                {
                  "fixed": "db762fd96be225bd06161c9631160c755d891693"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98572.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.189"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.158"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.112"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.55"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98572.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.098399672Z",
      "provider": "osv",
      "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",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98572.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98572",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98572.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98572",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 493928,
  "published_at": "2026-10-18T15:18:38.105+00:00"
}