CVE-2026-139301

bpf: Assume no bounds for a writable tp with tail calls

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: Assume no bounds for a writable tp with tail calls

A writable raw tracepoint hands a buffer to the program. The verifier
notes how far the program reaches into it, and bpf_probe_register() refuses
a program that reaches further than the tracepoint allows. A program that
does not touch the buffer passes, and can tail-call one of its type that
reads and writes behind it.

Take a BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE program with a tail call to
reach as far as can be, as for the stack, the packet and the buffers of
iterators. It cannot be attached any more. Plain raw tracepoint programs,
for which the limit is zero, cannot get at the buffer, and a tail call
stays within one type: they are left alone.

Analysis

AI-generated

Technical impact

The vulnerability arises because the BPF verifier assumes unlimited bounds for writable raw tracepoint programs. A program that does not touch the tracepoint buffer is accepted, but a subsequent tail call can access memory beyond the allowed area, potentially leading to kernel memory corruption. This bypass of bounds checking is a classic buffer overflow that could allow arbitrary memory writes.

Affected Systems

All Linux kernels that enable the BPF_RAW_TRACEPOINT_WRITABLE feature are affected. The advisory does not list specific kernel versions, so any distribution shipping a kernel before the patch that added proper bounds checking is at risk.

Risk and Exploitability

EPSS not available and the vulnerability is not listed in KEV, indicating no public exploitation known. The description shows that the BPF verifier incorrectly assumes no bounds for writable raw tracepoint programs, which can lead to kernel memory corruption if a tail call accesses memory beyond the allowed area. This scenario represents a high‑severity boundary‑check bypass.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel update that contains the BPF bounds‑checking fix.
  • Disable the ability to load writable raw tracepoint BPF programs on hosts where they are not required.
  • Audit BPF program registrations and monitor for abnormal tracepoint activity.

Generated by OpenCVE AI on December 1, 2026 at 11:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Assume no bounds for a writable tp with tail calls A writable raw tracepoint hands a buffer to the program. The verifier notes how far the program reaches into it, and bpf_probe_register() refuses a program that reaches further than the tracepoint allows. A program that does not touch the buffer passes, and can tail-call one of its type that reads and writes behind it. Take a BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE program with a tail call to reach as far as can be, as for the stack, the packet and the buffers of iterators. It cannot be attached any more. Plain raw tracepoint programs, for which the limit is zero, cannot get at the buffer, and a tail call stays within one type: they are left alone.
Title bpf: Assume no bounds for a writable tp with tail calls
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:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM