Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2021-20322

CVE-2021-20322: Linux Kernel Information Disclosure Flaw

CVE-2021-20322 is an information disclosure vulnerability in Linux Kernel that allows remote attackers to scan UDP ports and bypass source port randomization. This article covers technical details, affected systems, and mitigation.

Published: February 25, 2026

CVE-2021-20322 Overview

A flaw in the processing of received ICMP errors (ICMP fragment needed and ICMP redirect) in the Linux kernel functionality was found to allow the ability to quickly scan open UDP ports. This flaw allows an off-path remote user to effectively bypass the source port UDP randomization. The highest threat from this vulnerability is to confidentiality and possibly integrity, because software that relies on UDP source port randomization are indirectly affected as well.

Critical Impact

Off-path attackers can bypass UDP source port randomization, enabling rapid UDP port scanning and potentially compromising the confidentiality and integrity of systems relying on UDP port randomization for security.

Affected Products

  • Linux Kernel (multiple versions)
  • Fedora 34
  • Debian Linux 9.0 and 10.0
  • NetApp Active IQ Unified Manager, E-Series SANtricity OS Controller
  • NetApp SolidFire, Enterprise SDS & HCI Storage/Management Nodes
  • NetApp FAS/AFF Baseboard Management Controller firmware
  • NetApp H-Series (H700S, H700E, H500S, H500E, H410S, H300E, H300S)
  • NetApp HCI Compute Node firmware
  • Oracle Communications Cloud Native Core (Binding Support Function 22.1.3, Network Exposure Function 22.1.1, Policy 22.2.0)

Discovery Timeline

  • 2022-02-18 - CVE CVE-2021-20322 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-20322

Vulnerability Analysis

This vulnerability exists in the Linux kernel's ICMP error handling mechanism. The flaw allows off-path remote attackers to exploit how the kernel processes ICMP "fragment needed" and ICMP redirect messages to infer information about open UDP ports on a target system. By analyzing the responses to specially crafted ICMP packets, attackers can effectively bypass the security provided by UDP source port randomization—a mechanism designed to make it difficult for attackers to predict or guess the source ports used by UDP-based applications.

The vulnerability is particularly concerning because it creates a side-channel that can be exploited without requiring the attacker to be in the direct network path between communicating hosts. This off-path attack capability significantly expands the potential attack surface, as adversaries do not need to perform traditional man-in-the-middle positioning.

Root Cause

The root cause lies in the insufficient randomization (CWE-330) in the Linux kernel's handling of ICMP error messages related to UDP communications. Specifically, the kernel's route handling code in both IPv4 (net/ipv4/route.c) and IPv6 (net/ipv6/route.c) did not adequately protect against information leakage when processing ICMP fragment needed and ICMP redirect messages. This weakness allows attackers to correlate ICMP responses with UDP port states, effectively defeating the source port randomization that many UDP-based protocols rely upon for security.

Attack Vector

The attack is conducted remotely over the network without requiring authentication or user interaction. An off-path attacker sends specially crafted ICMP packets to a target system and analyzes the responses to determine which UDP ports are open. The attack exploits the predictable behavior of the kernel when handling ICMP errors, allowing rapid enumeration of UDP services.

The vulnerability affects confidentiality by revealing information about open UDP ports and potentially impacts integrity because protocols relying on UDP source port randomization (such as DNS) may become vulnerable to cache poisoning or similar attacks once the port randomization is bypassed.

Detection Methods for CVE-2021-20322

Indicators of Compromise

  • Unusual volumes of inbound ICMP "fragment needed" (Type 3, Code 4) or ICMP redirect messages from external sources
  • Unexpected patterns in UDP connection logs suggesting port enumeration activity
  • Anomalous network traffic patterns involving correlated ICMP and UDP packets from unknown sources

Detection Strategies

  • Monitor network traffic for high rates of ICMP error messages, particularly Type 3 (Destination Unreachable) Code 4 (Fragmentation Needed) and ICMP redirect packets
  • Implement intrusion detection rules to flag suspicious ICMP traffic patterns that may indicate port scanning attempts
  • Utilize kernel audit logging to track ICMP error processing and identify potential exploitation attempts

Monitoring Recommendations

  • Deploy network-based sensors to analyze ICMP traffic patterns at network boundaries
  • Configure host-based monitoring to alert on unusual UDP port access patterns or service enumeration
  • Review system logs for evidence of UDP-based service reconnaissance activity

How to Mitigate CVE-2021-20322

Immediate Actions Required

  • Update the Linux kernel to version 5.15 or later, which contains the patches addressing this vulnerability
  • Apply vendor-specific patches from Debian, Fedora, NetApp, and Oracle as appropriate for your environment
  • Review and restrict ICMP traffic at network boundaries where operationally feasible

Patch Information

Multiple patches have been committed to the Linux kernel to address this vulnerability. The fixes are available in the v5.15-rc6 release and subsequent versions:

  • Linux Commit #4785305 - Core fix for ICMP processing
  • Linux Commit #6457378 - Additional hardening
  • IPv4 Route.c Commit - IPv4 route handling fix
  • IPv6 Route.c Commit - IPv6 route handling fix

Distribution-specific advisories: Debian Security Advisory DSA-5096, Debian LTS Announcement, NetApp Security Advisory, Oracle Security Alert July 2022.

Workarounds

  • Implement strict ICMP filtering at network perimeters to block or rate-limit ICMP fragment needed and redirect messages from untrusted sources
  • Configure iptables or nftables rules to drop suspicious ICMP traffic patterns that may be used for exploitation
  • Consider disabling ICMP redirect acceptance on affected systems using sysctl (net.ipv4.conf.all.accept_redirects=0)
bash
# Configuration example - Disable ICMP redirect acceptance
sysctl -w net.ipv4.conf.all.accept_redirects=0
sysctl -w net.ipv4.conf.default.accept_redirects=0
sysctl -w net.ipv6.conf.all.accept_redirects=0
sysctl -w net.ipv6.conf.default.accept_redirects=0

# Make changes persistent across reboots
echo "net.ipv4.conf.all.accept_redirects = 0" >> /etc/sysctl.conf
echo "net.ipv4.conf.default.accept_redirects = 0" >> /etc/sysctl.conf
echo "net.ipv6.conf.all.accept_redirects = 0" >> /etc/sysctl.conf
echo "net.ipv6.conf.default.accept_redirects = 0" >> /etc/sysctl.conf

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

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-330
  • Technical References
  • Red Hat Bug Report

  • Debian LTS Announcement

  • NetApp Security Advisory

  • Debian Security Advisory DSA-5096

  • Oracle Security Alert July 2022
  • Vendor Resources
  • Linux Commit #4785305

  • Linux Commit #6457378

  • Linux Route.c Commit

  • Linux Route.c Commit
  • Related CVEs
  • CVE-2026-31464: Linux Kernel Information Disclosure Flaw

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

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

  • CVE-2026-31529: 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