Description
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.
Published: 2026-10-18
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Control Flow Hijack
Action: Apply Patch
AI Analysis

Impact

The Linux kernel bug in the BPF JIT on MIPS32 misuses the addu instruction instead of addiu when emitting immediate JMP JEQ/JNE instructions. This causes an immediate value of 1 to be treated as register $at, which is also used as the constant blinding register BPF_REG_AX. As a result, comparisons involving negative immediate operands produce incorrect results, potentially leading to faulty branch decisions within BPF programs. The flaw could enable malicious code to bypass intended logic or access incorrect memory locations, compromising kernel integrity.

Affected Systems

Linux kernel builds for MIPS32 CPUs, including MIPS32r1 emulated environments. All kernel versions that contain the unpatched BPF JIT path.

Risk and Exploitability

The vulnerability has an EPSS score indicating a very low exploitation probability (< 1%) and is not yet listed in the CISA KEV catalog. The CVSS score of 4.4 indicates moderate severity. Its exploitation requires the ability to load or execute a malicious BPF program on a system running an affected MIPS32 kernel, which is typically limited to users with elevated privileges or processes that can load BPF programs. While the control‑flow error is kernel‑level and could allow local privilege escalation, the overall risk depends on attacker access and the presence of other conditions, making it a moderate‑impact issue for systems that rely on BPF for kernel tracing or packet filtering.

Generated by OpenCVE AI on October 20, 2026 at 16:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to a kernel version where the BPF JIT patch is applied.
  • Reboot the system after installing the updated kernel to ensure the change takes effect.
  • If a kernel update is not yet available, restrict or disable BPF program loading by revoking the CAP_BPF capability from untrusted users.
  • Monitor system logs for abnormal BPF activity and enforce least‑privilege policies for BPF usage.

Generated by OpenCVE AI on October 20, 2026 at 16:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1025
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'}

threat_severity

Moderate


Sun, 18 Oct 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-704

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title bpf: Fix immediate JMP JEQ/JNE on MIPS32
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:21:57.711Z

Reserved: 2026-09-25T10:25:14.357Z

Link: CVE-2026-98572

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:09.477

Modified: 2026-10-19T10:19:15.310

Link: CVE-2026-98572

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98572 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T16:45:14Z

Weaknesses
  • CWE-1025

    Comparison Using Wrong Factors

  • CWE-20

    Improper Input Validation

  • CWE-704

    Incorrect Type Conversion or Cast