CVE-2026-68295
published high CVSS 3.1 · 7.8LoongArch: BPF: Zero-extend signed ALU32 div/mod results
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2425c9e002d2a1fdca34261b2fa6713eafef2163 to < 7577cca85f2d4590c9d9423ba72ef54181a713c9 · 2425c9e002d2a1fdca34261b2fa6713eafef2163 to < 16656c3d734693be3d8a36dbf9d09142b69f3ddc · 2425c9e002d2a1fdca34261b2fa6713eafef2163 to < 716cb29dbed4d62e9e108950a1a82bcba4cc2d45 · 2425c9e002d2a1fdca34261b2fa6713eafef2163 to < dacd348b8a993373576fe2ee2d8b114740ba57a6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.114 through 6.12.* (unaffected · semver) · 6.18.57 through 6.18.* (unaffected · semver) · 7.1.6 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.115-2~deb12u1 | DLA-4904-1 |
| Debian | trixie | linux | Advisory build | 6.12.115-2 | DSA-6602-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Zero-extend signed ALU32 div/mod results ALU32 operations write a 32-bit result and leave the upper 32 bits of the BPF register zero. The LoongArch JIT sign-extends the result of signed ALU32 BPF_DIV and BPF_MOD (off=1), so a negative 32-bit quotient or remainder leaves bits 63:32 set in JITted code while the verifier and interpreter model those bits as zero. Keep sign-extension on the operands, which signed divide needs, and zero-extend the ALU32 result after the divide or modulo instruction, matching the unsigned ALU32 div/mod paths and every other ALU32 operation in this JIT.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The flaw is in the LoongArch eBPF JIT and is reached by loading a BPF program via the bpf(BPF_PROG_LOAD) syscall, which requires local access to the system. No network-facing path emits JITted signed ALU32 div/mod on behalf of a remote peer. AC:L - The attacker fully controls the BPF instruction sequence and the divisor/dividend, so producing a negative signed ALU32 quotient or remainder is deterministic and repeatable with no race, timing, or memory-layout dependency. PR:L - Loading an eBPF program requires only an unprivileged local user where unprivileged BPF is permitted, or CAP_BPF/CAP_SYS_ADMIN which is reachable via user namespaces on many deployments; no real root in the init namespace is needed. UI:N - The attacker loads and runs its own BPF program; no action by any other user or administrator is required at any point. S:U - The verifier bypass and resulting memory corruption stay within the kernel's own security authority on the same host, giving kernel-level privilege escalation rather than crossing a VM, IOMMU, or hypervisor boundary. C:H - The verifier models bits 63:32 of the ALU32 result as zero while the JIT leaves them set, so a later ALU64 shift lets the verifier conclude a register is constant zero when it is really 0xFFFFFFFF; using it as a pointer offset yields an attacker-controlled out-of-bounds read of arbitrary kernel memory. I:H - The same verifier/JIT range mismatch produces an out-of-bounds pointer that passes verification for stores as well as loads, giving an arbitrary kernel write primitive usable for control-flow hijacking and full privilege escalation. A:H - Out-of-bounds accesses through the mis-tracked register readily fault on unmapped or protected kernel addresses, causing an oops or panic, and the corruption can be repeated at will to bring the system down.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2425c9e002d2a1fdca34261b2fa6713eafef2163 to < 7577cca85f2d4590c9d9423ba72ef54181a713c9 (affected · git)2425c9e002d2a1fdca34261b2fa6713eafef2163 to < 16656c3d734693be3d8a36dbf9d09142b69f3ddc (affected · git)2425c9e002d2a1fdca34261b2fa6713eafef2163 to < 716cb29dbed4d62e9e108950a1a82bcba4cc2d45 (affected · git)2425c9e002d2a1fdca34261b2fa6713eafef2163 to < dacd348b8a993373576fe2ee2d8b114740ba57a6 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.114 through 6.12.* (unaffected · semver)6.18.57 through 6.18.* (unaffected · semver)7.1.6 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
LoongArch: BPF: Zero-extend signed ALU32 div/mod results
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3a19ab6c96ab9f823fbed9d2a613c484260aa398015f4491c49b6a1ed4694c08
- Ingested
- 21 Oct 2026, 12:50:06 UTC
- Source record
- Official CVE record