Vulnerability in Kernel package: kgdboc: fix return value of __setup handler

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002345: kgdboc: fix return value of __setup handler. Affects Kernel versions >= df7ada33d6dc57926e25e4cf1a22e80b4f385884, < 1c3bb588b78e07f97e5a55fb523d103d124050a1. 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 package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for the system's hardware, software, and user applications. The kgdboc module within the Kernel package is responsible for handling kernel debugging over the console. It allows developers to debug the kernel code during runtime. However, a vulnerability has been identified in the __setup handler of kgdboc, which can lead to potential security risks.

Vulnerability Detail

The vulnerability in the kgdboc package arises from an incorrect return value in the __setup handler. This issue was introduced in version v4.19.2 of the Linux Kernel and fixed in version v4.19.238. The impact and attack plausibility of this vulnerability have not been proven yet. However, if exploited, it could potentially allow an attacker to execute arbitrary code or gain elevated privileges on a vulnerable system. The vulnerability can be triggered by a specific sequence of actions or inputs, which may vary depending on the specific use case.

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 kgdboc module if it is not required for their system. This can be achieved by modifying the kernel configuration or blacklisting the module. However, it is important to note that disabling the kgdboc module may impact the ability to perform kernel debugging over the console.

Conclusion

In conclusion, a vulnerability has been identified in the kgdboc module of the Kernel package. This vulnerability can potentially allow an attacker to execute arbitrary code or gain elevated privileges. It is recommended to update the Linux Kernel package to version v4.19.238 or later to mitigate this vulnerability. Alternatively, users can temporarily disable the kgdboc module if it is not required. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

If exploited, this vulnerability could allow an attacker to execute arbitrary code or gain elevated privileges on a vulnerable system.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it in real-time.

At the time of this report, there is no known exploit for this vulnerability. However, it is always recommended to apply security updates promptly to mitigate potential risks.

As a temporary workaround, you can disable the kgdboc module if it is not required for your system. However, it is highly recommended to update to the latest version of the Kernel package to fully address the vulnerability.

You can find more information about the fix for this vulnerability in the Linux Kernel repository. The specific commit that addresses this issue is 1c3bb588b78e07f97e5a55fb523d103d124050a1.

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