Race Condition Vulnerability in rpmsg: char Package

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000194: rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev. Affects Kernel versions >= c0cdc19f84a4712cf74888f83af286e3c2e14efd, < 1dbb206730f3e5ce90014ad569ddf8167ec4124a. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The rpmsg: char package is a component of the Linux Kernel that provides support for remote processor messaging. It allows communication between processors in a heterogeneous system. The package includes a character device driver (cdev) that handles the communication between the local and remote processors. This vulnerability affects versions of the Linux Kernel from v4.11 to v5.10.96.

Vulnerability Detail

The vulnerability in rpmsg: char package arises from a race condition between the release of the rpmsg_ctrldev and cdev. This race condition can occur when multiple threads or processes attempt to access the rpmsg_ctrldev and cdev simultaneously. If the release of rpmsg_ctrldev happens before the release of cdev, it can lead to a use-after-free vulnerability. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition.

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

There is no known workaround for this vulnerability. It is recommended to apply the fix mentioned above by updating the Linux Kernel.

Conclusion

The race condition vulnerability in the rpmsg: char package of the Linux Kernel can lead to a use-after-free vulnerability, potentially allowing an attacker to execute arbitrary code or cause a denial-of-service condition. It is crucial to update the Linux Kernel to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The rpmsg: char package is a component of the Linux Kernel that provides support for remote processor messaging. It enables communication between processors in a heterogeneous system.

A race condition is a software vulnerability that occurs when the behavior of a program depends on the relative timing of events. In this case, the race condition arises when the release of rpmsg_ctrldev and cdev happens in an unexpected order.

A use-after-free vulnerability occurs when a program continues to use a memory region after it has been freed. In this case, the use-after-free vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.

For further support on vulnerability remediation, you can contact info@devnack.com. They can provide guidance and assistance in fixing the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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