A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-31531

CVE-2026-31531: Linux Kernel DOS Vulnerability

CVE-2026-31531 is a denial-of-service flaw in Linux Kernel affecting nexthop object queries that can cause system warnings with large nexthop groups. This article covers the technical details, impact, and mitigation.

Updated: May 14, 2026

CVE-2026-31531 Overview

CVE-2026-31531 is a denial-of-service vulnerability in the Linux kernel's IPv4 nexthop subsystem. The flaw resides in the rtm_get_nexthop() function within net/ipv4/nexthop.c. When a user queries a nexthop object via the RTM_GETNEXTHOP netlink message, the kernel allocates a fixed-size socket buffer using NLMSG_GOODSIZE. This fixed allocation cannot accommodate large nexthop groups containing hundreds of entries, such as 512 nexthops. The result is a kernel warning splat and failed netlink operation, disrupting routing query functionality on affected systems.

Critical Impact

A local user with netlink access can trigger a kernel warning and disrupt nexthop query operations by requesting metadata for large Equal-Cost Multi-Path (ECMP) groups.

Affected Products

  • Linux Kernel (multiple stable branches)
  • Linux Kernel 7.0-rc1 through 7.0-rc7
  • Systems using IPv4 nexthop objects with large ECMP groups

Discovery Timeline

  • 2026-04-23 - CVE-2026-31531 published to NVD
  • 2026-04-28 - Last updated in NVD database

Technical Details for CVE-2026-31531

Vulnerability Analysis

The vulnerability stems from a static buffer allocation pattern in the kernel's netlink response path for nexthop queries. When rtm_get_nexthop() processes an RTM_GETNEXTHOP request, it allocates an sk_buff using the constant NLMSG_GOODSIZE. This size is sufficient for single nexthops and small ECMP groups but fails when serializing larger groups.

Queries against nexthop groups containing 512 entries exceed the available buffer space. The kernel triggers a warning at net/ipv4/nexthop.c:3395 and the operation fails with the message addattr_l ERROR: message exceeded bound of 1048. The call path traverses rtnetlink_rcv_msg, netlink_rcv_skb, and netlink_unicast before failing.

The issue is categorized as a kernel resource handling defect [CWE-noinfo]. While the public iproute2 utility limits group size and cannot directly reproduce the condition, custom netlink clients can construct larger groups and trigger the failure.

Root Cause

The root cause is the use of a hardcoded buffer size that does not scale with the actual response payload. The fix replaces the static NLMSG_GOODSIZE allocation with a dynamic calculation using nh_nlmsg_size() and nlmsg_new(). This aligns rtm_get_nexthop() behavior with the existing nexthop_notify() function. The patch also adjusts nh_nlmsg_size_grp() to compute size based on passed flags and adds the missing NHA_FDB attribute size to the group size calculation.

Attack Vector

Exploitation requires local access and the ability to send netlink messages to the kernel. An attacker with CAP_NET_ADMIN or sufficient privileges to interact with the routing netlink interface can craft a request targeting a large nexthop group. The result is a kernel warning splat and disruption of nexthop query functionality, impacting availability of routing management operations.

The vulnerability does not expose memory contents or allow code execution. Impact is limited to availability of the nexthop subsystem.

Detection Methods for CVE-2026-31531

Indicators of Compromise

  • Kernel warning messages referencing rtm_get_nexthop+0x176/0x1c0 in dmesg or /var/log/kern.log
  • Netlink errors containing addattr_l ERROR: message exceeded bound of 1048
  • Repeated failed RTM_GETNEXTHOP requests from non-administrative processes

Detection Strategies

  • Monitor kernel logs for WARNING entries originating from net/ipv4/nexthop.c
  • Audit running kernel versions across Linux fleets against patched stable releases
  • Track netlink socket activity for processes issuing RTM_GETNEXTHOP against large nexthop groups

Monitoring Recommendations

  • Enable kernel audit rules to capture netlink syscalls from unprivileged users
  • Forward kernel ring buffer messages to a centralized logging platform for correlation
  • Alert on unexpected WARN_ON traces in the network stack across production hosts

How to Mitigate CVE-2026-31531

Immediate Actions Required

  • Inventory all Linux hosts running affected kernel versions, including 7.0 release candidates
  • Apply the upstream stable kernel patches referenced by the Linux maintainers
  • Restrict netlink access to trusted administrative accounts where feasible
  • Validate that monitoring tools are capturing kernel warning splats

Patch Information

The Linux kernel maintainers have released fixes across multiple stable branches. Apply the patches identified by commits 14cf0cd, 40bd39e, 615517f, and 635038fe. The fix replaces the fixed-size allocation with a dynamic size computed via nh_nlmsg_size() and adds the missing NHA_FDB attribute size to group calculations.

Workarounds

  • Limit creation of large nexthop groups exceeding several hundred entries until patches are deployed
  • Constrain CAP_NET_ADMIN capability assignment to required service accounts
  • Use kernel lockdown or seccomp filters to restrict netlink usage in untrusted contexts
bash
# Verify current kernel version and check against patched releases
uname -r

# Audit nexthop group sizes currently configured
ip nexthop show | awk '/group/ {print $0}' | wc -l

# Restrict CAP_NET_ADMIN to required users via systemd unit
# AmbientCapabilities=
# CapabilityBoundingSet=~CAP_NET_ADMIN

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Vendor Resources
  • Kernel Patch 14cf0cd

  • Kernel Patch 40bd39e

  • Kernel Patch 615517f

  • Kernel Patch 635038fe
  • Related CVEs
  • CVE-2026-46206: Linux Kernel batman-adv DoS Vulnerability

  • CVE-2026-43492: Linux Kernel MPI Integer Underflow DoS

  • CVE-2026-43491: Linux Kernel QRTR NS DoS Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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