
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-21645 affects the Linux kernel's platform/x86/amd/pmc component. The vulnerability was discovered and disclosed on January 19, 2025, and involves an issue where IRQ1 wakeup should only be disabled in cases where i8042 had actually enabled it. This vulnerability affects various Linux kernel versions and AMD platforms (NVD, Debian Tracker).
The vulnerability occurs when the PMC driver uses DEFINE_SIMPLE_DEV_PM_OPS() to define its dev_pm_ops, which sets amd_pmc_suspend_handler() to the .suspend, .freeze, and .poweroff handlers. However, i8042_pm_suspend() is only set as the .suspend handler. This mismatch causes the 'wake_depth' for IRQ1 to attempt to drop below zero, resulting in an unpleasant WARN() being logged. The issue can be reproduced by hibernating (S4) the machine after a fresh boot without putting it into s2idle first (Kernel Commit).
When triggered, the vulnerability results in system warnings and potential system instability. The specific warning message appears as: 'kernel: atkbd serio0: Disabling IRQ1 wakeup source to avoid platform firmware bug' followed by an 'Unbalanced IRQ 1 wake disable' warning (Kernel Commit).
The vulnerability can be triggered during system hibernation (S4) operations when performed after a fresh boot without first entering s2idle state. The issue is specifically tied to AMD platform power management operations (NVD).
The issue has been fixed by modifying the PMC suspend handler to only be called from the same set of dev_pm_ops handlers as i8042_pm_suspend(), which currently means just the .suspend handler. This fix has been implemented through a kernel patch that changes the DEFINE_SIMPLE_DEV_PM_OPS to explicitly define only the .suspend operation (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."