Race Condition Vulnerability in Linux Kernel (CVE-2022-1247)

linux Updated 02 Oct 2025

Summary

31/08/2022
N/A
No i
High
7.0

CVE-2022-1247: An issue found in linux-kernel that leads to a race condition in rose_connect(). Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for the operating system, including device drivers, process management, memory management, and file system support. The vulnerability identified as CVE-2022-1247 affects the Linux kernel and specifically impacts the rose driver, which is responsible for handling the ROSE (Radio Over IP) protocol. The vulnerability arises due to a race condition in the rose_connect() function, leading to potential issues when deleting rose_routes.

Vulnerability Detail

The race condition vulnerability in the rose_connect() function of the Linux kernel's rose driver can be exploited when attempting to delete a rose_route via the rose_ioctl() function. The vulnerability stems from the improper handling of the rose_neigh->use variable, which represents the number of objects using the rose_neigh. If a user wants to delete a rose_route, the rose driver calls rose_del_node() and removes neighbors only if their 'count' and 'use' values are zero. However, due to the race condition, it is possible for the 'use' value to be modified concurrently, leading to incorrect deletion of neighbors and potential resource leaks. This vulnerability could be exploited by an attacker to cause denial-of-service (DoS) conditions or potentially execute arbitrary code with elevated privileges.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can consider disabling the ROSE protocol or removing the rose module if it is not required for their system. Disabling or removing the module eliminates the potential attack surface for this vulnerability. However, this workaround may not be feasible in scenarios where the ROSE protocol is essential for system functionality.

Conclusion

The race condition vulnerability in the Linux kernel's rose driver poses a potential risk to systems utilizing the ROSE protocol. It is crucial to promptly update the Linux kernel to a version that includes the necessary patches to mitigate this vulnerability. Regularly checking for updates from your Linux distribution provider and following best practices for system security will help ensure the overall security and stability of your system. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

This vulnerability can lead to denial-of-service (DoS) conditions or potential arbitrary code execution with elevated privileges.

The vulnerability affects Linux distributions using the Linux kernel version 5.10.209-2 or earlier. Specifically, Debian 10, 11, 12, and 13 are impacted.

At the time of this report, there is no known public exploit for this vulnerability. However, it is crucial to apply the necessary patches and updates to mitigate the risk.

Disabling the ROSE protocol or removing the rose module can serve as a temporary mitigation until the kernel is updated. However, this may not be feasible in all scenarios.

For more detailed information about this vulnerability, including technical specifics and updates, refer to the CVE-2022-1247 entry in the National Vulnerability Database (NVD) or consult your Linux distribution's security advisories.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback