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-2023-2163

CVE-2023-2163: Linux Kernel BPF Privilege Escalation Flaw

CVE-2023-2163 is a privilege escalation vulnerability in Linux Kernel's BPF verifier that enables arbitrary kernel memory access and container escape. This article covers technical details, affected versions, and mitigations.

Published: January 28, 2026

CVE-2023-2163 Overview

CVE-2023-2163 is a critical kernel vulnerability affecting the Linux Kernel's extended Berkeley Packet Filter (eBPF) verifier. The vulnerability stems from incorrect verifier pruning logic in BPF that leads to unsafe code paths being incorrectly marked as safe. This flaw enables arbitrary read/write operations in kernel memory, resulting in lateral privilege escalation and container escape scenarios.

Critical Impact

This vulnerability allows attackers with local access to achieve arbitrary kernel memory read/write, enabling full privilege escalation and container escape from unprivileged user contexts.

Affected Products

  • Linux Kernel versions >= 5.4
  • Linux Linux Kernel (multiple version ranges)
  • Container environments running vulnerable kernel versions

Discovery Timeline

  • September 20, 2023 - CVE-2023-2163 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-2163

Vulnerability Analysis

The vulnerability resides in the eBPF verifier's pruning mechanism, a critical component responsible for ensuring that BPF programs are safe to execute in kernel space. The eBPF verifier performs static analysis of BPF programs before they are loaded and executed, tracking register states and memory access patterns to prevent unsafe operations.

The root issue involves the verifier's state pruning optimization, which is designed to avoid redundant verification of code paths that have already been checked. However, due to a flaw in the pruning logic (classified as CWE-682: Incorrect Calculation), the verifier incorrectly identifies certain unsafe code paths as equivalent to previously verified safe paths.

When exploited, an attacker can craft a malicious BPF program that passes verifier checks despite containing operations that should be rejected. Once loaded into the kernel, this program can perform arbitrary memory reads and writes within kernel address space.

Root Cause

The vulnerability originates from incorrect calculation logic in the BPF verifier's state comparison and pruning functions. When the verifier encounters a branch point, it compares the current register and memory state against previously explored states. The flawed comparison allows states that differ in security-relevant properties to be incorrectly considered equivalent, causing the verifier to prune paths that contain exploitable operations.

This miscalculation results in the verifier marking unsafe code paths as safe, effectively bypassing all the security guarantees that the BPF verification process is designed to provide.

Attack Vector

The attack requires local access to the target system with the ability to load BPF programs. While historically unprivileged users could load BPF programs via the bpf() syscall, many modern distributions restrict this capability. However, in containerized environments or systems with relaxed BPF permissions, an attacker can:

  1. Craft a specially designed BPF program that exploits the verifier pruning flaw
  2. Load the malicious program, which passes verification despite containing unsafe operations
  3. Execute the program to achieve arbitrary kernel memory read/write
  4. Leverage kernel memory access to escalate privileges or escape container isolation

The local attack vector with low complexity requirements makes this vulnerability particularly dangerous in multi-tenant environments, shared hosting platforms, and container orchestration systems where users may have access to BPF functionality.

Detection Methods for CVE-2023-2163

Indicators of Compromise

  • Unusual BPF program loading activity, particularly from unprivileged processes
  • Unexpected kernel memory access patterns detected in system logs
  • Container escape attempts or unexpected privilege escalation events
  • Anomalous bpf() syscall patterns from non-administrative users

Detection Strategies

  • Monitor bpf() system calls for suspicious loading patterns using kernel audit subsystem
  • Deploy runtime security tools that track BPF program loading and execution behavior
  • Implement SentinelOne Singularity platform for real-time kernel-level threat detection
  • Enable kernel audit logging with focus on BPF_PROG_LOAD operations

Monitoring Recommendations

  • Configure alerting on BPF program loads from unexpected process contexts
  • Monitor for privilege escalation chains involving BPF-related activity
  • Track container runtime logs for escape indicators associated with kernel exploitation
  • Review kernel logs (dmesg) for BPF verifier warnings or errors

How to Mitigate CVE-2023-2163

Immediate Actions Required

  • Update affected Linux Kernel installations to patched versions immediately
  • Restrict unprivileged BPF access by setting kernel.unprivileged_bpf_disabled=1
  • Audit systems for evidence of exploitation before applying patches
  • Review container security policies and ensure kernel isolation is properly configured

Patch Information

The vulnerability has been addressed in the official Linux kernel through commit 71b547f561247897a0a14f3082730156c0533fed. The fix corrects the verifier pruning logic to properly track and compare security-relevant state properties during BPF program verification. Organizations should update to kernel versions that include this fix.

Detailed technical analysis of the vulnerability and fix is available in the Google Bug Hunters analysis. The official kernel git commit contains the complete patch details.

Workarounds

  • Disable unprivileged BPF access system-wide via sysctl configuration
  • Use seccomp profiles to restrict bpf() syscall access in containerized workloads
  • Implement mandatory access control (SELinux/AppArmor) policies limiting BPF capabilities
  • Isolate high-risk workloads on systems with patched kernels
bash
# Configuration example
# Disable unprivileged BPF access (recommended immediate mitigation)
echo 1 > /proc/sys/kernel/unprivileged_bpf_disabled

# Make persistent across reboots
echo "kernel.unprivileged_bpf_disabled=1" >> /etc/sysctl.d/99-bpf-hardening.conf
sysctl -p /etc/sysctl.d/99-bpf-hardening.conf

# Verify the setting is active
sysctl kernel.unprivileged_bpf_disabled

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-682
  • Technical References
  • Google Blog CVE-2023-2163 Analysis
  • Vendor Resources
  • Kernel Git Commit Update
  • Related CVEs
  • CVE-2026-43055: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-43052: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31724: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31735: Linux Kernel Privilege Escalation Flaw
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