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-2022-2318

CVE-2022-2318: Linux Kernel Use-After-Free Vulnerability

CVE-2022-2318 is a use-after-free flaw in Linux Kernel's ROSE timer handler that enables unprivileged attackers to crash the system. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 11, 2026

CVE-2022-2318 Overview

CVE-2022-2318 is a Use-After-Free vulnerability in the Linux kernel's ROSE (Radio Amateur Telecommunications Society) protocol timer handling code located in net/rose/rose_timer.c. This vulnerability allows local attackers to crash the Linux kernel without requiring elevated privileges, resulting in a denial of service condition.

The flaw exists in how the ROSE protocol module manages timer handlers for socket operations. When timer handlers execute after associated socket structures have been freed, the kernel attempts to access invalid memory regions, leading to system instability and crashes.

Critical Impact

Local attackers can exploit this use-after-free vulnerability to crash the Linux kernel, causing complete system denial of service without requiring any special privileges.

Affected Products

  • Linux Kernel (versions prior to 5.19-rc5)
  • Debian Linux 10.0 and 11.0
  • NetApp H300S, H500S, H700S, H410S, and H410C firmware

Discovery Timeline

  • July 6, 2022 - CVE-2022-2318 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-2318

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free), a memory corruption flaw that occurs when a program continues to use memory after it has been freed. In the context of CVE-2022-2318, the issue manifests in the ROSE protocol's timer management functions within the Linux kernel networking subsystem.

The ROSE protocol is a packet-switched protocol derived from X.25 and used in amateur radio networks. The vulnerable code path involves timer handlers (rose_heartbeat_expiry, rose_timer_expiry) that manage socket keep-alive and timeout operations. When these timer handlers fire after the associated socket structure has been deallocated, the kernel accesses freed memory, corrupting kernel data structures and triggering a system crash.

The vulnerability can be exploited locally, requiring low-privilege access but no user interaction. While the attack complexity is low, the impact is limited to availability—attackers cannot leverage this flaw to gain code execution or access confidential information.

Root Cause

The root cause lies in improper synchronization between socket destruction and timer management in the ROSE protocol implementation. The original code used del_timer() and add_timer() functions directly, which do not properly handle the reference counting needed to prevent use-after-free conditions.

When a socket is being destroyed, there's a race window where timer callbacks may still be pending or executing. If the timer fires after the socket structure is freed but before the timer is properly cancelled, the callback function dereferences invalid memory pointers.

Attack Vector

The attack vector is local, meaning an attacker must have local access to the system to exploit this vulnerability. The exploitation process involves:

  1. Creating a ROSE protocol socket on a vulnerable Linux system
  2. Triggering timer operations through socket activity
  3. Racing the socket destruction with pending timer callbacks
  4. The timer handler accesses freed socket memory, causing kernel crash

The following patch demonstrates the fix applied to address this vulnerability:

c
void rose_start_heartbeat(struct sock *sk)
{
-	del_timer(&sk->sk_timer);
+	sk_stop_timer(sk, &sk->sk_timer);

	sk->sk_timer.function = rose_heartbeat_expiry;
	sk->sk_timer.expires  = jiffies + 5 * HZ;

-	add_timer(&sk->sk_timer);
+	sk_reset_timer(sk, &sk->sk_timer, sk->sk_timer.expires);
}

void rose_start_t1timer(struct sock *sk)
{
	struct rose_sock *rose = rose_sk(sk);

-	del_timer(&rose->timer);
+	sk_stop_timer(sk, &rose->timer);

	rose->timer.function = rose_timer_expiry;
	rose->timer.expires  = jiffies + rose->t1;

-	add_timer(&rose->timer);
+	sk_reset_timer(sk, &rose->timer, rose->timer.expires);
}

void rose_start_t2timer(struct sock *sk)
{
	struct rose_sock *rose = rose_sk(sk);

Source: GitHub Linux Commit

The fix replaces direct timer manipulation functions (del_timer/add_timer) with socket-aware timer functions (sk_stop_timer/sk_reset_timer) that properly manage reference counting on the socket structure, preventing the use-after-free condition.

Detection Methods for CVE-2022-2318

Indicators of Compromise

  • Unexpected kernel panics or system crashes related to ROSE network protocol operations
  • Kernel oops messages referencing rose_timer_expiry, rose_heartbeat_expiry, or net/rose/rose_timer.c
  • System logs showing memory corruption errors in networking subsystem components
  • Repeated system reboots without apparent hardware failures on systems with ROSE protocol enabled

Detection Strategies

  • Monitor kernel logs (dmesg, /var/log/kern.log) for panic traces involving ROSE timer functions
  • Deploy kernel live patching solutions to detect and alert on vulnerable kernel versions
  • Use SentinelOne Singularity platform to monitor for suspicious local exploitation attempts targeting kernel subsystems
  • Implement system call monitoring to detect unusual ROSE protocol socket operations

Monitoring Recommendations

  • Enable kernel crash dump analysis to capture forensic data during exploitation attempts
  • Configure auditd rules to log ROSE protocol socket operations (AF_ROSE socket family)
  • Monitor for processes loading the rose kernel module on systems where it should not be used
  • Deploy endpoint detection and response (EDR) solutions capable of detecting kernel-level anomalies

How to Mitigate CVE-2022-2318

Immediate Actions Required

  • Update Linux kernel to version 5.19-rc5 or later that includes the security fix
  • Apply vendor-specific patches from Debian, NetApp, or your distribution vendor
  • Disable or blacklist the ROSE kernel module if not required: echo "blacklist rose" >> /etc/modprobe.d/blacklist.conf
  • Restrict local access to systems running vulnerable kernel versions until patching is complete

Patch Information

The vulnerability has been fixed in the upstream Linux kernel via commit 9cc02ede696272c5271a401e4f27c262359bc2f6. The fix replaces unsafe timer operations with socket-aware timer management functions that properly handle reference counting.

Vendor patches are available from:

  • Debian Security Advisory DSA-5191
  • Debian LTS Announcement
  • NetApp Security Advisory

Workarounds

  • Blacklist the ROSE kernel module on systems where amateur radio networking is not required
  • Restrict local user access to reduce the attack surface for unprivileged exploitation
  • Implement mandatory access control (SELinux/AppArmor) policies to limit ROSE protocol access
  • Consider containerization with restricted kernel module access for vulnerable workloads
bash
# Disable ROSE kernel module to mitigate the vulnerability
echo "blacklist rose" >> /etc/modprobe.d/blacklist-rose.conf
echo "install rose /bin/false" >> /etc/modprobe.d/blacklist-rose.conf

# Unload the module if currently loaded
rmmod rose 2>/dev/null || true

# Update module dependencies
depmod -a

# Verify module is blacklisted
modprobe -n -v rose

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

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.07%

  • 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-416
  • Technical References
  • Debian LTS Announcement

  • NetApp Security Advisory

  • Debian Security Advisory DSA-5191
  • Vendor Resources
  • GitHub Linux Commit
  • Related CVEs
  • CVE-2026-31414: Linux Kernel Use-After-Free Vulnerability

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

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

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