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-2026-23397

CVE-2026-23397: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-23397 is a buffer overflow vulnerability in the Linux kernel's nfnetlink_osf component that allows null pointer dereferences and out-of-bounds reads. This article covers the technical details, impact, and mitigation.

Published: March 27, 2026

CVE-2026-23397 Overview

A vulnerability has been identified in the Linux kernel's nfnetlink_osf subsystem where insufficient validation of individual option length fields in OS fingerprints can lead to a null pointer dereference and out-of-bounds read conditions. The nfnl_osf_add_callback() function validates opt_num bounds and string NUL-termination but fails to check individual option length fields, allowing malformed fingerprints to trigger memory safety violations during packet matching operations.

Critical Impact

This vulnerability can cause kernel panics via null pointer dereference when processing packets with no TCP options, and potential information disclosure through out-of-bounds reads when handling malformed MSS options with insufficient length values.

Affected Products

  • Linux kernel (nfnetlink_osf module)
  • Linux kernel (netfilter subsystem)
  • Systems using iptables with OS fingerprinting (xt_osf)

Discovery Timeline

  • 2026-03-26 - CVE CVE-2026-23397 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-23397

Vulnerability Analysis

The vulnerability exists in the Linux kernel's netfilter OS fingerprinting module (nfnetlink_osf). When fingerprints are added via nfnl_osf_add_callback(), the function performs validation on opt_num bounds and ensures string NUL-termination, but critically neglects to validate individual option length fields within the fingerprint data structure.

This oversight creates two distinct exploitation paths:

  1. Null Pointer Dereference: A zero-length option causes nf_osf_match_one() to enter the option matching loop even when foptsize sums to zero. This matches packets with no TCP options where ctx->optp is NULL, resulting in a general protection fault when the kernel attempts to dereference the null pointer.

  2. Out-of-Bounds Read: An MSS option (kind=2) with length less than 4 bytes triggers out-of-bounds memory reads. The nf_osf_match_one() function unconditionally accesses optp[2] and optp[3] for MSS value extraction, assuming the standard 4-byte MSS option format per RFC 9293 section 3.2.

Root Cause

The root cause is missing input validation in nfnl_osf_add_callback() for individual option length fields within fingerprint entries. The function trusts that option lengths are valid without enforcing that:

  • No option has a zero length value
  • MSS options (kind=2) have a minimum length of 4 bytes

This allows malformed fingerprints to be added to the kernel's fingerprint database, which are then used in the packet matching hot path where invalid lengths cause memory safety violations.

Attack Vector

An attacker with sufficient privileges to add OS fingerprints via netlink could inject a malformed fingerprint with zero-length options or undersized MSS options. When network packets are subsequently processed against this fingerprint database, the kernel encounters:

  • A null pointer dereference when matching packets without TCP options against a fingerprint with zero-length options
  • Out-of-bounds reads when matching packets with TCP options against fingerprints containing MSS options with length < 4

The kernel crash manifests with the following call trace:

Oops: general protection fault
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
RIP: 0010:nf_osf_match_one (net/netfilter/nfnetlink_osf.c:98)
Call Trace:
nf_osf_match (net/netfilter/nfnetlink_osf.c:227)
xt_osf_match_packet (net/netfilter/xt_osf.c:32)
ipt_do_table (net/ipv4/netfilter/ip_tables.c:293)
nf_hook_slow (net/netfilter/core.c:623)
ip_local_deliver (net/ipv4/ip_input.c:262)
ip_rcv (net/ipv4/ip_input.c:573)

Detection Methods for CVE-2026-23397

Indicators of Compromise

  • Kernel panic or crash logs containing references to nf_osf_match_one or nf_osf_match
  • KASAN reports indicating null pointer dereference in net/netfilter/nfnetlink_osf.c
  • System instability or unexpected reboots on systems using iptables OS fingerprinting
  • Kernel log entries showing general protection faults in netfilter subsystem

Detection Strategies

  • Monitor kernel logs for KASAN reports or general protection faults referencing the nfnetlink_osf module
  • Implement audit logging for netlink operations that add OS fingerprints via nfnl_osf_add_callback
  • Deploy kernel crash dump analysis to identify exploitation attempts targeting this vulnerability
  • Review iptables rules for use of the osf match module which indicates potential exposure

Monitoring Recommendations

  • Enable KASAN (Kernel Address Sanitizer) on development and testing systems to detect memory safety violations
  • Configure kdump or similar crash dump mechanisms to capture kernel state upon panic for forensic analysis
  • Monitor for repeated system crashes or reboots that may indicate active exploitation attempts
  • Implement network traffic monitoring for unusual TCP option patterns on affected systems

How to Mitigate CVE-2026-23397

Immediate Actions Required

  • Apply the latest kernel security patches from your distribution vendor
  • If patching is not immediately possible, consider disabling or removing iptables rules using the osf match module
  • Restrict access to netlink operations that can add OS fingerprints to trusted users only
  • Review and validate any existing OS fingerprint configurations for malformed entries

Patch Information

The Linux kernel maintainers have released patches that reject fingerprints at add time where any option has zero length, or where an MSS option has length less than 4. Multiple patch commits are available for different kernel branches:

  • Kernel Patch Commit 224f467
  • Kernel Patch Commit 3932620
  • Kernel Patch Commit 4c6aa00
  • Kernel Patch Commit aa05741
  • Kernel Patch Commit dbdfaae
  • Kernel Patch Commit ec8bf05

Workarounds

  • Disable OS fingerprinting functionality in iptables if not required for operations
  • Remove iptables rules that use the -m osf match module
  • Restrict netlink socket access via SELinux or AppArmor policies to prevent unauthorized fingerprint additions
  • Implement network segmentation to limit exposure of affected systems
bash
# Check for iptables rules using OS fingerprinting
iptables -L -n -v | grep -i osf

# Remove osf module if not needed
modprobe -r xt_osf
modprobe -r nfnetlink_osf

# Block module loading (temporary workaround)
echo "install xt_osf /bin/false" >> /etc/modprobe.d/blacklist-osf.conf
echo "install nfnetlink_osf /bin/false" >> /etc/modprobe.d/blacklist-osf.conf

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 Patch Commit 224f467

  • Kernel Patch Commit 3932620

  • Kernel Patch Commit 4c6aa00

  • Kernel Patch Commit aa05741

  • Kernel Patch Commit dbdfaae

  • Kernel Patch Commit ec8bf05
  • Related CVEs
  • CVE-2026-23323: Linux Kernel Buffer Overflow Vulnerability

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

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

  • CVE-2026-23395: Linux Kernel Bluetooth Buffer Overflow
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