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-2022-23222

CVE-2022-23222: Linux Kernel Privilege Escalation Flaw

CVE-2022-23222 is a privilege escalation vulnerability in the Linux Kernel BPF verifier that enables local attackers to gain elevated privileges. This article covers the technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-23222 Overview

CVE-2022-23222 is a local privilege escalation vulnerability in the Linux kernel's BPF (Berkeley Packet Filter) verifier component. The flaw exists in kernel/bpf/verifier.c through kernel version 5.15.14, where improper handling of certain *_OR_NULL pointer types allows local users to perform pointer arithmetic operations that should be restricted. This vulnerability enables authenticated local attackers to escalate their privileges to root level, potentially gaining complete control over the affected system.

Critical Impact

Local attackers can exploit improper pointer arithmetic handling in the BPF verifier to escalate privileges to root, compromising complete system integrity.

Affected Products

  • Linux Kernel (through version 5.15.14)
  • Debian Linux 11.0
  • Fedora 34 and 35
  • NetApp H-Series firmware (H410c, H300s, H500s, H700s, H300e, H500e, H700e, H410s)

Discovery Timeline

  • January 14, 2022 - CVE-2022-23222 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-23222

Vulnerability Analysis

The vulnerability resides in the Linux kernel's BPF verifier, which is responsible for ensuring that BPF programs are safe to execute within the kernel. The BPF subsystem allows users to load and execute sandboxed programs in kernel space, making the verifier a critical security boundary.

The flaw stems from how the verifier handles *_OR_NULL pointer types. These pointer types are designed to represent values that may be either a valid pointer or NULL. However, the verifier incorrectly allows pointer arithmetic operations on these types, which should be prohibited. When a pointer is in a nullable state, performing arithmetic on it can lead to type confusion, allowing attackers to craft BPF programs that bypass the verifier's safety checks.

An attacker with local access can exploit this vulnerability by loading a specially crafted BPF program that manipulates these nullable pointer types. Through careful pointer arithmetic, the attacker can achieve arbitrary read/write primitives within kernel memory, ultimately leading to privilege escalation from an unprivileged user to root.

Root Cause

The root cause is a logic flaw in the BPF verifier's type tracking system. The verifier failed to properly restrict pointer arithmetic operations on *_OR_NULL pointer types. When the verifier encounters these pointer types, it should enforce that no arithmetic modifications are permitted until the pointer is verified to be non-NULL through a conditional check. The missing validation allowed attackers to manipulate kernel memory addresses through these nullable pointers.

The fix, implemented in Linux Kernel Commit 64620e0, adds proper restrictions to prevent pointer arithmetic on nullable pointer types before they are validated.

Attack Vector

The attack requires local access to a system with an unprivileged user account. The attacker must be able to load BPF programs, which is typically controlled by the kernel.unprivileged_bpf_disabled sysctl parameter. When this parameter is set to 0 (the default on many distributions), any local user can load BPF programs.

The exploitation process involves creating a BPF program that exploits the verifier's improper handling of nullable pointers to gain arbitrary memory access within the kernel. The attacker can then overwrite critical kernel data structures to escalate privileges.

Detection Methods for CVE-2022-23222

Indicators of Compromise

  • Unusual BPF program loading activity from unprivileged users
  • Unexpected privilege changes for user processes
  • Anomalous kernel memory access patterns in system logs
  • Processes running with elevated privileges without legitimate authentication events

Detection Strategies

  • Monitor for BPF syscalls (bpf()) from non-administrative user accounts using auditd or similar kernel auditing
  • Deploy runtime detection for BPF program loading events, particularly those failing initial verification
  • Track process privilege transitions and correlate with preceding BPF activity
  • Implement behavioral analysis for privilege escalation patterns following BPF operations

Monitoring Recommendations

  • Enable kernel audit logging for BPF-related syscalls with rules targeting the bpf() system call
  • Configure SIEM alerts for unexpected privilege escalation events
  • Monitor the /sys/kernel/debug/tracing/events/bpf/ directory for anomalous BPF events
  • Review system logs for failed BPF verification attempts that may indicate exploitation attempts

How to Mitigate CVE-2022-23222

Immediate Actions Required

  • Update the Linux kernel to version 5.15.15 or later, or apply distribution-specific patches
  • Set kernel.unprivileged_bpf_disabled=1 to prevent unprivileged users from loading BPF programs
  • Restrict local access to only trusted users until patching is complete
  • Review system logs for potential compromise indicators

Patch Information

The vulnerability has been addressed in the upstream Linux kernel. Organizations should apply the appropriate patches based on their distribution:

  • Linux Kernel: Fixed in commit 64620e0a1e712a778095bd35cbb277dc2259281f
  • Debian: Security Advisory DSA-5050
  • Fedora: Updates available via Fedora Package Announcements
  • NetApp: Security Advisory NTAP-20220217-0002

Workarounds

  • Disable unprivileged BPF to prevent exploitation by non-root users
  • Implement strict access controls to limit local user access on critical systems
  • Use kernel hardening options such as SELinux or AppArmor to restrict BPF capabilities
  • Consider using grsecurity/PaX patches for additional kernel hardening if available
bash
# Disable unprivileged BPF to mitigate CVE-2022-23222
echo 1 > /proc/sys/kernel/unprivileged_bpf_disabled

# Make the change persistent across reboots
echo "kernel.unprivileged_bpf_disabled = 1" >> /etc/sysctl.conf
sysctl -p

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 Score7.8

  • EPSS Probability0.73%

  • 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-476
  • Technical References
  • Openwall OSS Security Update

  • Openwall OSS Security Notice

  • Openwall OSS Security Update

  • Openwall OSS Security Notice

  • SUSE Bugzilla Report #1194765

  • Linux Kernel Commit 64620e0

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory NTAP-20220217-0002

  • Debian Security Advisory DSA-5050

  • Openwall OSS Security Update
  • Vendor Resources
  • Openwall OSS Security Alert
  • Related CVEs
  • CVE-2026-31411: Linux Kernel Privilege Escalation Flaw

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

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

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