Critical Vulnerability in Linux Package: vGPIO Driver Crash Due to irq_chip Modification
Summary
DEBIAN-CVE-2024-56671: In the Linux kernel, the following vulnerability has been resolved: gpio: graniterapids: Fix vGPIO driver crash Move setting irq_chip.name from probe() function to the initialization of "irq_chip" struct in order to fix... Affects linux versions < 6.12.6-1. Fixed in 6.12.6-1. 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 Linux package is a core component of the Debian operating system, providing essential functionalities for managing hardware and system resources. It includes drivers for various hardware components, including GPIO (General Purpose Input/Output) interfaces. This vulnerability affects the vGPIO driver specifically, which is responsible for managing virtual GPIOs. The issue arises from an improper handling of the irq_chip structure, leading to potential system crashes during bootup.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the vGPIO driver related to the improper modification of the irq_chip.name field. This issue stems from a suboptimal implementation of the gpio_irq_chip_set_chip() function, which incorrectly casts away the const qualifier of the irq_chip struct. As a result, unauthorized modifications can lead to a crash during system boot, causing a page fault and permissions violation. The crash log indicates a failure to handle a page fault for a specific address, which can disrupt system operations and lead to instability.
How To Fix
Minimum fixed version
6.12.6-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating to the fixed version of the Linux package.
Conclusion
The identified vulnerability in the Linux package poses a significant risk due to the potential for system crashes linked to the vGPIO driver. Users are strongly encouraged to update to the patched version 6.12.6-1 to mitigate this risk. Regular monitoring for vulnerabilities using tools like Vulert can further enhance system security.
See every vulnerability recorded for linux →
FAQ
The vulnerability involves a crash in the vGPIO driver due to unauthorized modifications of the irq_chip.name field, leading to system instability.
You can use Vulert, which monitors open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without any signup.
Failure to address this vulnerability may result in system crashes during bootup, leading to potential data loss and operational disruptions.
Yes, the vulnerability affects Linux versions in Debian 13 and 14 prior to the fixed version 6.12.6-1.
It is recommended to regularly check for vulnerabilities and updates, ideally on a weekly basis, to ensure your system remains secure.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.