๐Ÿ” CVE Alert

CVE-2026-31567

UNKNOWN 0.0

PM: sleep: Drop spurious WARN_ON() from pm_restore_gfp_mask()

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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 ]

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Apr 24, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d < 3025ca5daa9d682b629c0c958b538e41deeb559d 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d < f19d1323aa3dd7ead469aef47d9085f8939565d9 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d < a8d51efb5929ae308895455a3e496b5eca2cd143 4ddf7293928cb619077724b7d828734da8181e6c
Linux / Linux
6.18

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/3025ca5daa9d682b629c0c958b538e41deeb559d git.kernel.org: https://git.kernel.org/stable/c/f19d1323aa3dd7ead469aef47d9085f8939565d9 git.kernel.org: https://git.kernel.org/stable/c/a8d51efb5929ae308895455a3e496b5eca2cd143