Race Condition Vulnerability in rpmsg: char
Summary
GSD-2022-1000255: rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev. Affects Kernel versions >= c0cdc19f84a4712cf74888f83af286e3c2e14efd, < 85aba11a8ea92a8eef2de95ebbe063086fd62d9c. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 multi-processor system. The package includes a character device driver (rpmsg_char) that facilitates the exchange of messages between processors. This vulnerability affects versions of the Linux Kernel from v4.11 to v5.15.18.
Vulnerability Detail
The vulnerability in rpmsg: char is a race condition that occurs during the release of the rpmsg_ctrldev and cdev objects. This race condition can lead to a use-after-free scenario, where a reference to a released object is still accessed. 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 essential to apply the fix by updating the Linux Kernel to a patched version.
Conclusion
The race condition vulnerability in rpmsg: char can lead to serious security issues, including arbitrary code execution and denial-of-service. It is crucial to update the Linux Kernel to a patched version to mitigate this vulnerability. For further assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
rpmsg: char is a component of the Linux Kernel that enables communication between processors in a multi-processor system.
A race condition is a software vulnerability that occurs when the behavior of a program depends on the relative timing of events.
A use-after-free vulnerability is a type of memory corruption issue where a program continues to use a memory region after it has been freed.
This vulnerability could allow an attacker to execute arbitrary code or cause a denial-of-service condition on a system running an affected version of the Linux Kernel.
To protect your system, it is recommended to update the Linux Kernel to version v5.15.19 or later, which includes the fix for this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.