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

CVE-2025-13350: Ubuntu Linux Use-After-Free Vulnerability

CVE-2025-13350 is a use-after-free flaw in Ubuntu Linux 6.8 affecting AF_UNIX garbage collection that enables local privilege escalation. This post covers technical details, affected versions, impact, and mitigation.

Published: March 6, 2026

CVE-2025-13350 Overview

CVE-2025-13350 is a use-after-free (UAF) vulnerability in Ubuntu Linux 6.8 (Noble Numbat) kernel that enables reliable local privilege escalation (LPE). The vulnerability arises from a reference counting mismatch in the AF_UNIX socket garbage collector when handling out-of-band (OOB) socket buffers. Ubuntu Linux 6.8 retains the legacy AF_UNIX garbage collector while also incorporating an upstream backport that modifies OOB SKB reference handling, creating a dangerous inconsistency that allows attackers to exploit freed memory.

Critical Impact

This vulnerability enables local attackers to achieve privilege escalation through a reliable use-after-free condition in the kernel's AF_UNIX socket garbage collection mechanism.

Affected Products

  • Ubuntu Linux 6.8 (Noble Numbat) kernel versions 6.8.0-56.58 through 6.8.0-84.84

Discovery Timeline

  • 2026-03-05 - CVE CVE-2025-13350 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2025-13350

Vulnerability Analysis

The vulnerability stems from an incompatibility between Ubuntu's legacy AF_UNIX garbage collector and the backported upstream commit 8594d9b85c07 ("af_unix: Don't call skb_get() for OOB skb"). In mainline Linux kernels and Ubuntu builds with the new garbage collection infrastructure from commit 4090fa373f0e, this issue does not manifest because the legacy collector path is no longer executed.

When orphaned MSG_OOB sockets enter the unix_gc() function in affected Ubuntu kernels, the garbage collector incorrectly assumes OOB SKBs (socket buffers) hold two references—one from the queue and one additional reference. However, following the backported commit, OOB SKBs only retain the queue reference. This reference count mismatch causes kfree_skb() to free the buffer prematurely while it remains reachable in the socket queue.

Subsequent queue traversals then dereference the freed memory, creating a classic use-after-free condition that can be reliably exploited for local privilege escalation. The attack requires local access and the ability to manipulate AF_UNIX sockets with out-of-band data.

Root Cause

The root cause is a reference counting error introduced by the partial backport of upstream changes. The upstream commit 8594d9b85c07 removed the additional skb_get() call for OOB SKBs, reducing their reference count from two to one. However, Ubuntu's retention of the legacy garbage collector—which was designed to work with the old two-reference model—means unix_gc() still calls kfree_skb() expecting to decrement two references. With only one reference present, this results in immediate memory deallocation while the SKB pointer remains in the socket queue, creating the use-after-free condition.

Attack Vector

This is a local attack vector requiring authenticated access to the system. An attacker with local user privileges can exploit this vulnerability by:

  1. Creating AF_UNIX socket pairs and sending out-of-band (MSG_OOB) data
  2. Manipulating socket states to trigger garbage collection on orphaned OOB sockets
  3. Racing the garbage collector to access the freed SKB memory
  4. Leveraging the use-after-free to achieve kernel memory corruption and privilege escalation

The exploitation is described as "reliable" in the vulnerability disclosure, indicating that race conditions can be won consistently, making this a practical privilege escalation vector for local attackers.

Detection Methods for CVE-2025-13350

Indicators of Compromise

  • Unusual kernel crashes or panics related to unix_gc() or AF_UNIX socket handling
  • Suspicious local processes manipulating large numbers of AF_UNIX socket pairs with OOB data
  • Kernel log entries indicating memory corruption or invalid memory references in socket subsystems
  • Evidence of privilege escalation from unprivileged user accounts

Detection Strategies

  • Monitor kernel logs for oops or panics involving unix_gc, kfree_skb, or AF_UNIX related functions
  • Implement process behavioral monitoring to detect unusual AF_UNIX socket creation patterns
  • Deploy kernel-level monitoring for anomalous socket operations involving MSG_OOB flags
  • Utilize SentinelOne's behavioral AI to detect post-exploitation privilege escalation activities

Monitoring Recommendations

  • Enable kernel crash dump collection to capture forensic evidence of exploitation attempts
  • Monitor for unexpected SUID binary execution or capability escalation from standard user processes
  • Track AF_UNIX socket operations in high-security environments using eBPF-based monitoring
  • Configure alerts for processes that exhibit rapid socket creation and destruction patterns typical of UAF exploitation

How to Mitigate CVE-2025-13350

Immediate Actions Required

  • Update Ubuntu Linux 6.8 kernel to version 6.8.0-84.84 or later
  • Restrict local system access to trusted users until patching is complete
  • Monitor systems for signs of exploitation using the detection strategies above
  • Consider implementing additional access controls on multi-user systems

Patch Information

Ubuntu has released patches to address this vulnerability. The fix is available in kernel version 6.8.0-84.84 and later. The patch can be tracked through the Launchpad Bug Report and the corresponding kernel commit. Additional technical details are available on the OSS Security mailing list.

Mainline Linux kernels that have adopted the new garbage collection infrastructure from commit 4090fa373f0e are not affected by this vulnerability.

Workarounds

  • Limit local access to affected systems to reduce the attack surface
  • Consider restricting AF_UNIX socket creation capabilities using security modules like AppArmor or SELinux where feasible
  • Implement enhanced monitoring to detect exploitation attempts until patches can be applied
  • For critical systems, evaluate temporarily migrating workloads to unaffected kernel versions
bash
# Check current kernel version
uname -r

# Update to patched kernel on Ubuntu
sudo apt update
sudo apt install linux-image-6.8.0-84-generic

# Reboot to apply the new kernel
sudo reboot

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/TechUbuntu

  • SeverityHIGH

  • CVSS Score7.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-416
  • Technical References
  • Launchpad Bug Report

  • Launchpad Commit for Linux

  • Openwall OSS Security Mailing
  • Related CVEs
  • CVE-2025-15480: Ubuntu Desktop Provision Information Leak

  • CVE-2025-14551: Ubuntu Subiquity Credential Leak Vulnerability

  • CVE-2026-3888: snapd Privilege Escalation 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