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
    • 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 the Linux Kernel BPF verifier that enables Spectre-based side-channel attacks to leak sensitive kernel memory. This article covers technical details, versions, and fixes.

Published: March 4, 2026

CVE-2020-27170 Overview

An issue was discovered in the Linux kernel before 5.11.8 where kernel/bpf/verifier.c performs undesirable out-of-bounds speculation on pointer arithmetic. This vulnerability leads to side-channel attacks that defeat Spectre mitigations and obtain sensitive information from kernel memory. The flaw affects pointer types that do not define a ptr_limit, allowing attackers to bypass existing Spectre protections and leak confidential kernel data through timing-based side channels.

Critical Impact

This vulnerability enables local attackers with low privileges to bypass Spectre mitigations and extract sensitive kernel memory contents through side-channel attacks, potentially compromising system confidentiality.

Affected Products

  • Linux Kernel (versions before 5.11.8)
  • Fedora 32, 33, and 34
  • Canonical Ubuntu Linux 14.04 ESM, 16.04 LTS, 18.04 LTS, 20.04 LTS
  • Debian Linux 9.0

Discovery Timeline

  • March 20, 2021 - CVE-2020-27170 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-27170

Vulnerability Analysis

This vulnerability exists within the BPF (Berkeley Packet Filter) verifier component of the Linux kernel, specifically in kernel/bpf/verifier.c. The BPF verifier is responsible for ensuring that BPF programs loaded into the kernel are safe to execute and do not violate security boundaries. However, the verifier fails to properly account for speculative execution when performing pointer arithmetic on certain pointer types.

The core issue stems from how the verifier handles pointer types that do not have a defined ptr_limit. When performing arithmetic operations on these pointers, the verifier allows out-of-bounds speculation to occur during speculative execution paths. This creates a timing-based side channel that attackers can exploit to infer the contents of kernel memory locations that should be inaccessible.

By crafting malicious BPF programs that leverage this speculative execution behavior, a local attacker can systematically leak sensitive information from kernel memory. This effectively defeats the Spectre mitigations that were implemented to prevent such speculative execution attacks, representing a significant regression in kernel security.

Root Cause

The root cause lies in the incomplete Spectre mitigation within the BPF verifier. Specifically, pointer types without a defined ptr_limit were not properly constrained during the verification process, allowing speculative out-of-bounds memory accesses. The verifier's analysis did not account for the microarchitectural side effects of speculative execution, permitting BPF programs to construct timing channels that leak memory contents. The vulnerable code path is identified by commit ID f232326f6966cf2a1d1db7bc917a4ce5f9f55f76.

Attack Vector

This is a local attack vector requiring an authenticated user with low privileges on the target system. The attacker must have the ability to load BPF programs into the kernel, which is typically available to unprivileged users on many Linux distributions. The attack follows this general pattern:

  1. The attacker crafts a malicious BPF program that performs pointer arithmetic on pointer types lacking ptr_limit definitions
  2. The BPF verifier accepts the program as safe, failing to detect the speculative execution vulnerability
  3. During execution, the CPU speculatively accesses out-of-bounds kernel memory
  4. The attacker uses cache timing measurements to infer the values of speculatively accessed memory
  5. By repeating this process, the attacker can systematically extract sensitive kernel data

The attack requires no user interaction and the complexity is considered high due to the need for precise timing measurements and understanding of the CPU's speculative execution behavior. For detailed technical information about the vulnerability mechanism, refer to the Openwall OSS Security Notice and the Linux Kernel Commit Details.

Detection Methods for CVE-2020-27170

Indicators of Compromise

  • Unusual BPF program loading activity from non-administrative users
  • Anomalous cache timing patterns that may indicate side-channel exploitation attempts
  • Unexpected access patterns to the BPF subsystem, particularly from processes that don't typically use BPF
  • Evidence of BPF programs performing unusual pointer arithmetic operations

Detection Strategies

  • Monitor bpf() system calls and log BPF program loading events using audit frameworks
  • Implement kernel audit rules to track access to BPF-related operations: auditctl -a always,exit -F arch=b64 -S bpf -k bpf_activity
  • Deploy runtime security monitoring to detect anomalous BPF program behavior
  • Use SentinelOne's kernel-level monitoring to detect suspicious BPF activity and speculative execution exploitation attempts

Monitoring Recommendations

  • Enable detailed logging of BPF program loads and rejections in kernel logs
  • Configure alerts for unexpected BPF activity from unprivileged user contexts
  • Implement baseline monitoring of cache timing patterns to detect potential side-channel attacks
  • Review system logs for indicators of repeated BPF program loading attempts

How to Mitigate CVE-2020-27170

Immediate Actions Required

  • Update the Linux kernel to version 5.11.8 or later immediately
  • Restrict BPF program loading to privileged users only by setting kernel.unprivileged_bpf_disabled=1
  • Apply vendor-provided security patches from your Linux distribution
  • Review system access to identify potentially compromised sensitive data

Patch Information

The vulnerability was addressed in Linux kernel version 5.11.8 through commit f232326f6966cf2a1d1db7bc917a4ce5f9f55f76. The fix implements proper bounds checking for pointer types in the BPF verifier to prevent speculative out-of-bounds access. Detailed patch information is available in the Kernel ChangeLog for v5.11.8.

Distribution-specific patches are available from:

  • Debian LTS Security Announcement
  • Fedora Package Announcements
  • Kernel Live Patch Security Notice LSN-0075-1

Workarounds

  • Disable unprivileged BPF by setting kernel.unprivileged_bpf_disabled=1 in sysctl configuration
  • Restrict access to the BPF subsystem using SELinux or AppArmor policies
  • Limit user access to systems running vulnerable kernels until patching is completed
  • Consider using kernel live patching if available to minimize downtime during remediation
bash
# Configuration example
# Disable unprivileged BPF to mitigate the vulnerability
echo "kernel.unprivileged_bpf_disabled=1" >> /etc/sysctl.conf
sysctl -p

# Verify the setting is applied
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
  • 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 Notice

  • Debian LTS Security Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement
  • Vendor Resources
  • Kernel ChangeLog for v5.11.8

  • Linux Kernel Commit Details

  • Openwall OSS Security Notice
  • Related CVEs
  • CVE-2026-23430: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-23465: Linux Kernel Btrfs Logging Vulnerability

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

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