CVE-2025-21645
Last modified
CVE-2025-21645 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd/pmc: Only disable IRQ1 wakeup where i8042 actually enabled it Wakeup for IRQ1 should be disabled only in cases where i8042 had actually enabled it, otherwise "wake_depth" for this IRQ will try to drop below zero and there will be an unpleasant WARN() logged: kernel: atkbd serio0: Disabling IRQ1 wakeup source to avoid platform firmware bug kernel: ------------[ cut here ]------------ kernel: Unbalanced IRQ 1 wake disable kernel: WARNING: CPU: 10 PID: 6431 at kernel/irq/manage.c:920 irq_set_irq_wake+0x147/0x1a0 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. i8042_pm_suspend(), however, is only set as the .suspend handler. Fix the issue by call PMC suspend handler only from the same set of dev_pm_ops handlers as i8042_pm_suspend(), which currently means just the .suspend handler. To reproduce this issue try hibernating (S4) the machine after a fresh boot without putting it into s2idle first. [ij: edited the commit message.]. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd/pmc: Only disable IRQ1 wakeup where i8042 actually enabled it Wakeup for IRQ1 should be disabled only in cases where i8042 had actually enabled it, otherwise "wake_depth" for this IRQ will try to drop below zero and there will be an unpleasant WARN() logged: kernel: atkbd serio0: Disabling IRQ1 wakeup source to avoid platform firmware bug kernel: ------------[ cut here ]------------ kernel: Unbalanced IRQ 1 wake disable kernel: WARNING: CPU: 10 PID: 6431 at kernel/irq/manage.c:920 irq_set_irq_wake+0x147/0x1a0 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. i8042_pm_suspend(), however, is only set as the .suspend handler. Fix the issue by call PMC suspend handler only from the same set of dev_pm_ops handlers as i8042_pm_suspend(), which currently means just the .suspend handler. To reproduce this issue try hibernating (S4) the machine after a fresh boot without putting it into s2idle first. [ij: edited the commit message.]
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.15.95, < 5.16 | — |
| Linux | Linux Kernel | >= 6.1.11, < 6.1.140 | — |
| Linux | Linux Kernel | >= 6.2.1, < 6.6.72 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.10 | — |
| Linux | Linux Kernel | 6.2 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-21645?
How severe is CVE-2025-21645?
How do I fix CVE-2025-21645?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-2164The pixelstats plugin for WordPress is vulnerable to Reflect…6.1
- CVE-2025-21640In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21641In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21642In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21643In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21644In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21646In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21647In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-21648In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21649In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2165The SH Email Alert plugin for WordPress is vulnerable to Ref…6.1
- CVE-2025-21650In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-21645?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
