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-2023-6622

CVE-2023-6622: Fedora Linux Kernel DoS Vulnerability

CVE-2023-6622 is a null pointer dereference denial of service flaw in the Fedora Linux kernel's nf_tables component that allows local attackers with CAP_NET_ADMIN privilege to crash the system. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-6622 Overview

A null pointer dereference vulnerability was discovered in the nft_dynset_init() function within net/netfilter/nft_dynset.c in the nf_tables component of the Linux kernel. This vulnerability allows a local attacker with CAP_NET_ADMIN user privilege to trigger a denial of service condition by causing the kernel to dereference a null pointer during netfilter set expression handling.

Critical Impact

Local attackers with CAP_NET_ADMIN capabilities can crash affected Linux systems, causing service disruption and potential availability issues for critical infrastructure.

Affected Products

  • Linux Kernel (versions prior to patch, including 6.7-rc1 through 6.7-rc4)
  • Fedora 38 and Fedora 39
  • Red Hat Enterprise Linux 8.0 and 9.0

Discovery Timeline

  • 2023-12-08 - CVE-2023-6622 published to NVD
  • 2025-06-25 - Last updated in NVD database

Technical Details for CVE-2023-6622

Vulnerability Analysis

The vulnerability resides in the nft_dynset_init() function responsible for initializing dynamic sets in the netfilter tables subsystem. The flaw occurs due to insufficient validation when handling dynset and set expressions. Specifically, the code failed to properly verify array bounds before accessing set expression elements, leading to potential null pointer dereference when the dynset expression count exceeds the set expression count.

This vulnerability requires local access to the system with CAP_NET_ADMIN capability, which is typically granted to administrators or privileged containers. While the exploitation requires elevated privileges, the impact is significant as it allows denial of service through kernel panic, affecting system availability.

Root Cause

The root cause is an improper bounds check in the nft_dynset_init() function. When iterating through dynset expressions and comparing them with set expressions, the original code only checked if the expression operations matched but failed to verify that the iteration index (i) was within the bounds of the set's expression array (set->num_exprs). This oversight allowed an out-of-bounds access that could result in dereferencing a null pointer when i >= set->num_exprs.

Attack Vector

To exploit this vulnerability, an attacker must:

  1. Have local access to the target system
  2. Possess CAP_NET_ADMIN capability (typically root or container administrator)
  3. Craft malicious nftables rules with mismatched dynset and set expressions
  4. Trigger the vulnerable code path in nft_dynset_init()

The attack results in a kernel null pointer dereference, causing a system crash or denial of service condition.

c
// Security patch for CVE-2023-6622 - bounds checking fix
// Source: https://github.com/torvalds/linux/commit/3701cd390fd731ee7ae8b8006246c8db82c72bea

 		priv->expr_array[i] = dynset_expr;
 		priv->num_exprs++;

-		if (set->num_exprs &&
-		    dynset_expr->ops != set->exprs[i]->ops) {
-			err = -EOPNOTSUPP;
-			goto err_expr_free;
+		if (set->num_exprs) {
+			if (i >= set->num_exprs) {
+				err = -EINVAL;
+				goto err_expr_free;
+			}
+			if (dynset_expr->ops != set->exprs[i]->ops) {
+				err = -EOPNOTSUPP;
+				goto err_expr_free;
+			}
 		}
 		i++;
 	}

Source: GitHub Linux Commit 3701cd3

Detection Methods for CVE-2023-6622

Indicators of Compromise

  • Kernel panic messages referencing nft_dynset_init or nft_dynset.c in system logs
  • Unexpected system crashes or reboots without hardware failure indicators
  • Suspicious nftables rule manipulation attempts from privileged users or containers
  • Audit log entries showing unusual CAP_NET_ADMIN activity

Detection Strategies

  • Monitor kernel logs (dmesg, /var/log/kern.log) for null pointer dereference errors in netfilter subsystem
  • Implement auditd rules to track nftables configuration changes and CAP_NET_ADMIN usage
  • Deploy kernel live patching solutions to detect vulnerability exploitation attempts
  • Use SentinelOne Singularity Platform for real-time kernel-level threat detection

Monitoring Recommendations

  • Enable kernel crash dump analysis (kdump) to capture diagnostic information during exploitation attempts
  • Configure system monitoring to alert on unexpected kernel panics or forced reboots
  • Monitor container runtime environments for unusual nftables manipulation
  • Implement rate limiting on nftables rule changes in multi-tenant environments

How to Mitigate CVE-2023-6622

Immediate Actions Required

  • Update Linux kernel to patched versions that include commit 3701cd390fd731ee7ae8b8006246c8db82c72bea
  • Apply vendor security updates for Fedora (packages announced via Fedora Package Announce)
  • Install Red Hat Enterprise Linux security updates per RHSA-2024:2394, RHSA-2024:2950, or RHSA-2024:3138
  • Audit systems to identify users and containers with CAP_NET_ADMIN capability

Patch Information

The vulnerability has been addressed in the upstream Linux kernel through commit 3701cd390fd731ee7ae8b8006246c8db82c72bea. The fix adds proper bounds checking to ensure the dynset expression index does not exceed the set expression count before accessing array elements. Vendors have released the following security advisories:

  • Red Hat Security Advisory RHSA-2024:2394
  • Red Hat Security Advisory RHSA-2024:2950
  • Red Hat Security Advisory RHSA-2024:3138
  • Fedora Package Announcement

Workarounds

  • Restrict CAP_NET_ADMIN capability to only essential users and services until patching is complete
  • Use container security policies to limit nftables access in containerized environments
  • Consider disabling nf_tables module (modprobe -r nf_tables) if not required for operations
  • Implement mandatory access control (SELinux/AppArmor) policies to restrict netfilter manipulation
bash
# Restrict CAP_NET_ADMIN capability until patches are applied
# List processes with CAP_NET_ADMIN capability
getpcaps $(pgrep -f nft) 2>/dev/null

# Disable nf_tables module if not required (temporary workaround)
modprobe -r nf_tables
echo "blacklist nf_tables" >> /etc/modprobe.d/blacklist-nftables.conf

# Verify current kernel version and check if patched
uname -r
rpm -q kernel --changelog | grep -i "nft_dynset\|CVE-2023-6622"

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLinux

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-476
  • Technical References
  • Red Hat Security Advisory RHSA-2024:2394

  • Red Hat Security Advisory RHSA-2024:2950

  • Red Hat Security Advisory RHSA-2024:3138

  • Red Hat CVE Analysis CVE-2023-6622

  • Fedora Package Announcement Message 1

  • Fedora Package Announcement Message 2
  • Vendor Resources
  • Red Hat Bugzilla Entry #2253632

  • GitHub Linux Commit 3701cd3
  • Related CVEs
  • CVE-2026-23300: Linux Kernel IPv6 Nexthop DOS Vulnerability

  • CVE-2025-71108: Linux Kernel UCSI DOS Vulnerability

  • CVE-2025-68771: Linux Kernel OCFS2 DOS Vulnerability

  • CVE-2025-68768: Linux Kernel DoS 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