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

CVE-2026-22977: Linux Kernel Use-After-Free Vulnerability

CVE-2026-22977 is a use-after-free vulnerability in the Linux kernel's sock_recv_errqueue function that triggers hardened usercopy panics. This article covers the technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2026-22977 Overview

A kernel vulnerability has been identified in the Linux kernel's networking subsystem involving hardened usercopy protections. The vulnerability exists in the sock_recv_errqueue function where the skbuff_fclone_cache was created without defining a proper usercopy region, unlike skbuff_head_cache which properly whitelists the cb[] field. This causes a usercopy BUG() panic when CONFIG_HARDENED_USERCOPY is enabled and the kernel attempts to copy sk_buff.cb data to userspace via sock_recv_errqueue() → put_cmsg().

Critical Impact

Systems with CONFIG_HARDENED_USERCOPY enabled can experience kernel panics when processing socket error queue messages containing timestamp data from cloned skbs allocated from skbuff_fclone_cache.

Affected Products

  • Linux kernel with CONFIG_HARDENED_USERCOPY enabled
  • Systems using TCP timestamp reporting via socket error queues
  • Linux kernel versions prior to the security patch

Discovery Timeline

  • January 21, 2026 - CVE CVE-2026-22977 published to NVD
  • January 21, 2026 - Last updated in NVD database

Technical Details for CVE-2026-22977

Vulnerability Analysis

This vulnerability stems from an inconsistency in how SLAB object usercopy regions are defined for different skbuff caches in the Linux kernel. When CONFIG_HARDENED_USERCOPY is enabled, the kernel enforces strict checks to prevent arbitrary kernel memory from being copied to userspace. The skbuff_head_cache correctly defines a usercopy whitelist for the cb[] (control buffer) field, but skbuff_fclone_cache was created without this same protection.

The crash occurs through a specific sequence: TCP allocates an skb using alloc_skb_fclone() from skbuff_fclone_cache, the skb is cloned via skb_clone() using the pre-allocated fclone, the cloned skb is queued to sk_error_queue for timestamp reporting, and when userspace reads the error queue via recvmsg(MSG_ERRQUEUE), the sock_recv_errqueue() function calls put_cmsg() to copy serr->ee from skb->cb. At this point, __check_heap_object() fails because skbuff_fclone_cache has no usercopy whitelist defined.

The crash offset of 296 corresponds to skb2->cb within the skbuff_fclones structure, calculated as: sizeof(struct sk_buff) (232) + offsetof(struct sk_buff, cb) (40) = 272, with the crash occurring at offset 296 (272 + 24, inside sock_exterr_skb.ee).

Root Cause

The root cause is the missing usercopy region definition in skbuff_fclone_cache creation. While skbuff_head_cache properly defines which portions of the sk_buff structure can be safely copied to userspace (specifically the cb[] field used for control data), the fclone cache was created without equivalent protections. This oversight means that when cloned skbs from this cache are used in operations that copy data to userspace, the hardened usercopy mechanism correctly identifies this as a potential kernel memory exposure attempt and triggers a kernel BUG.

Attack Vector

The vulnerability is triggered when:

  1. A TCP connection allocates skbs from skbuff_fclone_cache for operations requiring cloning
  2. The cloned skb is used to report timestamps or other socket-level errors
  3. The application calls recvmsg() with MSG_ERRQUEUE flag to retrieve error queue data
  4. The kernel's put_cmsg() attempts to copy the sock_exterr_skb structure from skb->cb to userspace
  5. The hardened usercopy check detects the copy from an unmarked region and triggers a kernel panic

The kernel panic message indicates: "usercopy: Kernel memory exposure attempt detected from SLUB object 'skbuff_fclone_cache' (offset 296, size 16)!"

This is primarily a denial-of-service condition that can be triggered by any local process with the ability to create network sockets and read error queues, particularly affecting TLS connections using timestamp reporting functionality.

Detection Methods for CVE-2026-22977

Indicators of Compromise

  • Kernel panic messages containing "usercopy: Kernel memory exposure attempt detected from SLUB object 'skbuff_fclone_cache'"
  • System crashes with stack traces showing usercopy_abort, __check_heap_object, and put_cmsg in the call chain
  • Repeated kernel BUG reports in /var/log/kern.log or dmesg output referencing mm/usercopy.c

Detection Strategies

  • Monitor system logs for kernel oops or BUG messages mentioning skbuff_fclone_cache or usercopy violations
  • Check for processes calling recvmsg() with MSG_ERRQUEUE flag that precede system crashes
  • Review kernel configuration to determine if CONFIG_HARDENED_USERCOPY is enabled
  • Implement kernel tracing on sock_recv_errqueue() and put_cmsg() functions to identify triggering conditions

Monitoring Recommendations

  • Deploy kernel crash dump collection (kdump) to capture diagnostic information when panics occur
  • Enable audit logging for socket operations, particularly error queue reads
  • Monitor for abnormal rates of TLS connection establishments that may be attempting to trigger the vulnerability
  • Use SentinelOne Singularity Platform for real-time kernel-level anomaly detection and automated response

How to Mitigate CVE-2026-22977

Immediate Actions Required

  • Apply the kernel patches from the official Linux kernel git repository
  • If patching is not immediately possible, consider temporarily disabling CONFIG_HARDENED_USERCOPY (note: this reduces overall kernel security)
  • Restrict local user access to prevent untrusted users from triggering the vulnerability
  • Monitor systems for crash events and prioritize patching on affected hosts

Patch Information

Multiple patches have been released to address this vulnerability. The fix introduces a local stack variable as a bounce buffer to avoid the hardened usercopy check failure when copying data from skb->cb to userspace. Organizations should apply the appropriate patch for their kernel version:

  • Kernel commit 005671c60fcf
  • Kernel commit 2a71a1a8d0ed
  • Kernel commit 582a5e922a96
  • Kernel commit 88dd6be7ebb3
  • Kernel commit 8c6901aa2962
  • Kernel commit c655d2167bf0
  • Kernel commit e00b169eaac5

Workarounds

  • Recompile the kernel with CONFIG_HARDENED_USERCOPY=n to disable the hardened usercopy checks (reduces security posture)
  • Limit local user access to sensitive systems until patches can be applied
  • If TLS timestamp reporting is not required, consider disabling socket timestamp options at the application level
  • Use container isolation to limit the blast radius of potential kernel panics
bash
# Check if CONFIG_HARDENED_USERCOPY is enabled on your system
zcat /proc/config.gz | grep CONFIG_HARDENED_USERCOPY

# Alternatively, check the kernel config file
grep CONFIG_HARDENED_USERCOPY /boot/config-$(uname -r)

# Check current kernel version
uname -r

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Linux Kernel Commit Update

  • Linux Kernel Commit Update

  • Linux Kernel Commit Update

  • Linux Kernel Commit Update

  • Linux Kernel Commit Update

  • Linux Kernel Commit Update

  • Linux Kernel Commit Update
  • Related CVEs
  • CVE-2026-23427: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23428: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23443: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23322: Linux Kernel Use-After-Free 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