Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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

Announced Group revision 1
Original source ↗

CVE-2025-21645

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-21645

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "72e5a83b7c8401856cc3732150af24e43726717a",
        "lessThan": "ab47d72b736e78d3c2370b26e0bfc46eb0918391",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8e60615e8932167057b363c11a7835da7f007106",
        "lessThan": "5cc621085e2b7a9b1905a98f8e5a86bb4aea2016",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8e60615e8932167057b363c11a7835da7f007106",
        "lessThan": "b25778c87a6bce40c31e92364f08aa6240309e25",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8e60615e8932167057b363c11a7835da7f007106",
        "lessThan": "dd410d784402c5775f66faf8b624e85e41c38aaf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3fc9dc0340e0b5df8059313537b55f82c1e84e94",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.1.11",
        "lessThan": "6.1.140",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "5.15.95",
        "lessThan": "5.16",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "drivers/platform/x86/amd/pmc/pmc.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.2"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.2",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.140",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.72",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.10",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.13",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/platform/x86/amd/pmc/pmc.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-21645

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#26895 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement