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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-31679

CVE-2026-31679: Linux Kernel MPLS Validation Vulnerability

CVE-2026-31679 is an MPLS payload validation flaw in the Linux kernel's openvswitch module that affects SET/SET_MASKED action handling. This article covers technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2026-31679 Overview

A vulnerability has been identified in the Linux kernel's Open vSwitch (OVS) implementation affecting MPLS (Multi-Protocol Label Switching) set and set_masked action handling. The validate_set() function incorrectly accepted OVS_KEY_ATTR_MPLS as a variable-sized payload for SET/SET_MASKED actions, when the OVS action handling logic expects fixed-size MPLS key data conforming to the struct ovs_key_mpls structure. This improper input validation allows attackers with local access to potentially read or corrupt kernel memory by providing malformed MPLS action payloads.

Critical Impact

Local attackers can exploit improper MPLS payload validation in Open vSwitch to achieve high confidentiality and availability impact through memory disclosure or system crashes.

Affected Products

  • Linux kernel (versions with Open vSwitch module)
  • Systems running Open vSwitch for network virtualization
  • Linux-based network infrastructure utilizing MPLS switching

Discovery Timeline

  • 2026-04-25 - CVE CVE-2026-31679 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-31679

Vulnerability Analysis

The vulnerability resides in the Open vSwitch kernel module's action validation logic. When processing MPLS SET or SET_MASKED actions, the validate_set() function failed to properly enforce size constraints on the MPLS key attribute payload. The OVS action handler expects MPLS key data to conform to the struct ovs_key_mpls structure, which has a fixed size. However, the validation routine treated the payload as variable-sized, creating a mismatch between what was accepted during validation and what the action handler expected during processing.

This input validation error can lead to out-of-bounds memory access when the kernel processes malformed MPLS action payloads. An attacker with local access could craft specially malformed OVS flow rules with incorrect MPLS payload sizes, potentially causing the kernel to read beyond buffer boundaries or corrupt adjacent memory structures.

Root Cause

The root cause is improper input validation in the validate_set() function within the Open vSwitch kernel module. The function failed to use the normalized key_len value (which accounts for both standard and masked cases) to validate that MPLS action key sizes match the expected fixed struct ovs_key_mpls size. The fix implements proper size validation by checking the already normalized key length and rejecting any MPLS action payloads that do not match the expected structure size.

Attack Vector

The attack requires local access to a system where the attacker can interact with the Open vSwitch datapath, typically through netlink interfaces used to configure OVS flow rules. An attacker would need sufficient privileges to create or modify OVS flow actions. The attack involves:

  1. Gaining access to the OVS management interface (requires local access and appropriate privileges)
  2. Crafting a flow rule with an MPLS SET or SET_MASKED action containing a malformed payload size
  3. Triggering the action processing to cause out-of-bounds memory access

The vulnerability could result in kernel memory disclosure (confidentiality impact) or system instability and crashes (availability impact). The fix rejects invalid MPLS action payload lengths early in the validation phase, preventing malformed payloads from reaching the action handler.

Detection Methods for CVE-2026-31679

Indicators of Compromise

  • Unexpected kernel crashes or panics involving the openvswitch kernel module
  • Unusual OVS flow rule configurations with abnormal MPLS action payloads
  • Kernel log messages indicating memory access violations in Open vSwitch code paths
  • Anomalous netlink communications targeting OVS datapath interfaces

Detection Strategies

  • Monitor kernel logs for oops/panic messages referencing Open vSwitch or ovs_key_mpls structures
  • Implement kernel module integrity monitoring to detect unexpected OVS behavior
  • Deploy endpoint detection solutions capable of identifying exploitation attempts against kernel vulnerabilities
  • Audit OVS flow rule modifications for suspicious MPLS action configurations

Monitoring Recommendations

  • Enable enhanced kernel logging for the Open vSwitch module during vulnerability assessment
  • Configure alerting for any kernel crashes involving network virtualization components
  • Monitor system stability metrics on servers running Open vSwitch workloads
  • Review netlink socket activity for suspicious OVS configuration changes

How to Mitigate CVE-2026-31679

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the MPLS payload length validation fix
  • Restrict local access to systems running Open vSwitch to trusted administrators only
  • Review and audit existing OVS flow rules for any suspicious MPLS action configurations
  • Consider temporarily disabling MPLS functionality in OVS if not required for operations

Patch Information

The Linux kernel maintainers have released patches to address this vulnerability. The fix implements proper validation by using the already normalized key_len value to check MPLS action key sizes and rejecting payloads that do not match the expected struct ovs_key_mpls size. Multiple stable kernel branches have received backported fixes:

  • Linux Kernel Commit Update 1
  • Linux Kernel Commit Update 2
  • Linux Kernel Commit Update 3
  • Linux Kernel Commit Update 4
  • Linux Kernel Commit Update 5
  • Linux Kernel Commit Update 6
  • Linux Kernel Commit Update 7
  • Linux Kernel Commit Update 8

Workarounds

  • Limit access to OVS management interfaces using SELinux or AppArmor policies
  • Implement network segmentation to restrict which users can configure OVS datapath rules
  • Use container isolation for OVS workloads to limit the impact of potential exploitation
  • Monitor and restrict CAP_NET_ADMIN capability assignments on affected systems
bash
# Check current kernel version for patching status
uname -r

# Verify Open vSwitch module is loaded
lsmod | grep openvswitch

# Restrict OVS management to specific users (example using chmod)
chmod 600 /var/run/openvswitch/db.sock

# Monitor kernel logs for OVS-related issues
dmesg | grep -i openvswitch

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • Technical References
  • Linux Kernel Commit Update 1

  • Linux Kernel Commit Update 2

  • Linux Kernel Commit Update 3

  • Linux Kernel Commit Update 4

  • Linux Kernel Commit Update 5

  • Linux Kernel Commit Update 6

  • Linux Kernel Commit Update 7

  • Linux Kernel Commit Update 8
  • Related CVEs
  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability

  • CVE-2026-31746: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31752: Linux Kernel ND Option Vulnerability

  • CVE-2026-31738: Linux Kernel VXLAN Option Validation Flaw
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