Vulnerability in Kernel: tipc: check for null after calling kmemdup
Summary
GSD-2021-1002311: tipc: check for null after calling kmemdup. Affects Kernel versions < 9404c4145542c23019a80ab1bb2ecf73cd057b10. 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 Kernel is a fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The tipc module within the Kernel is responsible for providing Transparent Inter-Process Communication (TIPC) capabilities, allowing processes to communicate with each other across a network.
The vulnerability in the tipc module arises from a missing null check after calling the kmemdup function. This vulnerability could potentially lead to a null pointer dereference, causing a system crash or enabling an attacker to execute arbitrary code with kernel privileges.
Vulnerability Detail
The vulnerability in the tipc module occurs due to a missing null check after calling the kmemdup function. This function is used to allocate and copy memory in the Kernel. Without the null check, if the kmemdup function fails to allocate memory, it will return a null pointer. Subsequent operations relying on this pointer can lead to a null pointer dereference, resulting in a system crash or potential code execution by an attacker.
The impact and attack plausibility of this vulnerability have not been proven yet, but it is essential to address it to ensure the stability and security of the system.
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
No workaround has been mentioned for this vulnerability.
Conclusion
The vulnerability in the tipc module of the Kernel poses a risk of system crashes and potential code execution by an attacker. It is recommended to update the Kernel to the fixed version or apply the provided patch to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can range from a system crash to potential code execution by an attacker with kernel privileges.
You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.
Yes, a fix is available in the Linux Kernel version v5.15.5. It is recommended to update the Kernel to this version or apply the provided patch manually.
The remote exploitability of this vulnerability has not been determined yet. However, it is crucial to address it to prevent potential attacks.
You can find more information about this vulnerability in the Open Source Vulnerability database maintained by the Cloud Security Alliance. The specific vulnerability ID is GSD-2021-1002311.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.