Back to CVE records
Medium 5.5Published Apr 24, 2026

CVE-2026-31567PM: sleep: Drop spurious WARN_ON() from pm_restore_gfp_mask()

Updated under an hour ago ()

Does this affect you?

It affects Linux and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

In the Linux kernel, the following vulnerability has been resolved: PM: sleep: Drop spurious WARN_ON() from pm_restore_gfp_mask() Commit 35e4a69b2003f ("PM: sleep: Allow pm_restrict_gfp_mask() stacking") introduced refcount-based GFP mask management that warns when pm_restore_gfp_mask() is called with saved_gfp_count == 0. Some hibernation paths call pm_restore_gfp_mask() defensively where the GFP mask may or may not be restricted depending on the execution path. For example, the uswsusp interface invokes it in SNAPSHOT_CREATE_IMAGE, SNAPSHOT_UNFREEZE, and snapshot_release(). Before the stacking change this was a silent no-op; it now triggers a spurious WARNING. Remove the WARN_ON() wrapper from the !saved_gfp_count check while retaining the check itself, so that defensive calls remain harmless without producing false warnings. [ rjw: Subject tweak ]

CVSS
5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Analyzed
Record last updated
May 23, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d before 3025ca5daa9d682b629c0c958b538e41deeb559d; from 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d before f19d1323aa3dd7ead469aef47d9085f8939565d9; from 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d before a8d51efb5929ae308895455a3e496b5eca2cd143; 4ddf7293928cb619077724b7d828734da8181e6c; from 6.17.8 before 6.18
CNA record
linux linux_kernel
linux:linux_kernel
from 6.17.8 before 6.18; from 6.18.1 before 6.18.21; from 6.19 before 6.19.11; 6.18; 7.0; 7.0; 7.0; 7.0; and 3 more ranges
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.