The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-71128

CVE-2025-71128: Linux Kernel Buffer Overflow Vulnerability

CVE-2025-71128 is a buffer overflow vulnerability in the Linux kernel's ERSPAN implementation that causes kernel panic with GCC 15+ and FORTIFY_SOURCE. This article covers technical details, affected systems, and mitigation.

Published: January 23, 2026

CVE-2025-71128 Overview

A buffer overflow vulnerability exists in the Linux kernel's ERSPAN (Encapsulated Remote Switch Port Analyzer) implementation within the GRE tunnel handling code. The vulnerability occurs because the options_len field in the struct ip_tunnel_info structure is not properly initialized before referencing the flexible array member options. This leads to a kernel panic when FORTIFY_SOURCE runtime bounds checking is enabled, particularly when the kernel is compiled with GCC 15 or later.

Critical Impact

This vulnerability causes a kernel panic and system crash when processing ERSPAN traffic in GRE tunnels, resulting in complete denial of service for affected systems.

Affected Products

  • Linux kernel versions with GRE ERSPAN support
  • Systems compiled with GCC 15+ and FORTIFY_SOURCE enabled
  • Linux kernel configurations with CONFIG_NET_IPGRE enabled

Discovery Timeline

  • 2026-01-14 - CVE CVE-2025-71128 published to NVD
  • 2026-01-14 - Last updated in NVD database

Technical Details for CVE-2025-71128

Vulnerability Analysis

The vulnerability stems from improper initialization order in the Linux kernel's ERSPAN packet handling code. The struct ip_tunnel_info structure contains a flexible array member called options that is protected by the counted_by(options_len) attribute, a security feature that enables compile-time and runtime bounds checking.

When GCC 15+ compiles this code with FORTIFY_SOURCE enabled, the compiler enforces strict runtime bounds checking on the memcpy operations that write to the options array. According to GCC documentation, the counter variable (options_len) must be initialized before any reference to the flexible array member.

In the GRE ERSPAN code path, a partial update is performed that bypasses the standard ip_tunnel_info_opts_set() helper function—which correctly initializes options_len before copying data. This results in a detected buffer overflow during ERSPAN packet reception, as the runtime check sees an attempt to write 4 bytes to a buffer with a reported size of 0.

Root Cause

The root cause is the failure to initialize options_len before performing write operations on the options flexible array member. The GRE ERSPAN receive path (erspan_rcv) performs partial updates to the tunnel info structure without using the ip_tunnel_info_opts_set() helper, which would properly set options_len prior to the memcpy operation. This violates the contract established by the counted_by attribute and triggers FORTIFY_SOURCE protection mechanisms.

Attack Vector

The vulnerability is triggered when the kernel receives ERSPAN traffic through a GRE tunnel. When such packets are processed by the erspan_rcv function, the uninitialized options_len field causes the FORTIFY_SOURCE bounds checking to detect a buffer overflow and invoke __fortify_panic, resulting in a kernel crash.

The call trace from the vulnerability report demonstrates the execution path:

The panic occurs in the interrupt context (<IRQ>) when processing incoming packets through the GRE receive path (gre_rcv), which calls erspan_rcv to handle ERSPAN-encapsulated traffic. The memcpy operation fails the bounds check, detecting a "4 byte write of buffer size 0" condition.

Detection Methods for CVE-2025-71128

Indicators of Compromise

  • Kernel panic messages containing memcpy: detected buffer overflow: 4 byte write of buffer size 0
  • System crashes during GRE tunnel ERSPAN traffic processing
  • Call traces showing erspan_rcv.cold and __fortify_panic in the kernel log
  • Unexpected reboots on systems processing ERSPAN-encapsulated traffic

Detection Strategies

  • Monitor kernel logs for FORTIFY_SOURCE panic messages related to erspan_rcv
  • Implement network monitoring to detect anomalous ERSPAN traffic patterns
  • Use kernel tracing tools to monitor calls to erspan_rcv and gre_rcv functions
  • Deploy SentinelOne Singularity Platform for real-time kernel-level threat detection

Monitoring Recommendations

  • Enable kernel crash dump collection to capture detailed diagnostic information on panic events
  • Configure syslog monitoring for FORTIFY_SOURCE-related warning and error messages
  • Monitor system uptime metrics to detect unexpected reboots that may indicate exploitation attempts
  • Review network traffic logs for unusual GRE/ERSPAN traffic patterns from untrusted sources

How to Mitigate CVE-2025-71128

Immediate Actions Required

  • Apply the latest kernel patches from the stable kernel repository
  • Consider temporarily disabling GRE tunnel ERSPAN functionality if not required
  • Implement network-level filtering to restrict ERSPAN traffic to trusted sources only
  • Monitor systems for kernel panic events and enable crash dump collection for analysis

Patch Information

The Linux kernel maintainers have released patches to address this vulnerability. The fix ensures proper initialization of options_len before any reference to the options flexible array member.

Patches are available in the following kernel commits:

  • Kernel Git Commit 35ddf66
  • Kernel Git Commit b282b2a

Workarounds

  • Disable GRE ERSPAN tunnel functionality by unloading or blacklisting the ip_gre module if not required
  • Implement firewall rules to block untrusted ERSPAN traffic at the network perimeter
  • Compile the kernel without FORTIFY_SOURCE as a temporary workaround (not recommended for production)
  • Restrict GRE tunnel configurations to trusted network segments only
bash
# Temporarily disable ip_gre module (if not in use)
modprobe -r ip_gre
echo "blacklist ip_gre" >> /etc/modprobe.d/blacklist-erspan.conf

# Block external GRE traffic at firewall level
iptables -A INPUT -p gre -s ! 10.0.0.0/8 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 35ddf66

  • Kernel Git Commit b282b2a
  • Related CVEs
  • CVE-2026-23448: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-23447: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31395: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31402: Linux Kernel Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English