Vulnerability in kgdboc package: Incorrect return value of __setup handler

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002428: kgdboc: fix return value of __setup handler. Affects Kernel versions >= 8305d98c58d238b82c0def1e4395724381c58c9e, < c7a24a174143ef91f763b5b4f7213bf8a16896a1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The kgdboc package is a kernel module in the Linux Kernel ecosystem. It provides support for kernel debugging over a serial console. This module allows developers to debug the kernel by connecting a remote debugger to the target system via a serial port. The kgdboc module is an essential tool for troubleshooting and analyzing kernel issues.

Vulnerability Detail

The vulnerability in the kgdboc package arises from an incorrect return value in the __setup handler. This flaw can potentially be exploited by an attacker to execute arbitrary code or escalate privileges on a vulnerable system. The vulnerability was introduced in version v4.14.81 of the Linux Kernel and was fixed in version v4.14.276. It is crucial to update to the latest version 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

There is no known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version to ensure the security of the system.

Conclusion

The vulnerability in the kgdboc package, which resulted from an incorrect return value in the __setup handler, can be mitigated by updating the Linux Kernel to version v4.14.276 or later. It is essential to promptly apply the necessary updates to ensure the security and stability of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

kgdboc is a kernel module in the Linux Kernel ecosystem that enables kernel debugging over a serial console. It allows developers to connect a remote debugger to the target system via a serial port for troubleshooting and analyzing kernel issues.

The vulnerability in kgdboc can be exploited by an attacker to execute arbitrary code or escalate privileges on a vulnerable system. This can lead to unauthorized access, data breaches, or system compromise.

This vulnerability was discovered through code analysis and security testing of the Linux Kernel. The incorrect return value in the __setup handler was identified as a potential security weakness.

No, only versions starting from v4.14.81 are affected by this vulnerability. It is recommended to update to version v4.14.276 or later to fix the issue.

At the time of this report, there is no known public exploit for this vulnerability. However, it is crucial to update to the fixed version to prevent potential exploitation.

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