Vulnerability in Kernel: tipc: check for null after calling kmemdup

Kernel Updated 02 Oct 2025

Summary

29/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002311: tipc: check for null after calling kmemdup. Affects Kernel versions < 9404c4145542c23019a80ab1bb2ecf73cd057b10. 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 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 →

Share this vulnerability

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.

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