bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-93044

—unknown

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

bpf: Disallow interpreter fallback for arena-related insns

Since the interpreter does not support the arena-related insns, interpreter fallback should not be allowed for these insns in core.c::__bpf_prog_select_runtime().

Currently, when the interpreter executes the arena ST/LDX/STX insns, it would hit the BUG_ON() in ___bpf_prog_run() at run time.

[    2.579196] BPF interpreter: unknown opcode a2 (imm: 0x0)
[    2.579998] ------------[ cut here ]------------
[    2.580652] kernel BUG at kernel/bpf/core.c:2349!
[    2.581314] Oops: invalid opcode: 0000 [#1] SMP PTI

Set jit_required as true when arena map is used in the prog to disallow interpreter fallback for arena-related insns.

Published 2026-09-17NVD

References 2
Review Av26.10.0x86_64Not exposedFable 5.2 · medium confidence · 2026-11-19

The fix is not in this tree: bpf_prog_select_runtime() in kernel/bpf/core.c only forces JIT for kfunc calls or CONFIG_BPF_JIT_ALWAYS_ON, and nothing in kernel/bpf/verifier.c blocks interpreter fallback for a program that uses an arena map. The arena code, the verifier and the interpreter are all compiled in (CONFIG_BPF_SYSCALL=y, CONFIG_BPF_JIT_ALWAYS_ON not set), so the BUG_ON() in the interpreter is present.

Reaching it requires loading a custom eBPF program that uses a BPF_MAP_TYPE_ARENA map, which the verifier only allows with CAP_BPF and CAP_PERFMON, and then having JIT compilation fail so the kernel falls back to the interpreter. I found no BPF loader in the Infix sources or rootfs overlay, libbpf and bpftool are not selected, and no YANG node or CLI command loads eBPF programs. That makes it case (c): a root shell plus a self-supplied BPF loader is needed, and it is not reachable from a network interface.

Evidence 12
  1. `jit_needed` is set only for `CONFIG_BPF_JIT_ALWAYS_ON`, kfunc calls or no usable interpreter; there is no arena check, so an arena program whose JIT fails falls back to the interpreter. The fix is absent.

    output/build/linux-6.18.60/kernel/bpf/core.c:2567-2595 (bpf_prog_select_runtime)

  2. The `BPF interpreter: unknown opcode` warning followed by `BUG_ON(1)`, which is the crash site the CVE describes.

    output/build/linux-6.18.60/kernel/bpf/core.c:2335-2337 (___bpf_prog_run default_label)

  3. On JIT failure `prog->jit_requested` is cleared and the program is prepared for the interpreter; only kfunc calls, tail calls with subprogs, and callbacks are rejected, not arena use.

    output/build/linux-6.18.60/kernel/bpf/verifier.c:22404-22415 and 22428-22466 (jit_subprogs / fixup_call_args)

  4. Arena maps are accepted only with `CAP_BPF` and `CAP_PERFMON` and when `jit_requested` is set at verification time; no later guard against fallback.

    output/build/linux-6.18.60/kernel/bpf/verifier.c:21094-21116

  5. `CONFIG_BPF_SYSCALL=y`, `CONFIG_BPF_JIT=y`, `CONFIG_BPF_JIT_ALWAYS_ON` not set (interpreter compiled in), `CONFIG_BPF_JIT_DEFAULT_ON=y`, `CONFIG_BPF_UNPRIV_DEFAULT_OFF=y`.

    output/build/linux-6.18.60/.config:118-122

  6. The product defconfig enables `CONFIG_BPF_SYSCALL` and `CONFIG_BPF_JIT` and does not set `CONFIG_BPF_JIT_ALWAYS_ON`.

    board/x86_64/linux_defconfig:6-7

  7. `arena.o` is built under `CONFIG_BPF_SYSCALL`.

    output/build/linux-6.18.60/kernel/bpf/Makefile:19

  8. `kernel/bpf/verifier.o`, `core.o`, `arena.o` and `arch/x86/net/bpf_jit_comp.o` were all produced.

    output/objects.txt:21936,21942,21945,24947

  9. The source is 6.18.60.

    output/build/linux-6.18.60/Makefile:2-4

  10. 139 patches applied; none mention bpf or arena (case-insensitive grep of the list and of `patches/linux` returns nothing).

    output/build/linux-6.18.60/.applied_patches_list and patches/linux/6.18.60/

  11. `BR2_PACKAGE_BPFTOOL`, `BR2_PACKAGE_BPFTRACE`, `BR2_PACKAGE_LIBBPF` and `BR2_PACKAGE_LINUX_TOOLS_BPFTOOL` are not set; no BPF loading tooling is in the image.

    output/.config:618,620,659,4467

  12. No matches; no Infix component, confd code or rootfs overlay file loads eBPF programs or uses arena maps.

    src/, package/, board/ (grep for BPF_MAP_TYPE_ARENA, BPF_PROG_LOAD, bpf_prog_load, bpf_object__)

Version and patches

The tree is linux 6.18.60 and the vulnerable logic is present unfixed in kernel/bpf/core.c and kernel/bpf/verifier.c. None of the 139 applied patches in patches/linux/6.18.60/ touch BPF. I could not read the upstream fix commits (no network access), so the exact fixed stable release is not confirmed; the judgement rests on the source lacking any arena-based JIT requirement.

Recommendation

No urgent action. Document as not exposed: it needs local root (CAP_BPF and CAP_PERFMON) and a custom BPF loader, and the impact is a kernel BUG (local denial of service) by a user who is already privileged.

Pick up the fix with the next routine 6.18.y stable bump that contains it. Setting CONFIG_BPF_JIT_ALWAYS_ON=y in board/x86_64/linux_defconfig would also remove the interpreter fallback entirely.

Open questions

Which 6.18.y release carries the fix (commits 34746b5a84ec / 408b6d3bc19c) could not be checked from the tree.

I searched Infix's own sources (src/, package/, board/) for BPF loaders, but did not inspect every third-party binary in output/target. iproute2 is selected and can attach pre-built BPF objects from a shell if it was built with libbpf support, but BR2_PACKAGE_LIBBPF is off and that still needs a root shell and an attacker-supplied object.

Other board kernel configs (non-x86_64) were not reviewed; arena also needs JIT support for the architecture (bpf_jit_supports_arena()).

Two of my early combined shell commands were refused by the sandbox; I reran the same checks as individual read-only commands, so nothing is missing from the evidence.

Members of Kernel Kit decide. Sign in if you are one.