Skip to main content

Linux Kernel EUVDEUVD-2026-25460

| CVE-2026-31567 MEDIUM
Reachable Assertion (CWE-617)
2026-04-24 Linux GHSA-mxfm-927r-8r7x
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local access with /dev/snapshot permissions
  2. Delivery
    Invoke uswsusp ioctl (SNAPSHOT_CREATE_IMAGE or SNAPSHOT_UNFREEZE)
  3. Exploit
    pm_restore_gfp_mask() called with saved_gfp_count == 0
  4. Execution
    WARN_ON() assertion fires
  5. Impact
    Kernel panic on panic_on_warn=1 systems causing DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
Exploitation Conditions

Exploitation requires local access to the system with sufficient privileges to invoke the uswsusp hibernation interface, specifically via /dev/snapshot ioctl calls (SNAPSHOT_CREATE_IMAGE, SNAPSHOT_UNFREEZE, or snapshot_release()). The kernel must have been modified by commit 35e4a69b2003f and not yet patched with the corrective fix. For the high-availability impact (kernel panic / DoS) to materialize, the kernel must be configured with panic_on_warn=1 - a non-default but production-common hardening option. Without panic_on_warn=1, exploitation produces only spurious kernel log warnings (WARN_ON output), which does not constitute a denial of service. Limiting factors include: the requirement for local authenticated access, the need for /dev/snapshot device access (typically restricted by permissions or group membership), and the non-default panic_on_warn kernel configuration for actual DoS impact. Hibernate/suspend functionality must not be disabled on the target system.

Impact

Overall real-world risk is low. CVSS base score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) reflects local exploitation with low privilege requirements and high availability impact, but the threat model is narrow. EPSS at 0.02% (4th percentile) confirms negligible exploitation interest from the attacker community. There is no KEV listing and no public exploit code identified. The A:H impact is conditional: on default-configured kernels, the WARN_ON() produces log noise and spurious warnings but does not halt the system. Only kernels with panic_on_warn=1 actually panic, which is a non-default configuration deployed primarily in hardened or production server environments - elevating practical risk for that specific population. The CVSS PR:L metric aligns with requiring access to the /dev/snapshot device node, which typically demands elevated or specific group privileges. The 'Information Disclosure' tag in the input may reflect kernel address exposure via warning output, but this is not independently validated as a significant secondary impact. SSVC signals: exploitation status is none, automatable is no (requires local device access), technical impact is partial - consistent with low-priority scheduling for most deployments but higher urgency for panic_on_warn=1 systems.

Exploit ScenarioDerived

A local user or system daemon with access to the /dev/snapshot device invokes a hibernation snapshot operation (e.g., SNAPSHOT_CREATE_IMAGE or SNAPSHOT_UNFREEZE via the uswsusp ioctl interface), causing pm_restore_gfp_mask() to be called on a code path where saved_gfp_count is already zero, triggering the WARN_ON(). On a kernel compiled or configured with panic_on_warn=1, this immediately halts the system and forces a reboot, achieving local denial of service. No public exploit code exists, and the attack requires local device access, limiting realistic exploitation to misconfigured multi-user systems or insider threat scenarios.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Spurious WARN_ON() in the Linux kernel's PM sleep subsystem (pm_restore_gfp_mask()) can be triggered by defensive hibernation code paths, causing kernel warning floods or, on systems with panic_on_warn=1, a full kernel panic and denial of service. Affected kernels contain commit 35e4a69b2003f introducing refcount-based GFP mask stacking but lack the corrective fix removing the assertion from the zero-count guard. No active exploitation confirmed (not in CISA KEV), and EPSS is 0.02% (4th percentile), consistent with a low-risk code-quality defect rather than a targeted vulnerability.

RemediationAI

Upgrade to a patched Linux kernel release: 6.18.21, 6.19.11, or 7.0, available via upstream stable branches at https://git.kernel.org/stable/c/3025ca5daa9d682b629c0c958b538e41deeb559d (7.0), https://git.kernel.org/stable/c/f19d1323aa3dd7ead469aef47d9085f8939565d9 (6.19.11), and https://git.kernel.org/stable/c/a8d51efb5929ae308895455a3e496b5eca2cd143 (6.18.21). Red Hat and SUSE users should apply distribution-specific kernel errata when published; watch vendor channels as both are tagged in the advisory data. As an immediate workaround on systems where patching is not yet possible, operators running panic_on_warn=1 can set the kernel parameter panic_on_warn=0 to prevent the WARN_ON() from escalating to a kernel panic - this eliminates the DoS risk while leaving the spurious warning in kernel logs, which is benign. Trade-off: panic_on_warn=0 may suppress other legitimate kernel assertions in the same session, reducing crash-dump capture for other bugs. Disabling hibernate/suspend entirely (via kernel parameters or systemd masking of hibernate.target) also prevents the vulnerable code paths from executing, at the cost of losing power management functionality.

Affected VersionsENISA

Linux patch: 6.18.21
Linux patch: 0
Linux 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d <a8d51efb5929ae308895455a3e496b5eca2cd143
Linux patch: 7.0
Linux 6.18
Linux 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d <3025ca5daa9d682b629c0c958b538e41deeb559d
Linux 4ddf7293928cb619077724b7d828734da8181e6c
Linux 35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d <f19d1323aa3dd7ead469aef47d9085f8939565d9
Linux patch: 6.19.11

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel's power management sleep subsystem manages GFP (Get Free Pages) memory allocation flags during suspend/hibernate cycles via pm_restrict_gfp_mask() and pm_restore_gfp_mask(). Commit 35e4a69b2003f introduced refcount-based stacking of GFP mask restrictions (saved_gfp_count), adding a WARN_ON() guard when pm_restore_gfp_mask() is called with the counter already at zero. The uswsusp (userspace software suspend) hibernation interface legitimately calls pm_restore_gfp_mask() defensively in three code paths - SNAPSHOT_CREATE_IMAGE, SNAPSHOT_UNFREEZE, and snapshot_release() - where the GFP mask may or may not be restricted depending on execution flow. These defensive calls were silent no-ops before the stacking commit but now reachably trigger the assertion, classifying this as CWE-617 (Reachable Assertion). On kernels configured with panic_on_warn=1 (common in hardened or production environments), the WARN_ON() escalates to a kernel panic. Additionally, kernel warning output can expose stack traces and internal addresses, which partially explains the 'Information Disclosure' tag - though NVD's CVSS scores this as C:N, treating the address leak as non-exploitable in isolation. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local access with low privilege to /dev/snapshot; availability impact is high only under panic_on_warn=1, but the trigger condition itself is AC:L.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 LOW

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Apr 27, 2026 - 20:37 NVD
5.5 (MEDIUM)
Patch released
Apr 27, 2026 - 20:32 nvd
Patch available
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:35 nvd
MEDIUM 5.5

DescriptionNVD

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 ]

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel runs majority of servers, containers, and embedded devices globally
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy