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-4028

CVE-2021-4028: Linux Kernel Use-After-Free Vulnerability

CVE-2021-4028 is a use-after-free flaw in the Linux Kernel's RDMA communications manager that allows local attackers to escalate privileges or crash the system. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2021-4028 Overview

A use-after-free vulnerability exists in the Linux kernel's implementation of the RDMA (Remote Direct Memory Access) communications manager listener code. This flaw allows an attacker with local access to set up a socket to listen on a high port, causing a list element to be used after it has been freed. Given the ability to execute code, a local attacker could leverage this use-after-free condition to crash the system or potentially escalate privileges.

Critical Impact

Local attackers can exploit this use-after-free vulnerability to cause system crashes (denial of service) or escalate their privileges to gain elevated access on affected Linux systems.

Affected Products

  • Linux Kernel (multiple versions)
  • SUSE Linux Enterprise 15.0 SP3
  • SUSE Linux Enterprise 15.0 SP4

Discovery Timeline

  • 2022-08-24 - CVE CVE-2021-4028 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-4028

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free), a memory corruption flaw that occurs when a program continues to use a pointer after the memory it references has been freed. In the context of the Linux kernel's RDMA communications manager, the vulnerable code fails to properly manage the lifecycle of list elements associated with listener sockets.

When a local attacker sets up a socket to listen on a high port through the RDMA communications manager interface, a race condition or improper synchronization can lead to a list element being freed while still being referenced elsewhere in the code. Subsequent access to this freed memory can result in undefined behavior, including system crashes or, more critically, the execution of attacker-controlled code in kernel context.

The local attack vector requires the attacker to have existing access to the system, but does not require elevated privileges to trigger the vulnerability. Successful exploitation can result in complete compromise of confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of this vulnerability lies in improper memory management within the RDMA communications manager listener code. Specifically, the kernel fails to properly synchronize access to list elements when handling listener socket operations. This results in a use-after-free condition where memory is freed prematurely while other parts of the code still hold references to it.

The vulnerability exists because the code path that frees the list element does not properly coordinate with other code paths that may still be accessing or iterating over the same list structure. This type of flaw is common in complex kernel subsystems where multiple execution contexts may access shared data structures.

Attack Vector

The attack requires local access to the affected system. An attacker with unprivileged local access can trigger the vulnerability by:

  1. Setting up a socket to listen on a high port using the RDMA communications manager interface
  2. Manipulating socket operations to trigger the race condition that leads to the use-after-free
  3. Exploiting the freed memory to either crash the system or execute arbitrary code with kernel privileges

The vulnerability is exploited through the RDMA subsystem's socket handling mechanisms. Detailed technical information can be found in the Linux Kernel Mailing List Discussion and the Linux Kernel Commit Update.

Detection Methods for CVE-2021-4028

Indicators of Compromise

  • Unexpected kernel panics or system crashes related to RDMA subsystem operations
  • Unusual socket activity on high-numbered ports involving RDMA communications
  • Kernel log messages indicating memory corruption or use-after-free conditions in the RDMA subsystem
  • Signs of privilege escalation or unauthorized kernel-level access following RDMA-related activity

Detection Strategies

  • Monitor kernel logs (dmesg, /var/log/kern.log) for RDMA subsystem errors, memory corruption warnings, or use-after-free messages
  • Implement kernel integrity monitoring to detect unexpected changes to kernel memory or loaded modules
  • Use kernel debugging tools such as KASAN (Kernel Address Sanitizer) in development environments to detect memory safety violations
  • Deploy endpoint detection solutions capable of monitoring kernel-level activity and anomalous process behavior

Monitoring Recommendations

  • Enable enhanced auditing for RDMA subsystem operations and socket creation events
  • Configure alerting for repeated kernel crashes or panics, particularly those involving the RDMA communications manager
  • Monitor for privilege escalation attempts following any system instability
  • Implement SentinelOne Singularity platform for real-time kernel-level threat detection and behavioral analysis

How to Mitigate CVE-2021-4028

Immediate Actions Required

  • Update the Linux kernel to a patched version that addresses this vulnerability
  • Review system access controls to minimize the number of users with local access to affected systems
  • Monitor affected systems for signs of exploitation attempts
  • Consider disabling RDMA functionality if not required for business operations

Patch Information

The vulnerability has been addressed in upstream Linux kernel commits. The specific fix is available in the Linux Kernel Commit Update. System administrators should apply kernel updates from their distribution vendors:

  • SUSE: Refer to the SUSE Bug Report #1193167 for patched package versions
  • Red Hat: Consult the Red Hat CVE-2021-4028 Advisory for affected products and remediation guidance
  • NetApp: Review the NetApp Security Advisory ntap-20221228-0002 for affected NetApp products

Workarounds

  • Restrict local access to affected systems to trusted users only
  • Disable or unload the RDMA kernel modules (rdma_cm, ib_core) if RDMA functionality is not required
  • Implement mandatory access control policies (SELinux, AppArmor) to limit the ability of unprivileged users to interact with RDMA subsystems
  • Apply network segmentation to isolate systems that require RDMA functionality
bash
# Disable RDMA kernel modules if not required
sudo modprobe -r rdma_cm
sudo modprobe -r ib_core

# Blacklist RDMA modules to prevent automatic loading
echo "blacklist rdma_cm" | sudo tee -a /etc/modprobe.d/blacklist-rdma.conf
echo "blacklist ib_core" | sudo tee -a /etc/modprobe.d/blacklist-rdma.conf

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.05%

  • 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-416
  • Technical References
  • Red Hat CVE-2021-4028 Advisory

  • Red Hat Bug Report #2027201

  • NetApp Security Advisory ntap-20221228-0002
  • Vendor Resources
  • SUSE Bug Report #1193167

  • Linux Kernel Commit Update

  • Linux Kernel Mailing List Discussion
  • Related CVEs
  • CVE-2026-23462: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23458: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23435: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23456: Linux Kernel Use-After-Free Vulnerability
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