CVE-2025-21684: gpio: xilinx: Convert gpio_lock to raw spinlock
gpio: xilinx: Convert gpiolock to raw spinlock
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.76.1-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.15.179.1-1 - Upgrade
Upgrade
Linux kernel gpio: xilinxto a version that resolves this vulnerability.Fixed in 6.13.0-rc5+Patch Last updated 25 April 2025 - Configuration
In the Linux kernel (gpio: xilinx), convert gpio_lock to a raw spinlock so irq_chip functions may be called in raw spinlock context, and ensure any of the driver’s internal locking uses a raw spinlock as well (to fix the lockdep splat showing kworker locking &chip->gpio_lock in xgpio_irq_unmask at drivers/gpio/gpio-xilinx.c:433).
gpio-xilinx.c gpio_lock locking type = raw spinlock
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21684?
CVE-2025-21684 has been classified with a severity that necessitates attention due to potential impact on system stability.
How do I fix CVE-2025-21684?
To fix CVE-2025-21684, update the Linux kernel to the latest version where this vulnerability has been addressed.
Which versions of the Linux kernel are affected by CVE-2025-21684?
CVE-2025-21684 affects Linux kernel versions starting from 6.13.0-rc5.
What are the potential risks of CVE-2025-21684?
The risks associated with CVE-2025-21684 include potential system instability and security implications related to improper lock handling.
Is there a workaround for CVE-2025-21684?
Currently, updating to the patched versions is the recommended approach, as no effective workaround is known.