VDB

CVE-2025-21645

CVE-2025-21645 PUBLISHED

platform/x86/amd/pmc: Only disable IRQ1 wakeup where i8042 actually enabled it

Reported by linux · Published January 19, 2025

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.]

Affected products

VendorProductVersions
LinuxLinux72e5a83b7c8401856cc3732150af24e43726717a, 8e60615e8932167057b363c11a7835da7f007106, 8e60615e8932167057b363c11a7835da7f007106
LinuxLinux6.2, 0, 6.1.140
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.6, 3.1.7
linuxlinux_kernel6.2, 6.2, 6.1.11
LinuxLinux6.13, 72e5a83b7c8401856cc3732150af24e43726717a, 8e60615e8932167057b363c11a7835da7f007106
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)3.1.7, 3.1.6
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)3.1.6, 3.1.7
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)3.1.6, 3.1.7
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)3.1.7, 3.1.6
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.6, 3.1.7
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)3.1.6, 3.1.7
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.7, 3.1.6

Timeline

  • Jan 19, 2025 CVE Published
  • Jan 20, 2025 EPSS Score (30 in total, the first dated here)
  • Jan 27, 2025 Coalition ESS Score (12 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Dec 22, 2025 Security Advisory (166 in total, the first dated here)
  • Sep 24, 2026 Distribution Patch (87 in total, the first dated here)
  • Nov 9, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21645
vulnetix vdb fixes CVE-2025-21645

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21645/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›