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

CVE-2022-1247: Linux Kernel Race Condition Vulnerability

CVE-2022-1247 is a race condition vulnerability in the Linux Kernel ROSE driver that affects the rose_connect() function. This article covers the technical details, affected kernel versions, security impact, and mitigation.

Published: February 17, 2026

CVE-2022-1247 Overview

A race condition vulnerability exists in the Linux kernel's ROSE (Radio Operators Standard Environment) amateur radio protocol driver. The vulnerability is found in the rose_connect() function where improper synchronization leads to a race condition. The ROSE driver uses rose_neigh->use to represent how many objects are using the rose_neigh structure. When a user attempts to delete a rose_route via rose_ioctl(), the driver calls rose_del_node() and removes neighbours only if their "count" and "use" values are zero. This creates a Time-of-Check Time-of-Use (TOCTOU) race condition that can be exploited by a local attacker.

Critical Impact

A local attacker with low privileges can exploit this race condition to potentially gain elevated privileges, corrupt memory, or cause system instability leading to complete system compromise.

Affected Products

  • Linux Linux Kernel (all versions with ROSE protocol support)
  • Red Hat Enterprise Linux 9.0
  • Fedora 36

Discovery Timeline

  • 2022-08-31 - CVE CVE-2022-1247 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-1247

Vulnerability Analysis

This vulnerability is classified as CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization), commonly known as a race condition. The flaw exists in the ROSE amateur radio network protocol implementation within the Linux kernel.

The core issue lies in how the ROSE driver manages reference counting for neighbor structures. The rose_neigh->use counter tracks active users of neighbor objects, but the check-and-delete operation is not atomic. When rose_ioctl() processes a delete request, it verifies the reference counts before removal, but another thread can increment the counter between the check and the actual deletion, leading to a use-after-free condition.

Since this requires local access and specific timing conditions to trigger, successful exploitation demands precise race window manipulation. However, if successfully exploited, an attacker could achieve arbitrary code execution with kernel privileges, potentially compromising system confidentiality, integrity, and availability.

Root Cause

The root cause is the lack of proper synchronization primitives (such as spinlocks or mutex locks) protecting the critical section where the rose_neigh reference count is checked and the neighbor structure is subsequently deleted. The rose_del_node() function checks if both "count" and "use" are zero before freeing the neighbor structure, but without holding an appropriate lock during this operation, another concurrent execution path in rose_connect() can modify these values, creating a TOCTOU vulnerability.

Attack Vector

The attack requires local access to the system with low privileges. An attacker needs the ability to interact with the ROSE network protocol subsystem, which is typically available to users with appropriate permissions or CAP_NET_ADMIN capabilities.

The exploitation technique involves:

  1. Creating a legitimate ROSE connection to increment the neighbor reference count
  2. Simultaneously issuing a delete command via rose_ioctl()
  3. Timing the operations so the deletion check passes while the reference is still in use
  4. After deletion, the first operation continues to use the freed memory structure

Successful exploitation results in a use-after-free condition, which can be leveraged for privilege escalation or denial of service. The technique requires precise timing but is achievable with repeated attempts on multi-processor systems. Technical details are available in the Red Hat Bug Report #2066799.

Detection Methods for CVE-2022-1247

Indicators of Compromise

  • Unexpected kernel panics or crashes related to the ROSE network subsystem
  • Suspicious processes interacting with ROSE protocol interfaces (/dev/rose* devices)
  • Unusual system calls targeting ROSE ioctl operations from unprivileged user accounts
  • Memory corruption signatures in kernel logs referencing rose_neigh or rose_connect structures

Detection Strategies

  • Monitor for processes loading or interacting with the rose kernel module
  • Implement auditd rules to track ioctl() system calls on ROSE-related file descriptors
  • Use kernel live patching detection tools to identify unpatched systems
  • Deploy SentinelOne Singularity Platform for real-time kernel-level threat detection and behavioral analysis

Monitoring Recommendations

  • Enable kernel audit logging for network subsystem operations
  • Monitor dmesg and system logs for ROSE driver warnings or errors
  • Track loading/unloading of the rose.ko kernel module
  • Implement file integrity monitoring on kernel modules directory

How to Mitigate CVE-2022-1247

Immediate Actions Required

  • Apply the latest kernel security updates from your distribution vendor
  • If ROSE protocol is not needed, disable or blacklist the rose kernel module
  • Restrict access to ROSE network interfaces using appropriate permissions
  • Consider enabling kernel security features such as KASLR and SMEP/SMAP

Patch Information

Security patches addressing this race condition are available from major Linux distribution vendors. Red Hat has published an advisory with remediation guidance at the Red Hat CVE-2022-1247 Advisory. Administrators should update to the latest kernel version provided by their distribution that includes the fix for this vulnerability.

Workarounds

  • Blacklist the ROSE kernel module by adding blacklist rose to /etc/modprobe.d/blacklist.conf
  • Unload the ROSE module if currently loaded using rmmod rose
  • Restrict module loading capabilities to prevent re-loading of the vulnerable module
  • Apply network namespace isolation to limit access to ROSE interfaces
bash
# Disable the ROSE kernel module (workaround)
echo "blacklist rose" >> /etc/modprobe.d/blacklist-rose.conf
echo "install rose /bin/true" >> /etc/modprobe.d/blacklist-rose.conf

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

# Regenerate initramfs to persist changes
dracut -f  # For RHEL/Fedora
# or
update-initramfs -u  # For Debian/Ubuntu

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.0

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-362
  • Technical References
  • Red Hat CVE-2022-1247 Advisory

  • Red Hat Bug Report #2066799
  • Related CVEs
  • CVE-2026-23440: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23434: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23436: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23463: Linux Kernel QBMAN Race Condition 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