CVE-2026-139605

bpf: Don't remove indirect jump targets in the nop removal pass

Published Nov 30, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: Don't remove indirect jump targets in the nop removal pass

bpf_opt_remove_nops() drops every ja +0 and may_goto +0 unconditionally.
A gotox target may itself be such a transparent nop: it is a verified
entry of an insn array jump table that is reachable at run time through
the indirect jump. bpf_insn_array_adjust_after_remove() marks it as
INSN_DELETED instead, and bpf_insn_array_ready() skips INSN_DELETED
entries, so the program loads with a hole in its jump table. The x86
JIT, for example, lowers gotox to a raw indirect jump, so executing
that index jumps to the zeroed ips[] slot, that is, to address 0.
Fix by keeping an indirect jump target in place.

Analysis

AI-generated

Technical impact

The BPF compiler in Linux inadvertently removes integral jump targets during a nop elimination pass, leaving a hole in a BPF program’s jump table. When this flawed program is JIT‑compiled, the indirect jump can resolve to address zero, producing a kernel fault and a panic. The flaw thus permits a crafted BPF program to crash the kernel, causing a loss of service. This weakness is a NULL pointer dereference (CWE‑476).

Affected Systems

All Linux kernel builds that have not applied the patch linked to the advisory are vulnerable. No explicit version range is provided, so any non‑patched kernel may be affected until the fix is distributed. The vulnerability is known only to those kernel versions that lack the patch; later releases that include the change are no longer vulnerable.

Risk and Exploitability

The CVSS score of 4.4 indicates moderate severity. EPSS data are unavailable, and the vulnerability is not listed in CISA’s KEV catalog, so exploitation data are limited. The fault is triggered by executing a malicious BPF program, which normally requires privileged code loading privileges. Thus the attack vector is inferred to be local BPF program injection; remote exploitation would depend on a service that accepts and loads external eBPF code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that contains the reported patch
  • Limit or restrict BPF program loading to trusted users or processes
  • Audit services that load BPF programs to ensure only approved code is executed

Generated by OpenCVE AI on December 1, 2026 at 17:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Don't remove indirect jump targets in the nop removal pass bpf_opt_remove_nops() drops every ja +0 and may_goto +0 unconditionally. A gotox target may itself be such a transparent nop: it is a verified entry of an insn array jump table that is reachable at run time through the indirect jump. bpf_insn_array_adjust_after_remove() marks it as INSN_DELETED instead, and bpf_insn_array_ready() skips INSN_DELETED entries, so the program loads with a hole in its jump table. The x86 JIT, for example, lowers gotox to a raw indirect jump, so executing that index jumps to the zeroed ips[] slot, that is, to address 0. Fix by keeping an indirect jump target in place.
Title bpf: Don't remove indirect jump targets in the nop removal pass
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:36 PM