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-1002229: kgdboc: fix return value of __setup handler. Affects Kernel versions >= 1bd54d851f50dea6af30c3e6ff4f3e9aab5558f9, < 16fe77f86aa58418f20de13d614db88d608537bb. 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 package is a crucial component of the Linux operating system, responsible for managing the system's core functions and providing an interface between hardware and software. It is responsible for tasks such as memory management, process scheduling, and device drivers. The kgdboc module within the Kernel package allows for kernel debugging over an external serial console. This vulnerability specifically affects the __setup handler in kgdboc.

Vulnerability Detail

The vulnerability in kgdboc's __setup handler arises from an incorrect return value. This flaw could potentially be exploited by an attacker to execute arbitrary code or escalate privileges on a vulnerable system. The vulnerability was introduced in version v4.20 of the Linux Kernel and was fixed in version v5.4.189. The impact and attack plausibility of this vulnerability have not been proven.

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 specific workaround has been provided for this vulnerability.

Conclusion

In conclusion, the Kernel package's kgdboc module was found to have a vulnerability in its __setup handler. This vulnerability could potentially allow an attacker to execute arbitrary code or escalate privileges on a vulnerable system. It is crucial to update the Kernel package to version v5.4.189 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or escalate privileges on a vulnerable system.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will provide real-time alerts for open-source vulnerabilities.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to promptly update the Kernel package to the latest version to mitigate any potential risks.

This vulnerability requires local access to the system to exploit. However, it is still crucial to apply the necessary updates to prevent any potential exploitation.

The primary mitigation for this vulnerability is to update the Kernel package to the fixed version. Additionally, it is recommended to follow security best practices such as restricting access to privileged accounts and implementing proper network security measures.

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