Vulnerability in Kernel: x86/Kconfig allows CONFIG_X86_X32_ABI=y with llvm-objcopy
Summary
GSD-2022-1001698: x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy. Affects Kernel versions < c393a9f4cb3bce27ed98d6bc4ffb0bef72ccd698. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Kernel is a critical component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities such as process management, memory management, device drivers, and system calls. The x86/Kconfig module is responsible for configuring various options related to the x86 architecture. One of these options is CONFIG_X86_X32_ABI, which enables support for the x32 ABI (Application Binary Interface). llvm-objcopy is a utility used for manipulating object files. However, there is a vulnerability in the x86/Kconfig module that allows the CONFIG_X86_X32_ABI option to be set to 'y' when llvm-objcopy is being used.
Vulnerability Detail
The vulnerability arises from a misconfiguration in the x86/Kconfig module, which allows the use of CONFIG_X86_X32_ABI=y in conjunction with llvm-objcopy. This combination can lead to potential security issues. The x32 ABI is a hybrid of the 32-bit and 64-bit ABIs, and enabling it without proper support from llvm-objcopy can result in incorrect object file generation. This can lead to various problems, including crashes, memory corruption, and potential code execution vulnerabilities. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.
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 specific workaround mentioned for this vulnerability.
Conclusion
The vulnerability in the Kernel's x86/Kconfig module that allows the use of CONFIG_X86_X32_ABI=y with llvm-objcopy can have severe consequences, including crashes, memory corruption, and potential code execution vulnerabilities. It is crucial to update the Linux Kernel to version v5.15.34 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Kernel is a critical component of the Linux operating system that provides essential functionalities and acts as a bridge between the hardware and software layers.
x86/Kconfig is a module in the Kernel that handles configuration options related to the x86 architecture.
CONFIG_X86_X32_ABI is a configuration option in the x86/Kconfig module that enables support for the x32 ABI.
llvm-objcopy is a utility used for manipulating object files.
Enabling CONFIG_X86_X32_ABI=y with llvm-objcopy can result in incorrect object file generation, leading to crashes, memory corruption, and potential code execution vulnerabilities.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.