CVE-2026-80738
Received Received - Intake

BPF Socket Protocol Validation Flaw in Linux Kernel

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

Publication date: 2026-09-03

Last updated on: 2026-09-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie bpf_tcp_gen_syncookie and bpf_tcp_check_syncookie accept a socket pointer 'sk' with argument type ARG_PTR_TO_BTF_ID_SOCK_COMMON. However, they access sk->sk_protocol without validating whether 'sk' represents a full socket. Fix this issue by checking sk->sk_state != TCP_LISTEN before inspecting sk->sk_protocol in both bpf_tcp_gen_syncookie and bpf_tcp_check_syncookie. Since mini-sockets are never in the TCP_LISTEN state, the condition short-circuits and prevents dereferencing fullsock-specific fields.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-03
Last Modified
2026-09-03
Generated
2026-09-03
AI Q&A
2026-09-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

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 vulnerability in the Linux kernel involves two BPF functions, bpf_tcp_gen_syncookie and bpf_tcp_check_syncookie, which incorrectly access socket fields without proper validation. The functions accept a socket pointer but fail to check if it represents a full socket before accessing sk_protocol. This could lead to invalid memory access if a mini-socket is passed instead.

Detection Guidance

This vulnerability is specific to the Linux kernel's BPF (Berkeley Packet Filter) implementation and requires kernel-level inspection. Detection involves checking kernel version and BPF-related logs or code paths. Use commands like 'uname -a' to verify kernel version and 'dmesg | grep -i bpf' to check for BPF-related errors. If you suspect exploitation, review BPF program logs or use tools like 'bpftrace' to monitor BPF operations.

Impact Analysis

This vulnerability could allow an attacker with local access to trigger a kernel crash or potentially escalate privileges by exploiting improper socket handling in BPF functions. Systems running vulnerable Linux kernel versions may experience instability or security breaches.

Mitigation Strategies

Immediately update your Linux kernel to a patched version that includes the fix for CVE-2026-80738. If immediate patching is not possible, restrict BPF usage by disabling unprivileged BPF or applying kernel lockdown mechanisms. Monitor kernel logs for suspicious BPF activity and ensure no unauthorized BPF programs are loaded.

Chat Assistant

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

EPSS Chart