Memory Leak Vulnerability in x86/kexec

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003162: x86/kexec: fix memory leak of elf header buffer. Affects Kernel versions < 115ee42a4c2f26ba2b4ace2668a3f004621f6833. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The x86/kexec is a component of the Linux Kernel that allows for the loading and booting of a new kernel from the currently running kernel. It is commonly used for system recovery, kernel debugging, and updating the kernel without rebooting the system. The vulnerability identified in x86/kexec is related to a memory leak issue in the handling of ELF (Executable and Linkable Format) headers. ELF headers are used to describe the structure and layout of executable files and shared libraries in the Linux system. This vulnerability can potentially lead to a depletion of system memory resources, which may result in system instability or denial of service.

Vulnerability Detail

The memory leak vulnerability in x86/kexec arises from a failure to release memory allocated for the ELF header buffer. When loading a new kernel using kexec, the vulnerable code does not properly free the memory allocated for the ELF header buffer, leading to a memory leak. An attacker with local access to the system could potentially exploit this vulnerability to exhaust system memory resources, causing system instability or denial of service. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.17.14 by commit 115ee42a4c2f26ba2b4ace2668a3f004621f6833.

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 mitigate the risk of this vulnerability by avoiding the use of the x86/kexec functionality or by limiting its usage to trusted environments. Disabling or restricting access to the kexec system call can help prevent potential exploitation of this vulnerability. However, it is important to note that this workaround may impact the functionality and capabilities of the system.

Conclusion

The memory leak vulnerability in x86/kexec can pose a risk to system stability and availability. It is crucial to update the Linux Kernel to version v5.17.14 or later to address this vulnerability. Users can also consider implementing the temporary workaround of disabling or restricting access to the kexec system call. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

x86/kexec is a component of the Linux Kernel that allows for the loading and booting of a new kernel from the currently running kernel. It is commonly used for system recovery, kernel debugging, and updating the kernel without rebooting the system.

An ELF (Executable and Linkable Format) header is a data structure used to describe the structure and layout of executable files and shared libraries in the Linux system. It contains information such as the entry point of the program, the memory layout, and the dependencies of the executable or library.

A memory leak occurs when a program or system fails to release memory that is no longer needed. This can lead to a gradual depletion of available memory resources, potentially causing system instability or performance degradation.

The memory leak vulnerability in x86/kexec can result in a depletion of system memory resources, leading to system instability or denial of service. An attacker with local access to the system could potentially exploit this vulnerability to exhaust system memory, impacting the overall performance and availability of the system.

Yes, this vulnerability has been fixed in Linux Kernel version v5.17.14 by commit 115ee42a4c2f26ba2b4ace2668a3f004621f6833. It is recommended to update the Linux Kernel to this version or later to mitigate the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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