PT-2025-29057 · Linux+6 · Linux Kernel+6
Published
2025-07-10
·
Updated
2026-04-20
·
CVE-2025-38335
CVSS v3.1
5.5
Medium
| Vector | AV: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.
Exploit
DoS
RCE
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu