Skip to contentSkip to conversation

CVE-2026-93044: bpf: Disallow interpreter fallback for arena-related insns

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

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.

The Linux kernel CVE team has assigned CVE-2026-93044 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.9 with commit 6082b6c328b5486da2b356eae94b8b83c98b5565 and fixed in 7.2.6 with commit 408b6d3bc19c4aa852ab7ee2f447756e52e69967
	Issue introduced in 6.9 with commit 6082b6c328b5486da2b356eae94b8b83c98b5565 and fixed in 7.3-rc1 with commit 34746b5a84ec37c0ea2bf6808c65c5ed8790eb51

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-93044

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
kernel/bpf/verifier.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/408b6d3bc19c4aa852ab7ee2f447756e52e69967
	https://git.kernel.org/stable/c/34746b5a84ec37c0ea2bf6808c65c5ed8790eb51