CVE-2026-64548
Received Received - Intake

Buffer Overflow in Linux Kernel BPF sockmap

Vulnerability report for CVE-2026-64548, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-27

Last updated on: 2026-07-30

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: reject overflowing copy + len in bpf_msg_push_data() When the scatterlist ring is full or nearly full, bpf_msg_push_data() enters a copy fallback path and computes copy + len for the page allocation size. Since len comes from BPF with arg3_type = ARG_ANYTHING and both are u32, a crafted len can wrap the sum to a small value, causing an undersized allocation followed by an out-of-bounds memcpy. BUG: unable to handle page fault for address: ffffed104089a402 Oops: Oops: 0000 [#1] SMP KASAN NOPTI Call Trace: __asan_memcpy (mm/kasan/shadow.c:105) bpf_msg_push_data (net/core/filter.c:2852 net/core/filter.c:2788) bpf_prog_9ed8b5711920a7d7+0x2e/0x36 sk_psock_msg_verdict (net/core/skmsg.c:934) tcp_bpf_sendmsg (net/ipv4/tcp_bpf.c:421 net/ipv4/tcp_bpf.c:584) __sys_sendto (net/socket.c:2206) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) Add an overflow check before the allocation.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-27
Last Modified
2026-07-30
Generated
2026-08-17
AI Q&A
2026-07-28
EPSS Evaluated
2026-08-15
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Linux kernel vulnerability in the BPF (Berkeley Packet Filter) sockmap functionality. It involves a flaw in the bpf_msg_push_data() function where a crafted input can cause an integer overflow, leading to an undersized memory allocation. This triggers an out-of-bounds memory write during a memcpy operation, potentially causing a kernel crash or arbitrary code execution.

Detection Guidance

This vulnerability is specific to the Linux kernel's BPF and sockmap functionality. Detection requires checking for kernel logs indicating page faults or Oops related to bpf_msg_push_data. Monitor system logs for KASAN errors or crashes in the BPF subsystem. No direct commands are provided in the context.

Impact Analysis

If exploited, this vulnerability could allow an attacker to crash the system, execute arbitrary code with kernel privileges, or bypass security mechanisms. It primarily affects systems using BPF sockmap features, which are often used in networking and packet processing applications.

Compliance Impact

This vulnerability could potentially lead to unauthorized memory access or data leaks, which may impact compliance with data protection regulations like GDPR or HIPAA if exploited in systems handling sensitive data.

Mitigation Strategies

Apply the kernel patch that adds an overflow check before allocation in bpf_msg_push_data. Update to a patched kernel version. If immediate patching is not possible, disable BPF and sockmap features as a temporary workaround.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64548. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart