In the Linux kernel, the following vulnerability has been resolved:
PM: sleep: Drop spurious WARNON() from pmrestoregfpmask()
Commit 35e4a69b2003f ("PM: sleep: Allow pmrestrictgfpmask() stacking") introduced refcount-based GFP mask management that warns when pmrestoregfpmask() is called with savedgfpcount == 0.
Some hibernation paths call pmrestoregfpmask() defensively where the GFP mask may or may not be restricted depending on the execution path. For example, the uswsusp interface invokes it in SNAPSHOTCREATEIMAGE, SNAPSHOTUNFREEZE, and snapshot_release(). Before the stacking change this was a silent no-op; it now triggers a spurious WARNING.
Remove the WARNON() wrapper from the !savedgfp_count check while retaining the check itself, so that defensive calls remain harmless without producing false warnings.
[ rjw: Subject tweak ]
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31567.json",
"cna_assigner": "Linux"
}