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-2020-27170

CVE-2020-27170: Linux Kernel Information Disclosure Flaw

CVE-2020-27170 is an information disclosure vulnerability in Linux Kernel that allows side-channel attacks to bypass Spectre mitigations and expose sensitive kernel memory. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: May 16, 2026

CVE-2020-27170 Overview

CVE-2020-27170 is a side-channel vulnerability in the Linux kernel's Berkeley Packet Filter (BPF) verifier. The flaw exists in kernel/bpf/verifier.c in versions before 5.11.8. The verifier performs out-of-bounds speculation on pointer arithmetic for pointer types that do not define a ptr_limit. Attackers can exploit this behavior to defeat existing Spectre v1 mitigations and read sensitive data from kernel memory via cache-based side channels. The issue is tracked as commit ID f232326f6966 and is classified under [CWE-203] (Observable Discrepancy).

Critical Impact

Local unprivileged users can leak arbitrary kernel memory contents, including credentials and cryptographic material, by abusing BPF speculative execution.

Affected Products

  • Linux kernel versions prior to 5.11.8
  • Ubuntu 14.04 ESM, 16.04 LTS, 18.04 LTS, and 20.04 LTS
  • Debian Linux 9 and Fedora 32, 33, 34

Discovery Timeline

  • 2021-03-19 - Issue disclosed on the OpenWall oss-security mailing list
  • 2021-03-20 - CVE-2020-27170 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-27170

Vulnerability Analysis

The Linux BPF subsystem allows unprivileged users to load programs that execute in kernel context after passing static analysis by the verifier. The verifier enforces bounds checks on pointer arithmetic to prevent out-of-bounds memory access. However, the verifier did not apply a ptr_limit to certain pointer types, including stack and map value pointers in specific code paths.

Attackers can craft a BPF program where the CPU speculatively executes pointer arithmetic that exceeds permitted bounds. While the architectural result is discarded, the speculative load leaves microarchitectural state in the CPU cache. The attacker then measures cache timing to recover the leaked kernel memory byte-by-byte. This bypasses the Spectre v1 hardening added in earlier kernel patches.

Root Cause

The root cause is incomplete coverage of speculative pointer arithmetic sanitization in the BPF verifier. The sanitize_ptr_alu() function failed to enforce a speculative bound for pointer types lacking an explicit ptr_limit definition. Without this limit, the verifier accepted programs that could speculate well past the intended object boundary.

Attack Vector

Exploitation requires local access and the ability to load BPF programs, which on many distributions is permitted to unprivileged users when kernel.unprivileged_bpf_disabled=0. The attacker loads a specially crafted BPF program that trains the branch predictor and then performs speculative out-of-bounds pointer arithmetic on a controlled offset. A FLUSH+RELOAD or similar cache side-channel primitive recovers the speculatively accessed bytes. No remote network exposure exists; the attack vector is strictly local.

No public proof-of-concept exploit code is referenced in the vendor advisories. See the Linux Kernel Commit f232326f for the upstream fix and the OpenWall OSS Security Update for the original disclosure.

Detection Methods for CVE-2020-27170

Indicators of Compromise

  • Unprivileged processes invoking the bpf() syscall with BPF_PROG_LOAD for socket filter or tracing program types from non-root users
  • Repeated BPF program load attempts followed by high-resolution timing operations such as rdtsc in user space
  • Anomalous cache-flush instructions (clflush) executed from low-privilege workloads

Detection Strategies

  • Audit kernel versions across the fleet and flag any host running a Linux kernel earlier than 5.11.8 without distribution backports applied
  • Monitor auditd rules that record bpf syscalls and correlate program loads with the loading UID and program type
  • Detect tampering with /proc/sys/kernel/unprivileged_bpf_disabled that re-enables unprivileged BPF after hardening

Monitoring Recommendations

  • Forward kernel audit logs and BPF program load events to a centralized SIEM for retention and correlation
  • Alert on local privilege-escalation precursors, including unusual BPF activity from service accounts or container workloads
  • Track patch state via package inventory and compare against the fixed kernel versions listed in vendor advisories

How to Mitigate CVE-2020-27170

Immediate Actions Required

  • Update affected systems to Linux kernel 5.11.8 or later, or apply the distribution-supplied backport from Ubuntu, Debian, or Fedora
  • Set kernel.unprivileged_bpf_disabled=1 via sysctl to prevent unprivileged users from loading BPF programs until patching completes
  • Inventory containerized hosts and confirm the host kernel, not the container image, is patched

Patch Information

The upstream fix is included in the Linux 5.11.8 release. Review the Linux Kernel ChangeLog 5.11.8 and the corresponding commit f232326f6966cf2a1d1db7bc917a4ce5f9f55f76. Distribution-specific patches are available via the Debian LTS Announcement, the Fedora Package Announcement, and the Ubuntu Kernel Live Patch LSN-0075-1.

Workarounds

  • Disable unprivileged BPF loading via sysctl -w kernel.unprivileged_bpf_disabled=1 and persist the setting in /etc/sysctl.d/
  • Restrict the CAP_BPF and CAP_SYS_ADMIN capabilities to trusted service accounts only
  • Apply Ubuntu Livepatch where rebooting affected hosts is not immediately feasible
bash
# Configuration example
# Disable unprivileged BPF until kernel patch is applied
echo 'kernel.unprivileged_bpf_disabled=1' | sudo tee /etc/sysctl.d/90-bpf-hardening.conf
sudo sysctl --system

# Verify current kernel version meets the fix threshold
uname -r

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score4.7

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-203
  • Technical References
  • Packet Storm Security Notice

  • OpenWall OSS Security Update

  • Debian LTS Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement
  • Vendor Resources
  • Linux Kernel ChangeLog 5.11.8

  • Linux Kernel Commit f232326f

  • OpenWall OSS Security Update
  • Related CVEs
  • CVE-2026-52904: Linux Kernel Information Disclosure Flaw

  • CVE-2026-46322: Linux Kernel Information Disclosure Flaw

  • CVE-2026-46315: Linux Kernel Information Disclosure Bug

  • CVE-2026-46309: Linux Kernel Information Disclosure 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