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-2021-28972

CVE-2021-28972: Linux Kernel Buffer Overflow Vulnerability

CVE-2021-28972 is a buffer overflow flaw in the Linux Kernel's RPA PCI Hotplug driver that allows userspace writes to the kernel stack frame. This article covers the technical details, affected versions, and mitigation steps.

Published: February 25, 2026

CVE-2021-28972 Overview

CVE-2021-28972 is a buffer overflow vulnerability in the Linux kernel's RPA PCI Hotplug driver (drivers/pci/hotplug/rpadlpar_sysfs.c). The flaw exists in kernel versions through 5.11.8 and allows a privileged local attacker to write data directly to the kernel stack frame by providing an oversized device name through userspace interfaces. This occurs because the add_slot_store and remove_slot_store functions mishandle drc_name null termination.

Critical Impact

Local privileged attackers can exploit improper null termination handling to write arbitrary data to the kernel stack, potentially leading to privilege escalation, code execution, or system compromise.

Affected Products

  • Linux Kernel (through version 5.11.8)
  • Fedora 32, 33, and 34
  • NetApp Cloud Backup
  • NetApp FAS/AFF Baseboard Management Controller
  • NetApp SolidFire Baseboard Management Controller Firmware

Discovery Timeline

  • 2021-03-22 - CVE-2021-28972 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-28972

Vulnerability Analysis

This buffer overflow vulnerability resides in the RPA PCI Hotplug driver's sysfs interface, which is responsible for managing hot-pluggable PCI slots on IBM POWER systems. The vulnerability stems from improper handling of user-supplied device names when interacting with the driver through the sysfs filesystem.

When a user with sufficient privileges writes a new device name to the driver via the add_slot_store or remove_slot_store functions, the code fails to properly ensure null termination of the drc_name parameter. This oversight allows data larger than the expected buffer size to be written directly onto the kernel stack frame, bypassing normal memory boundaries.

The attack requires local access with high privileges (such as root), but successful exploitation could enable an attacker to corrupt kernel memory, potentially escalating privileges further or executing arbitrary code in kernel context.

Root Cause

The root cause is a classic buffer overflow due to improper string handling. The add_slot_store and remove_slot_store functions in rpadlpar_sysfs.c do not correctly validate the length of the incoming device name or ensure proper null (\0) termination before copying the data into a fixed-size buffer. This allows userspace input to overflow the allocated stack buffer and overwrite adjacent memory on the kernel stack.

Attack Vector

The attack vector is local, requiring an attacker to have high-privilege access to the system. The exploitation occurs through the sysfs interface:

  1. An attacker with root or equivalent privileges accesses the sysfs entry for the RPA PCI Hotplug driver
  2. The attacker writes a specially crafted device name that exceeds the expected buffer length
  3. Due to missing null termination checks, the oversized input overwrites kernel stack memory
  4. The corrupted stack data can be leveraged for privilege escalation or arbitrary code execution

The vulnerability affects systems running the vulnerable kernel versions with the RPA PCI Hotplug driver enabled, which is primarily IBM POWER-based systems.

Detection Methods for CVE-2021-28972

Indicators of Compromise

  • Unexpected or suspicious writes to /sys/bus/pci/slots/ sysfs entries
  • Kernel crash logs (oops/panic) with stack traces referencing add_slot_store or remove_slot_store functions
  • Unusual privileged process activity interacting with PCI hotplug subsystem
  • Memory corruption indicators in kernel logs related to rpadlpar_sysfs.c

Detection Strategies

  • Monitor sysfs write operations to PCI hotplug interfaces using audit rules
  • Deploy kernel-level monitoring to detect anomalous stack behavior in hotplug drivers
  • Implement file integrity monitoring on critical sysfs paths
  • Use SentinelOne's kernel-level protection to detect exploitation attempts targeting driver interfaces

Monitoring Recommendations

  • Enable kernel auditing for privileged operations on /sys/bus/pci/ paths
  • Configure log aggregation to capture and alert on kernel oops messages referencing PCI hotplug functions
  • Monitor for unauthorized privilege escalation attempts following suspicious driver interactions
  • Review system logs for unusual device name patterns being passed to PCI hotplug interfaces

How to Mitigate CVE-2021-28972

Immediate Actions Required

  • Update the Linux kernel to a patched version that addresses this vulnerability
  • Restrict access to sysfs PCI hotplug interfaces to only essential administrative accounts
  • Review and audit systems for any signs of exploitation attempts
  • Consider disabling the RPA PCI Hotplug driver if not required for system operation

Patch Information

The vulnerability has been addressed in the upstream Linux kernel. The fix is available in the Linux Kernel Commit Update (commit cc7a0bb058b85ea03db87169c60c7cfdd5d34678).

Distribution-specific patches are available:

  • Fedora Package Announcement for Fedora users
  • NetApp Security Advisory for NetApp product users

Workarounds

  • Restrict write access to /sys/bus/pci/slots/ to only trusted administrators
  • Use mandatory access control (SELinux/AppArmor) to limit processes that can interact with PCI hotplug sysfs entries
  • Disable the rpadlpar module if RPA PCI Hotplug functionality is not required on the system
  • Implement network segmentation to limit local access to affected systems
bash
# Disable RPA PCI Hotplug driver module if not needed
echo "blacklist rpaphp" >> /etc/modprobe.d/blacklist.conf
echo "blacklist rpadlpar_io" >> /etc/modprobe.d/blacklist.conf

# Restrict sysfs access using chmod (temporary mitigation)
chmod 600 /sys/bus/pci/slots/*/

# Update kernel to patched version (example for Fedora)
dnf update kernel

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score6.7

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-120
  • Technical References
  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory
  • Vendor Resources
  • Linux Kernel Commit Update
  • Related CVEs
  • CVE-2026-23407: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-23406: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-23397: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-23323: Linux Kernel Buffer Overflow Vulnerability
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