PT-2025-29057
CVE-2025-38335
·
Published
2025-07-10
·
Updated
2026-10-18
Description by
CVSS 3.1
5.5
MediumMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The Linux kernel contains a flaw related to the handling of interrupts within the gpio-keys driver when the PREEMPT RT patch is enabled. Specifically, the
gpio keys irq timer() callback function operates in hard interrupt context but attempts to acquire a spinlock, which is not permitted in that context as it is converted to a real-time spinlock. This can lead to a "sleeping function called from invalid context" bug. The issue arises because input event() takes a spin lock, and gpio keys irq timer() is called within a hard interrupt context. The fix involves relaxing the hrtimer to avoid using the hard context.Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾