CVE-2026-31567
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-617CVE-2026-31567 is classified as CWE-617
See CWE-617 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
6.17.8,
6.18
and later are affected. Fixed in
6.18.21,
6.19.11,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2026-31567 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3025ca5daa9d682b629c0c958b538e41deeb559d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/a8d51efb5929ae308895455a3e496b5eca2cd143
-
PatchKernel patch commithttps://git.kernel.org/stable/c/f19d1323aa3dd7ead469aef47d9085f8939565d9
Frequently asked questions
-
What is CVE-2026-31567?
CVE-2026-31567 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.17.8 onward and has been patched in 6.18.21, 6.19.11 and 7.0. CVE-2026-31567 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31567?
CVE-2026-31567 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2026-31567?
Yes — CVE-2026-31567 has been patched. Fixed versions include 6.18.21, 6.19.11 and 7.0. If you are running Linux kernel 6.17.8 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31567 actively exploited?
No — CVE-2026-31567 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.