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-68785

CVE-2025-68785: Linux Kernel Buffer Overflow Vulnerability

CVE-2025-68785 is a buffer overflow flaw in the Linux kernel's openvswitch component that causes invalid memory access during NSH action validation. This article covers the technical details, affected systems, and mitigation.

Updated: January 22, 2026

CVE-2025-68785 Overview

A slab-out-of-bounds read vulnerability has been identified in the Linux kernel's Open vSwitch (OVS) module, specifically within the push_nsh() action handling. The vulnerability stems from missing validation of the middle attribute (OVS_KEY_ATTR_NSH) in the nested netlink attribute structure, allowing potential invalid memory access when processing Network Service Header (NSH) push operations.

Critical Impact

An attacker could trigger out-of-bounds memory reads through malformed netlink messages, potentially leading to information disclosure or kernel crashes. The vulnerability is exploitable through the netlink interface used to configure Open vSwitch flows.

Affected Products

  • Linux kernel with Open vSwitch (openvswitch) module enabled
  • Systems using OVS for network virtualization and SDN

Discovery Timeline

  • 2026-01-13 - CVE CVE-2025-68785 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2025-68785

Vulnerability Analysis

The vulnerability exists in how the Open vSwitch kernel module processes OVS_ACTION_ATTR_PUSH_NSH actions. The action structure uses nested netlink attributes in a three-level hierarchy:

  1. OVS_ACTION_ATTR_PUSH_NSH (outermost)
  2. OVS_KEY_ATTR_NSH (middle)
  3. OVS_NSH_KEY_ATTR_BASE/MD1/MD2 (innermost)

While the outermost attribute is validated by nla_for_each_nested() inside __ovs_nla_copy_actions(), and the innermost attributes are validated by nla_for_each_nested() inside nsh_key_put_from_nlattr(), the middle OVS_KEY_ATTR_NSH attribute lacks proper validation. The code performs a double unwrap using nla_data() calls without verifying that the middle attribute is correctly sized or even that it is an OVS_KEY_ATTR_NSH attribute.

Root Cause

The root cause is insufficient input validation in the netlink attribute parsing code. When processing the push_nsh() action, the kernel directly unwraps nested attributes without checking if the middle attribute's size is correct. During the initial validation phase, the failure may go unnoticed because the netlink buffer is larger than needed. However, during action execution, when the buffer is allocated exactly to the required size, attempting to access beyond the valid memory region triggers a KASAN (Kernel Address Sanitizer) detected slab-out-of-bounds error.

Attack Vector

An attacker with access to the netlink interface (typically requiring CAP_NET_ADMIN capability or root privileges) can craft a malicious netlink message containing an improperly sized OVS_KEY_ATTR_NSH attribute within an OVS_ACTION_ATTR_PUSH_NSH action. When this malformed action is executed via the ovs_packet_cmd_execute path, the nsh_hdr_from_nlattr() function attempts to copy memory based on the expected size rather than the actual attribute size, resulting in an out-of-bounds read from kernel slab memory.

The KASAN report from the CVE description shows the vulnerable code path:

  • nsh_hdr_from_nlattr() performs an unsafe memcpy operation
  • Called from push_nsh() in the openvswitch module
  • Triggered through do_execute_actions() → ovs_execute_actions() → ovs_packet_cmd_execute()
  • Accessible via the generic netlink interface (genl_rcv_msg)

Detection Methods for CVE-2025-68785

Indicators of Compromise

  • KASAN reports showing slab-out-of-bounds reads in nsh_hdr_from_nlattr() function
  • Kernel panic or oops messages originating from the openvswitch module
  • Unexpected memory access errors in kernel logs related to netlink processing
  • Suspicious netlink traffic patterns targeting the Open vSwitch generic netlink family

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) in development and testing environments to detect out-of-bounds memory access attempts
  • Monitor kernel logs for openvswitch module errors using tools like dmesg or centralized logging
  • Deploy kernel live patching solutions to detect exploitation attempts against known vulnerable functions
  • Implement netlink traffic monitoring to identify malformed OVS configuration messages

Monitoring Recommendations

  • Configure audit rules to monitor CAP_NET_ADMIN capability usage and netlink socket operations
  • Set up alerting for kernel oops or panic events specifically involving the openvswitch module
  • Monitor for unusual Open vSwitch flow rule modifications or packet execution commands
  • Use SentinelOne Singularity platform to detect kernel-level anomalies and potential exploitation attempts

How to Mitigate CVE-2025-68785

Immediate Actions Required

  • Update the Linux kernel to a patched version containing the fix for CVE-2025-68785
  • Restrict access to systems running Open vSwitch to trusted administrators only
  • Review and audit any custom OVS flow rules or configurations for potentially malicious entries
  • Consider temporarily disabling the openvswitch module if not actively required

Patch Information

The Linux kernel developers have released patches to address this vulnerability. The fix adds proper validation checks to ensure the middle attribute is correctly sized and is the only attribute inside the action. Multiple patch commits have been applied to the stable kernel branches:

  • Kernel Git Commit 10ffc55
  • Kernel Git Commit 1b569db
  • Kernel Git Commit 2ecfc44
  • Kernel Git Commit 5ace7ef
  • Kernel Git Commit c999153

Workarounds

  • Restrict netlink socket access by limiting CAP_NET_ADMIN capabilities to only essential processes
  • Implement network namespace isolation to limit the scope of potential exploitation
  • Deploy mandatory access control (MAC) policies using SELinux or AppArmor to restrict openvswitch module interactions
  • Monitor and rate-limit generic netlink messages to the Open vSwitch family
bash
# Configuration example - Restrict CAP_NET_ADMIN capability
# Review processes with network admin capabilities
getcap -r / 2>/dev/null | grep cap_net_admin

# Remove unnecessary CAP_NET_ADMIN from binaries
setcap -r /path/to/unnecessary/binary

# Use systemd to restrict capabilities for OVS services
# In /etc/systemd/system/openvswitch-switch.service.d/security.conf
# [Service]
# CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
# NoNewPrivileges=true

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechOpenvswitch

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 10ffc55

  • Kernel Git Commit 1b569db

  • Kernel Git Commit 2ecfc44

  • Kernel Git Commit 5ace7ef

  • Kernel Git Commit c999153
  • Related CVEs
  • CVE-2020-35498: Openvswitch DOS Vulnerability
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