A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-45838

CVE-2026-45838: Linux Kernel Privilege Escalation Flaw

CVE-2026-45838 is a privilege escalation vulnerability in the Linux kernel affecting BPF cgroup storage list handling. This flaw allows incorrect memory access. This article covers technical details, impact, and mitigations.

Published: May 28, 2026

CVE-2026-45838 Overview

CVE-2026-45838 is a Linux kernel vulnerability in the Berkeley Packet Filter (BPF) subsystem. The flaw resides in cgroup_storage_get_next_key(), where end-of-list detection relies on a NULL check that can never trigger. The function uses list_next_entry(), which wraps to the list head via container_of() rather than returning NULL when iteration reaches the last element. As a result, the function fails to return -ENOENT for the final entry and instead reads storage->key from a pointer aliasing internal map fields, copying that data to userspace.

Critical Impact

The defect leaks kernel memory contents from BPF map internals to unprivileged userspace when iterating cgroup storage keys.

Affected Products

  • Linux kernel BPF subsystem (kernel/bpf/local_storage.c)
  • Builds enabling BPF_MAP_TYPE_CGROUP_STORAGE
  • Multiple stable branches referenced in upstream fix commits

Discovery Timeline

  • 2026-05-27 - CVE-2026-45838 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-45838

Vulnerability Analysis

The vulnerability sits in the get_next_key() callback for the cgroup storage BPF map type. The function iterates a linked list of storage entries to return the next key to userspace. The original code calls list_next_entry() on the current entry and then tests the result against NULL to detect end-of-list. That test is dead code.

list_next_entry() resolves the next pointer through container_of(), which performs pointer arithmetic relative to the list head. When the iterator reaches the tail, the next pointer points at the list head structure embedded inside the BPF map, not at a real list entry. The NULL check passes, and the function proceeds to dereference what it believes is a bpf_cgroup_storage structure.

The storage->key field is then read from an offset inside the map's internal fields. That memory is copied to the userspace buffer supplied to the bpf(BPF_MAP_GET_NEXT_KEY) syscall. The fix replaces the NULL check with list_entry_is_head(), which correctly compares the iterator against the list head sentinel.

Root Cause

The root cause is an incorrect end-of-list idiom. Developers treated list_next_entry() as if it returned NULL on exhaustion, mirroring the contract of other iterators. Linux circular doubly-linked lists do not signal termination through NULL — they wrap. This is a logic flaw producing Out-of-Bounds Read and Information Disclosure of adjacent kernel memory.

Attack Vector

A local process with permission to invoke bpf() syscalls and access a cgroup storage map can call BPF_MAP_GET_NEXT_KEY repeatedly until iteration reaches the last entry. The kernel then returns success with key bytes drawn from BPF map internal state rather than -ENOENT. The attacker reads the bytes from the userspace key buffer, obtaining a slice of kernel memory adjacent to the list head field. Repeated map manipulation can be used to influence what data sits at that offset.

The vulnerability mechanism is described in upstream commits — refer to the Linux Kernel Commit 32ce55d and Linux Kernel Commit fc39753b for the exact fix.

Detection Methods for CVE-2026-45838

Indicators of Compromise

  • Unprivileged or low-privileged processes issuing repeated bpf(BPF_MAP_GET_NEXT_KEY) syscalls against cgroup storage maps
  • Userspace programs creating BPF_MAP_TYPE_CGROUP_STORAGE maps outside expected workloads such as systemd or container runtimes
  • Anomalous reads of BPF map keys followed by network exfiltration from the same process

Detection Strategies

  • Audit bpf() syscall usage with auditd rules targeting BPF_MAP_GET_NEXT_KEY and BPF_MAP_CREATE with type BPF_MAP_TYPE_CGROUP_STORAGE
  • Correlate process lineage and capability sets (CAP_BPF, CAP_SYS_ADMIN) against expected baselines for BPF map consumers
  • Hunt for processes that iterate the same BPF map until receiving a success on what should be the terminal key

Monitoring Recommendations

  • Forward kernel audit logs and eBPF activity to a centralized analytics platform for cross-host correlation
  • Track kernel versions across the fleet and flag hosts running pre-patch builds against the fixed commit hashes
  • Alert on new processes that load BPF programs and create cgroup storage maps outside known orchestrators

How to Mitigate CVE-2026-45838

Immediate Actions Required

  • Apply the upstream kernel patch series and rebuild affected kernels, then reboot impacted hosts
  • Inventory hosts where unprivileged users hold CAP_BPF or CAP_SYS_ADMIN and reduce that surface where possible
  • Disable unprivileged BPF by setting kernel.unprivileged_bpf_disabled=1 until patched kernels are deployed

Patch Information

The fix replaces the dead NULL check with list_entry_is_head() in cgroup_storage_get_next_key(). Backports are available across stable trees in commits 32ce55d4, 5828b9e5, 85a2f30e, b4b5a20b, and fc39753b. Refer to the Linux Kernel Commit 85a2f30e and Linux Kernel Commit b4b5a20b for the stable backports applicable to your branch.

Workarounds

  • Set kernel.unprivileged_bpf_disabled=1 via sysctl to block unprivileged BPF program loading
  • Restrict CAP_BPF and CAP_SYS_ADMIN to trusted service accounts only
  • Apply seccomp filters in container runtimes to block bpf() syscalls for workloads that do not require them
bash
# Configuration example
# Disable unprivileged BPF until kernel is patched
sudo sysctl -w kernel.unprivileged_bpf_disabled=1
echo 'kernel.unprivileged_bpf_disabled=1' | sudo tee /etc/sysctl.d/90-bpf-hardening.conf

# Verify kernel version after patching
uname -r

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

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Linux Kernel Commit 32ce55d

  • Linux Kernel Commit 5828b9e

  • Linux Kernel Commit 85a2f30e

  • Linux Kernel Commit b4b5a20b

  • Linux Kernel Commit fc39753b
  • Related CVEs
  • CVE-2026-46268: Linux Kernel Privilege Escalation Flaw

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

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

  • CVE-2026-46248: Linux Kernel Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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