CVE-2026-72400
Received Received - Intake

Buffer Length Validation Flaw in Linux Kernel SRH Handling

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

Publication date: 2026-08-15

Last updated on: 2026-08-15

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: seg6: validate SRH length before reading fixed fields seg6_validate_srh() reads fixed SRH fields such as srh->type and srh->hdrlen before checking that the supplied length covers the fixed struct ipv6_sr_hdr fields. The BPF SEG6 encap path reaches this with a BPF program-supplied pointer and length: bpf_lwt_push_encap() and the SEG6 local BPF END_B6 and END_B6_ENCAP actions call bpf_push_seg6_encap(), which forwards the length to seg6_validate_srh() with no minimum-size guard. A 2-byte SEG6 encap header can therefore make the validator read srh->type at offset 2 beyond the caller-supplied buffer. Reject lengths shorter than the fixed SRH at the top of seg6_validate_srh(), before any field is read. This fixes the BPF helper path and keeps the common validator robust.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-15
Last Modified
2026-08-15
Generated
2026-08-15
AI Q&A
2026-08-15
EPSS Evaluated
N/A
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 vulnerability in the Linux kernel involves a failure to validate the length of Segment Routing Header (SRH) before accessing fixed fields. The function seg6_validate_srh() reads fields like srh->type and srh->hdrlen without first ensuring the supplied length is sufficient. A short header (2 bytes) can cause the function to read beyond the provided buffer, leading to potential memory corruption or crashes.

Detection Guidance

This vulnerability affects the Linux kernel's SEG6 implementation. Detection requires checking kernel versions and SEG6-related configurations. Use commands like 'uname -r' to check kernel version and 'sysctl net.ipv6.conf.all.seg6_enabled' to verify SEG6 status. Monitor kernel logs for SEG6-related errors or crashes.

Impact Analysis

This vulnerability could allow an attacker to trigger memory corruption or system crashes by supplying a maliciously crafted SRH. If exploited via BPF programs, it may enable privilege escalation or denial-of-service attacks on affected Linux systems.

Mitigation Strategies

Apply the latest kernel patches from your Linux distribution. Disable SEG6 if not needed using 'sysctl -w net.ipv6.conf.all.seg6_enabled=0'. Restrict BPF program usage to trusted sources. Monitor for unusual network activity or crashes.

Chat Assistant

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

EPSS Chart