Vulnerability in Kernel: kthread_struct Allocation

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003173: kthread: Don't allocate kthread_struct for init and umh. Affects Kernel versions >= 40966e316f86b8cfd83abd31ccb4df729309d3e7, < d2408e5a158013edf259b13267d936e5e486b177. 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 Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability in question relates to the allocation of kthread_struct for init and umh. The kthread_struct is a data structure used to represent kernel threads. This vulnerability allows an attacker to exploit the allocation process, potentially leading to security breaches and system instability.

Vulnerability Detail

The vulnerability arises from the improper allocation of kthread_struct for init and umh in the Kernel. By exploiting this flaw, an attacker could gain unauthorized access to system resources or execute arbitrary code with elevated privileges. The impact of this vulnerability can range from information disclosure to complete system compromise. It is crucial to address this issue promptly to mitigate the risk of exploitation.

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 temporary workaround, users can disable the affected functionality or limit access to vulnerable components. However, it is strongly advised to apply the official fix as soon as possible to ensure comprehensive protection against potential attacks.

Conclusion

The vulnerability in the Kernel related to the improper allocation of kthread_struct for init and umh poses a significant risk to system security. It is crucial to update the Kernel to the recommended version or apply the provided patch promptly. Failure to address this vulnerability may result in unauthorized access, information disclosure, or arbitrary code execution. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability allows attackers to exploit the allocation process of kthread_struct for init and umh, potentially leading to unauthorized access, information disclosure, or arbitrary code execution.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

At the time of this report, there are no known public exploits targeting this specific vulnerability. However, it is essential to apply the recommended fix to prevent potential exploitation.

While it is recommended to update the Kernel to the latest version, you can temporarily mitigate the risk by disabling the affected functionality or limiting access to vulnerable components. However, these measures are not a substitute for the official fix and should be considered temporary solutions.

For more details about this vulnerability, including technical specifics and the official fix, please refer to the vulnerability report available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003173.json.

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