Lockdown: Lock Down Previous KGDB Use in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002855: lockdown: also lock down previous kgdb use. Affects Kernel versions < eca56bf0066ef2f1e7be0e3fa7564b85a309872c. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality and interfaces for hardware, software, and user applications. One of the features of the Linux Kernel is KGDB, a kernel debugger that allows developers to debug the kernel using a remote machine. However, this feature can also be exploited by attackers to gain unauthorized access or execute arbitrary code on a system.

Vulnerability Detail

The vulnerability identified as GSD-2022-1002855 in the Linux Kernel involves the lockdown feature, which is designed to restrict certain kernel functionality to enhance system security. However, the lockdown feature did not previously include locking down the KGDB functionality, leaving it potentially vulnerable to abuse. An attacker could leverage this vulnerability to gain unauthorized access to the kernel and execute malicious code, compromising the integrity and security of the system. This vulnerability has been addressed in Linux Kernel version v5.18.1 by commit eca56bf0066ef2f1e7be0e3fa7564b85a309872c.

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 workaround, users can disable the KGDB functionality manually by modifying the kernel configuration and rebuilding the kernel without KGDB support. This can be achieved by removing the relevant KGDB configuration options from the kernel configuration file and recompiling the kernel. However, this workaround may not be suitable for all users, especially those who require KGDB for debugging purposes.

Conclusion

The vulnerability in the Linux Kernel that allowed potential abuse of the KGDB functionality has been addressed in version v5.18.1. It is crucial to update to this version or a later one to ensure the security and integrity of the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could allow an attacker to gain unauthorized access to the kernel and execute arbitrary code, potentially leading to system compromise and data breaches.

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 Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

Yes, a patch has been released in Linux Kernel version v5.18.1. It is recommended to update to this version or a later one to mitigate the vulnerability.

Yes, you can manually disable the KGDB functionality by modifying the kernel configuration and rebuilding the kernel without KGDB support. However, this may not be suitable for all users, especially those who require KGDB for debugging purposes.

You can find more information about this vulnerability, including the fix commit and related details, in the GSD-2022-1002855 JSON file available on the GitHub repository of the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database).

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