CVE-2026-64548

Description

A flaw was found in the Linux kernel's BPF (Berkeley Packet Filter) sockmap implementation. When handling socket data in the bpf_msg_push_data() function, an integer overflow can occur during memory allocation calculations when a fallback copy path is triggered. A local attacker with administrative privileges can exploit this flaw by loading a crafted BPF program with an excessive length value, causing an undersized buffer allocation followed by an out-of-bounds memory write. This issue primarily leads to a system crash, resulting in a Denial of Service (DoS), or kernel memory corruption.

Statement

This vulnerability is rated as Moderate severity for Red Hat Enterprise Linux because exploitation requires local access with administrative privileges (such as CAP_BPF or CAP_NET_ADMIN) to load and attach BPF socket verdict programs. Standard Red Hat Enterprise Linux configurations restrict eBPF loading to privileged accounts, which significantly limits exposure on typical installations. A privileged attacker could leverage this flaw to cause a kernel crash or corrupt memory through an undersized buffer allocation, but the requirement for elevated capabilities restricts the overall impact.

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 Score7N/A8.4
Attack VectorLocalN/ALocal
Attack ComplexityHighN/ALow
Privileges RequiredLowN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

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

cve.org: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.