Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31567

published

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

Published
24 Apr 2026, 14:35:47 UTC
Updated
23 May 2026, 16:05:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d to < 3025ca5daa9d682b629c0c958b538e41deeb559d · 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d to < f19d1323aa3dd7ead469aef47d9085f8939565d9 · 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d to < a8d51efb5929ae308895455a3e496b5eca2cd143 · 4ddf7293928cb619077724b7d828734da8181e6c · 6.17.8 to < 6.18 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.21 through 6.18.* (unaffected · semver) · 6.19.11 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1746 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 kernel6.18aarch64 Listed in advisory Not stated ALAS2023-2026-1746
Amazon Linux AL2023 kernel6.18src Listed in advisory Not stated ALAS2023-2026-1746
Amazon Linux AL2023 kernel6.18x86_64 Listed in advisory Not stated ALAS2023-2026-1746

Description

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 ]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d to < 3025ca5daa9d682b629c0c958b538e41deeb559d (affected · git)35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d to < f19d1323aa3dd7ead469aef47d9085f8939565d9 (affected · git)35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d to < a8d51efb5929ae308895455a3e496b5eca2cd143 (affected · git)4ddf7293928cb619077724b7d828734da8181e6c (affected · git)6.17.8 to < 6.18 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.21 through 6.18.* (unaffected · semver)6.19.11 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
d4f957a776b49d1081a020cd97b4055471e0baaa0fd95c9d76d9c4ecb33266be
Ingested
23 Sep 2026, 09:09:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected