
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-48660 affects the Linux kernel's GPIO (General Purpose Input/Output) subsystem. The vulnerability was discovered when a warning trace occurred during GPIO testing on the NXP-LS1028 platform. The issue stems from an incorrect ordering of operations in the lineevent_create function within the gpiolib character device interface. The vulnerability affects Linux kernel versions from 5.9 through 5.10.146, 5.11 through 5.15.71, and 5.16 through 5.19.12 (NVD).
The vulnerability occurs in the GPIO character device interface when the lineevent_state::irq is set before the IRQ registration is successful. When running the command 'gpiomon --num-events=3 --rising-edge gpiochip1 25', if the request_threaded_irq() function fails, lineevent_free() is called to release resources. Since lineevent_state::irq was already set, the subsequent free_irq() call triggers a warning trace. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The vulnerability can lead to a warning trace in the kernel log and potential system instability when GPIO operations fail. While there are no direct security implications reported, the improper resource cleanup could potentially affect system reliability (NVD).
The vulnerability requires local access and can only be triggered through specific GPIO operations. There are no known exploits in the wild, and the vulnerability primarily manifests as a system stability issue rather than a security breach (NVD).
The issue has been fixed by modifying the code to set lineevent_state::irq only after the IRQ registration is successful. The fix involves moving the assignment of le->irq after the successful completion of request_threaded_irq(). Users should update to patched kernel versions that include the fix (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."