CVE Database›Document archive›CVE-2026-68295

CVE-2026-68295

kernel: LoongArch: BPF: Zero-extend signed ALU32 div/mod results

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · August 10, 2026

Updated · August 31, 2026

Description

A flaw was found in the Linux kernel. The LoongArch Just-In-Time (JIT) compiler for the Berkeley Packet Filter (BPF) subsystem incorrectly sign-extends the results of signed 32-bit division and modulo operations. This behavior causes the upper bits of BPF registers to be set, which differs from the expected zero-extension model used by the BPF verifier and interpreter. Such an inconsistency could lead to unexpected program behavior or incorrect data processing within BPF programs.

Statement

This issue affects LoongArch BPF JIT. Signed ALU32 div/mod results are sign-extended instead of zero-extended, diverging from verifier semantics. Systems not using LoongArch are not affected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-681 · Incorrect Conversion between Numeric Types