Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2023-32629

CVE-2023-32629: Ubuntu Linux Privilege Escalation Flaw

CVE-2023-32629 is a local privilege escalation vulnerability in Ubuntu Linux kernels affecting the overlayfs component. Attackers can exploit permission check bypasses to gain elevated access. Learn the technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-32629 Overview

CVE-2023-32629 is a local privilege escalation vulnerability affecting Ubuntu Linux kernels through the OverlayFS filesystem implementation. The vulnerability exists in the ovl_copy_up_meta_inode_data function, which improperly skips permission checks when calling ovl_do_setxattr on Ubuntu kernels. This flaw allows a local attacker with low privileges to escalate their privileges to root, potentially gaining complete control over the affected system.

Critical Impact

Local attackers can exploit this OverlayFS vulnerability to bypass permission checks and escalate privileges to root on affected Ubuntu systems, enabling full system compromise.

Affected Products

  • Canonical Ubuntu Linux 23.04
  • Ubuntu kernels with vulnerable OverlayFS implementation

Discovery Timeline

  • July 26, 2023 - CVE-2023-32629 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-32629

Vulnerability Analysis

This vulnerability stems from improper authorization (CWE-863) in the Ubuntu kernel's OverlayFS implementation. OverlayFS is a union filesystem that allows layering of multiple directories, commonly used in container environments and system snapshots. The vulnerability specifically affects the copy-up operation, which is triggered when a file from the lower layer needs to be modified.

When a file undergoes copy-up in OverlayFS, the ovl_copy_up_meta_inode_data function is responsible for copying metadata, including extended attributes (xattrs). The vulnerable code path fails to properly verify that the calling process has sufficient permissions before invoking ovl_do_setxattr. This authorization bypass allows unprivileged users to manipulate extended attributes in ways that should require elevated privileges.

The local attack vector requires an authenticated user to have access to the target system. Once exploited, the attacker gains the ability to achieve high impact on confidentiality, integrity, and availability—effectively compromising the entire system.

Root Cause

The root cause of CVE-2023-32629 is improper authorization handling in the OverlayFS subsystem of Ubuntu kernels. Specifically, the ovl_copy_up_meta_inode_data function does not perform adequate permission checks before calling ovl_do_setxattr. This oversight allows operations that should be restricted to privileged users to be performed by any local user with access to an OverlayFS mount. The vulnerability is classified under CWE-863 (Incorrect Authorization), indicating a fundamental flaw in the access control logic.

Attack Vector

The attack requires local access to a system running an affected Ubuntu kernel with OverlayFS functionality available. An attacker would:

  1. Mount or access an existing OverlayFS filesystem
  2. Trigger a copy-up operation on a file from the lower layer
  3. Exploit the missing permission checks to manipulate extended attributes
  4. Leverage the manipulated attributes to escalate privileges to root

The exploitation does not require user interaction, making it a viable target for automated attacks once an attacker has local access to the system.

The vulnerability mechanism involves the OverlayFS copy-up process where metadata is transferred between filesystem layers. During this operation, the kernel fails to validate whether the calling process has appropriate permissions for extended attribute operations. Detailed technical analysis is available in the Wiz Blog Ubuntu OverlayFS Vulnerability report.

Detection Methods for CVE-2023-32629

Indicators of Compromise

  • Unexpected privilege escalation events in system logs from low-privileged users
  • Suspicious OverlayFS mount operations or unusual copy-up activity
  • Modified extended attributes on files within OverlayFS mounts without corresponding authorized actions
  • Anomalous process execution with elevated privileges following OverlayFS operations

Detection Strategies

  • Monitor kernel audit logs for OverlayFS-related syscalls, particularly those involving setxattr operations
  • Deploy file integrity monitoring on critical system directories that may be exposed through OverlayFS
  • Implement runtime security solutions that can detect privilege escalation attempts at the kernel level
  • Review container escape attempts that leverage OverlayFS, especially in Docker and Kubernetes environments

Monitoring Recommendations

  • Enable auditd rules to log all extended attribute modifications: auditctl -a always,exit -F arch=b64 -S setxattr,lsetxattr,fsetxattr
  • Monitor for processes spawning with unexpected UID changes following filesystem operations
  • Track OverlayFS mount events and correlate with subsequent privilege changes
  • Implement endpoint detection and response (EDR) solutions capable of detecting kernel-level exploitation

How to Mitigate CVE-2023-32629

Immediate Actions Required

  • Apply Ubuntu security updates immediately, particularly those referenced in Ubuntu Security Notice USN-6250-1
  • Restrict unprivileged user namespace creation if not required: sysctl -w kernel.unprivileged_userns_clone=0
  • Limit access to OverlayFS functionality for non-essential users
  • Review and audit existing OverlayFS mounts for potential misuse

Patch Information

Canonical has released security patches to address this vulnerability. The official security notice USN-6250-1 provides updated kernel packages that remediate the improper permission checks in the OverlayFS copy-up process. Additionally, Kernel Live Patch Security Notice LSN-0097-1 is available for systems using Ubuntu's Livepatch service, allowing patching without rebooting.

System administrators should update to the latest kernel version using apt update && apt upgrade and verify the kernel version matches the patched releases listed in the security notices.

Workarounds

  • Disable unprivileged user namespaces to prevent exploitation in containerized environments
  • Restrict OverlayFS mount capabilities using AppArmor or SELinux policies
  • Implement network segmentation to limit lateral movement if a system is compromised
  • Consider disabling OverlayFS module if not required: modprobe -r overlay (may impact container workloads)
bash
# Disable unprivileged user namespaces as a temporary mitigation
echo "kernel.unprivileged_userns_clone=0" >> /etc/sysctl.conf
sysctl -p

# Verify current kernel version
uname -r

# Apply security updates
apt update && apt upgrade -y linux-image-generic

# Reboot to load patched kernel
systemctl reboot

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechUbuntu Linux

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability62.84%

  • 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
  • CWE References
  • CWE-863
  • Technical References
  • Packet Storm Security Notice

  • CVE-2023-32629 Details

  • Wiz Blog Ubuntu OverlayFS Vulnerability
  • Vendor Resources
  • Ubuntu Kernel Team Archive

  • Ubuntu Security Notice USN-6250-1
  • Related CVEs
  • CVE-2021-3493: Ubuntu Linux Privilege Escalation Flaw

  • CVE-2023-2640: Ubuntu Linux Privilege Escalation Flaw

  • CVE-2021-3939: Accountsservice Use-After-Free Flaw

  • CVE-2021-3492: Ubuntu Linux Shiftfs DOS 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