CVE-2026-139286

Not scored yetLast modified Nov 30, 2026

Description

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

bpf: Zero-extend the index in inlined bpf_get_func_arg()

bpf_get_func_arg() takes a u32 index, but the inlined expansion compared only the low 32 bits of R2 with the argument count and then shifted the full 64-bit register to compute the context address. R2 is ARG_ANYTHING, so nothing guarantees that its upper bits are zero: an index of 1ULL << 32 passes the bounds check as index zero while the load is performed at ctx + (1ULL << 35).

Shift the index as a 32-bit value. When the 32-bit bounds check passes, the low 32 bits of R2 are below R0, and R0 is at most 255: the trampoline arm masks the argument count with 0xFF and the raw_tp arm uses the BTF argument count minus one, which the verifier caps at MAX_BPF_FUNC_ARGS. The 3-bit shift therefore cannot overflow and it clears the upper bits of the register. Widening the comparison instead would reject indices whose low 32 bits are valid. The check itself is unchanged, so this cannot change which programs are accepted, only the address that is computed.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139287In the Linux kernel, the following vulnerability has been resolved: RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read() In floCVE-2026-1392887.5In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Clear pkt->qp before the early drop exits in rxe_rcv() rxe_rCVE-2026-139289In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Free unpublished port statistics after initial-read failure CVE-2026-139295.5Insufficient policy enforcement in DevTools in Google Chrome on Android prior to 150.0.7871.47 allowed a local attacker to bypass navigationCVE-2026-139290In the Linux kernel, the following vulnerability has been resolved: bpf: Follow the head if an skb is written from a slice The source of bCVE-2026-139291In the Linux kernel, the following vulnerability has been resolved: bpf: Don't take a dynptr argument for a local dynptr A global functionCVE-2026-139292In the Linux kernel, the following vulnerability has been resolved: bpf: Let bpf_dynptr_write() mark a global function The caller of a gloCVE-2026-1392938.1In the Linux kernel, the following vulnerability has been resolved: bpf, cpumap: Hold the device of frames in the queue A frame that is reCVE-2026-139294In the Linux kernel, the following vulnerability has been resolved: bpf: Use the socket of a sk_lookup test run under RCU bpf_sk_lookup_asCVE-2026-139295In the Linux kernel, the following vulnerability has been resolved: bpf: Keep the symbols of a program until it has ended When the last reCVE-2026-139296In the Linux kernel, the following vulnerability has been resolved: bpf: Keep values of a dead owner for sleepable programs bpf_local_storCVE-2026-139297In the Linux kernel, the following vulnerability has been resolved: bpf: Don't let an extension reach further into the context than its tar
CVE-2026-139286: Unscored | Vulnix