Local service interruption via GPIO lock mismatch
Published Feb 9, 2025 · Updated May 11, 2026
Improper locking in the Xilinx GPIO driver in Linux allows local users to interrupt service by initiating GPIO interrupt setup. The driver's xgpio_irq_unmask path acquires an ordinary gpio_lock while an irq_chip callback is already executing in raw-spinlock context, producing an invalid wait context. The condition requires local low-privileged access and active Xilinx GPIO hardware; the published trace demonstrates a kernel warning rather than a crash.
Summary
What happened
Improper locking in the Xilinx GPIO driver in Linux allows local users to interrupt service by initiating GPIO interrupt setup. The driver's xgpio_irq_unmask path acquires an ordinary gpio_lock while an irq_chip callback is already executing in raw-spinlock context, producing an invalid wait context. The condition requires local low-privileged access and active Xilinx GPIO hardware; the published trace demonstrates a kernel warning rather than a crash.
The record
- CVE
- CVE-2025-21684
- Published
- Feb 9, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-667, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 9, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.12
- Affected versionversion=a32c7caea292c4d1e417eae6e5a348d187546acf <9860370c2172704b6b4f0075a0c2a29fd84af96a
- Affected versionversion=a32c7caea292c4d1e417eae6e5a348d187546acf <9c035105c5537d2ecad6b9415e9417a1ffbd0a62
- Affected versionversion=a32c7caea292c4d1e417eae6e5a348d187546acf <b0111650ee596219bb5defa0ce1a1308e6e77ccf
- Affected versionversion=a32c7caea292c4d1e417eae6e5a348d187546acf <d25041d4a3b2af64c888cf762362b2528ba59294
- Affected versionversion=a32c7caea292c4d1e417eae6e5a348d187546acf <f0ed2d0abc021f56fa27dc6d0770535c1851a43b
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo