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

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

CVE-2026-43016 is a use-after-free vulnerability in the Linux kernel's BPF sockmap that allows memory corruption via AF_UNIX sockets. This post explains the technical details, affected versions, impact, and mitigation.

Published: May 7, 2026

CVE-2026-43016 Overview

CVE-2026-43016 is a use-after-free vulnerability in the Linux kernel's BPF sockmap implementation. The flaw resides in sk_psock_verdict_data_ready() in net/core/skmsg.c and was reported by syzbot through KASAN instrumentation. The issue affects AF_UNIX stream sockets where the peer socket's ->sk_data_ready() is invoked after unix_state_lock() is released. While the sender holds the peer's refcount, this does not prevent sock_orphan() from running, allowing the peer's sk->sk_socket to be freed after one RCU grace period. A local attacker with the ability to create UNIX sockets can trigger memory corruption in kernel space.

Critical Impact

Local exploitation can corrupt kernel memory through use-after-free of sk->sk_socket, potentially leading to privilege escalation or kernel denial of service.

Affected Products

  • Linux kernel branches containing the BPF sockmap verdict handling code in net/core/skmsg.c
  • Systems using AF_UNIX stream sockets with sockmap eBPF programs attached
  • Distributions shipping affected kernel versions prior to the upstream fix commits

Discovery Timeline

  • 2026-05-01 - CVE-2026-43016 published to NVD
  • 2026-05-03 - Last updated in NVD database

Technical Details for CVE-2026-43016

Vulnerability Analysis

The vulnerability is a use-after-free [CWE-416] in the Linux kernel networking stack, specifically in the BPF sockmap subsystem. The function sk_psock_verdict_data_ready() dereferences sk->sk_socket and sk->sk_socket->ops on a peer AF_UNIX socket whose backing struct socket may already have been freed.

In unix_stream_sendmsg() at net/unix/af_unix.c:2482, the sender invokes the peer socket's ->sk_data_ready() callback after dropping unix_state_lock(). The sender holds a reference on the peer sock structure, but that reference does not protect the associated struct socket from being detached via sock_orphan(). Once orphaned, sk_socket is freed asynchronously through an RCU grace period.

The KASAN report confirms a slab-use-after-free read of 8 bytes in sk_psock_verdict_data_ready+0xec/0x590. The freed object originates from sock_alloc_inode() allocated during __sys_socketpair(), and is released via kmem_cache_free during RCU batch processing.

Root Cause

The root cause is missing RCU protection when accessing the peer socket's sk_socket field. The sockmap verdict path assumed the struct socket would remain valid for the duration of the data-ready callback, but sock_orphan() can NULL out and free sk_socket independently of the sock reference count.

Attack Vector

A local unprivileged user creates a UNIX socket pair, attaches a sockmap eBPF program, and induces a race between unix_stream_sendmsg() on one side and close() or process termination on the peer. By winning the race after unix_state_lock() is released but before the data-ready callback completes, the attacker triggers a dereference of freed slab memory. The fix fetches sk->sk_socket and sk->sk_socket->ops under rcu_read_lock() inside sk_psock_verdict_data_ready(), ensuring the structure remains valid for the duration of the access.

Detection Methods for CVE-2026-43016

Indicators of Compromise

  • KASAN reports referencing slab-use-after-free in sk_psock_verdict_data_ready in kernel logs
  • Unexpected kernel oopses or panics with call traces through unix_stream_sendmsg and sk_psock_verdict_data_ready
  • dmesg entries showing BUG reports tied to net/core/skmsg.c:1278

Detection Strategies

  • Audit running kernel versions against the upstream stable commits 18861f87a043, 68187f18a89b, 8d597e3e7402, ad8391d37f33, and af95bc39a83d to identify unpatched hosts
  • Monitor for processes that load BPF sockmap programs and operate on AF_UNIX socket pairs, since exploitation requires this configuration
  • Enable CONFIG_KASAN in test environments to surface use-after-free conditions during fuzz testing

Monitoring Recommendations

  • Forward kernel ring buffer messages to a centralized log pipeline and alert on KASAN, BUG, and Oops keywords
  • Track bpf() syscall usage with audit rules to identify processes attaching sockmap programs
  • Correlate kernel crash telemetry with the affected call stack to detect exploitation attempts

How to Mitigate CVE-2026-43016

Immediate Actions Required

  • Apply the upstream stable kernel update containing the RCU-protected fix to sk_psock_verdict_data_ready() as soon as your distribution publishes it
  • Inventory all Linux hosts running kernels with BPF sockmap support and prioritize multi-tenant systems where local users are untrusted
  • Restrict the bpf() syscall using kernel.unprivileged_bpf_disabled=1 to limit which users can attach sockmap programs

Patch Information

The fix is published across multiple stable branches via the following commits: Linux Kernel Commit 18861f87a043, Linux Kernel Commit 68187f18a89b, Linux Kernel Commit 8d597e3e7402, Linux Kernel Commit ad8391d37f33, and Linux Kernel Commit af95bc39a83d. Rebuild and reboot into the patched kernel to take effect.

Workarounds

  • Set kernel.unprivileged_bpf_disabled=1 via sysctl to block non-root users from loading BPF programs that exercise the vulnerable path
  • Apply seccomp filters in untrusted workloads to deny the bpf() syscall where it is not required
  • Avoid attaching sockmap verdict programs to AF_UNIX stream sockets on unpatched kernels until the fix is deployed
bash
# Disable unprivileged BPF as a temporary mitigation
sudo sysctl -w kernel.unprivileged_bpf_disabled=1
echo 'kernel.unprivileged_bpf_disabled=1' | sudo tee /etc/sysctl.d/90-bpf.conf

# Verify running kernel against patched stable releases
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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

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

  • Linux Kernel Commit

  • Linux Kernel Commit

  • Linux Kernel Commit

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

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

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

  • CVE-2026-43163: 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