CVE-2025-21645
platform/x86/amd/pmc: Only disable IRQ1 wakeup where i8042 actually enabled it
Check your servers for CVE-2025-21645
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-21645 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.]
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 72e5a83b7c8401856cc3732150af24e43726717a, before ab47d72b736e78d3c2370b26e0bfc46eb0918391 affected from 8e60615e8932167057b363c11a7835da7f007106, before 5cc621085e2b7a9b1905a98f8e5a86bb4aea2016 affected from 8e60615e8932167057b363c11a7835da7f007106, before b25778c87a6bce40c31e92364f08aa6240309e25 affected from 8e60615e8932167057b363c11a7835da7f007106, before dd410d784402c5775f66faf8b624e85e41c38aaf affected 3fc9dc0340e0b5df8059313537b55f82c1e84e94 affected from 6.1.11, before 6.1.140 affected from 5.15.95, before 5.16
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 6.1.140 up to and including 6.1.* unaffected from 6.6.72 up to and including 6.6.* unaffected from 6.12.10 up to and including 6.12.* unaffected 6.13 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-21645 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21645
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-21645
trivy image --scanners vuln IMAGE | grep CVE-2025-21645
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ab47d72b736e78d3c2370b26e0bfc46eb0918391 git.kernel.org
- https://git.kernel.org/stable/c/5cc621085e2b7a9b1905a98f8e5a86bb4aea2016 git.kernel.org
- https://git.kernel.org/stable/c/b25778c87a6bce40c31e92364f08aa6240309e25 git.kernel.org
- https://git.kernel.org/stable/c/dd410d784402c5775f66faf8b624e85e41c38aaf git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-21645 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse