CVE-2026-139290

Description

A flaw was found in the Linux kernel's BPF (Berkeley Packet Filter) subsystem. When copying data within a network packet buffer from a dynamic pointer slice, making the buffer writable can trigger a reallocation of its head. Because the source pointer is not updated to track the reallocated memory, it continues to reference the old memory location, resulting in a use-after-free condition. A local attacker can exploit this vulnerability to cause an information disclosure by leaking freed kernel memory into network packets, or cause a Denial of Service (DoS) by crashing the system.

Statement

This vulnerability is rated as Moderate because exploitation requires a local user with administrative capabilities (specifically CAP_NET_ADMIN or CAP_BPF) to load and execute crafted eBPF programs, preventing unprivileged or remote attackers from triggering the flaw. While the defect can result in a kernel use-after-free condition leading to sensitive memory leakage or a system crash, typical Red Hat Enterprise Linux environments do not expose the required privileges to untrusted users. As a result, the blast radius is confined to environments where untrusted entities already possess elevated system privileges.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredHighN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityHighN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.