Linux Kernel Vulnerability: GPIO Register Lock Issue
CVE-2026-80562
What is CVE-2026-80562?
A vulnerability in the Linux kernel's GPIO interface stems from improper locking mechanisms within the irq_chip callbacks, particularly the irq_set_type function. The use of a standard spinlock in a non-sleepable context can lead to deadlocks, as these locks can put the system in a sleep state when they shouldn't. This critical section involves GPIO direction/value operations that should remain non-sleeping, necessitating the conversion of the register lock to raw_spinlock_t. This corrects the potential for instability and ensures that GPIO callbacks perform efficiently without risking system performance or reliability. The fix aligns with previous solutions for similar vulnerabilities in gpio-pch structures.
Affected Version(s)
Linux 54be566317b6aece2389a95bb19ea209af9359be
Linux 54be566317b6aece2389a95bb19ea209af9359be < 0559b86611c35d342dd48542ea26a9e437046bf6
Linux 54be566317b6aece2389a95bb19ea209af9359be < 600411ea1f2443fdf5b1af9b6480f616d7aff9d0