Skip to main content

Linux Kernel EUVDEUVD-2026-40967

| CVE-2026-53333 MEDIUM
2026-07-01 Linux GHSA-hmwj-3ghp-wjg8
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 shell on target system
  2. Delivery
    Trigger page migration or hwpoison event in target VMA
  3. Exploit
    Call mincore(2) against VMA containing migration/hwpoison PTE
  4. Execution
    CONFIG_SWAP guard fires before non-swap-entry check
  5. Persist
    Spurious WARN_ON emitted in kernel
  6. Impact
    Kernel panic if panic_on_warn=1 (DoS)

Vulnerability Assessment

Exploitation Conditions

Three simultaneous build-time and runtime conditions are required: (1) the Linux kernel must be compiled with CONFIG_SWAP disabled (non-default in almost all mainstream distributions); (2) the same kernel must include CONFIG_MIGRATION or CONFIG_MEMORY_FAILURE (which introduce migration and hwpoison PTE entry types even without swap); and (3) the attacker must hold a local unprivileged account sufficient to invoke the mincore(2) syscall - no special capability or elevated privilege is needed beyond a shell. The maximum impact of kernel panic (rather than just incorrect output) further requires panic_on_warn=1, which is not the default kernel configuration. Mainstream Linux distributions (RHEL, Debian, Ubuntu, SUSE) compile with CONFIG_SWAP=y and are entirely immune. The vulnerable configuration is characteristic of embedded Linux, minimal container base images, or custom real-time kernels. Remote exploitation is not possible - AV:L in the CVSS vector confirms local access is mandatory.

Impact

The CVSS 3.1 score of 5.5 Medium with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H correctly identifies local availability impact, but the AC:L rating understates the configuration complexity - exploitation requires a non-default kernel build (CONFIG_SWAP disabled while CONFIG_MIGRATION or CONFIG_MEMORY_FAILURE is enabled), which is beyond attacker control and atypical in mainstream distributions. The EPSS score of 0.15% at the 5th percentile confirms minimal threat-actor interest. There is no CISA KEV listing and no public exploit code has been identified. The availability impact (A:H) is credible in environments where panic_on_warn=1 is configured, as the spurious WARN_ON can trigger a kernel panic; in default configurations without that sysctl, the impact degrades to incorrect mincore(2) output, which is lower severity. No confidentiality or integrity signals are present despite the 'Information Disclosure' tag in the input - that tag appears to be a misclassification, as the only confirmed impact is incorrect page residency reporting and potential system crash. Overall this is a low operational priority for mainstream Linux environments; embedded/RTOS teams running !CONFIG_SWAP kernels should prioritize patching.

Exploit ScenarioDerived

A local low-privilege user on an embedded Linux system compiled without CONFIG_SWAP (but with CONFIG_MIGRATION enabled for memory hotplug support) maps a memory region, triggers a page migration event, then calls mincore(2) against that region. The kernel's mincore_pte_range() encounters a migration PTE, the misplaced CONFIG_SWAP guard fires before the non-swap-entry check, a WARN_ON is emitted, and on systems configured with panic_on_warn=1 the kernel panics - crashing the system and achieving local denial of service. No public exploit code is known at time of analysis.

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

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

Alert me

AnalysisAIv1 – Jul 23, 2026

Incorrect guard ordering in the Linux kernel's mincore subsystem causes spurious kernel WARN events and false non-resident page reporting on kernels compiled without CONFIG_SWAP support. Affected are Linux 6.18.x (before 6.18.36) and 7.x (before 7.0.13/7.1) builds where CONFIG_SWAP is disabled but CONFIG_MIGRATION or CONFIG_MEMORY_FAILURE is enabled - a configuration typical of embedded or specialized deployments. With EPSS at 0.15% (5th percentile), no CISA KEV listing, and no public exploit identified at time of analysis, real-world risk is low and constrained to niche build environments.

RemediationAI

Upstream fix commits are available in the Linux kernel stable tree: a8f91ddf67f669f547bb9fb559738da6f8ee2cf3 at https://git.kernel.org/stable/c/a8f91ddf67f669f547bb9fb559738da6f8ee2cf3, 0c25b8734367574e21aeb8468c2e522713134da7 at https://git.kernel.org/stable/c/0c25b8734367574e21aeb8468c2e522713134da7, and 3481d4372ae34243f7025925314385b852c50f7e at https://git.kernel.org/stable/c/3481d4372ae34243f7025925314385b852c50f7e. Administrators should upgrade to Linux 6.18.36, 7.0.13, or 7.1 per their tracked stable branch. For systems that cannot be immediately patched, two compensating controls apply: (1) setting panic_on_warn=0 via sysctl or kernel command line eliminates the kernel-panic risk from the spurious WARN, though it does not fix the incorrect mincore(2) reporting - this is broadly safe but masks other legitimate kernel warnings; (2) rebuilding the kernel with CONFIG_MIGRATION=n and CONFIG_MEMORY_FAILURE=n eliminates the affected PTE types entirely, but disables memory hotplug migration and hardware memory error recovery, which may be unacceptable on systems with ECC RAM or NUMA topologies.

Affected VersionsENISA

Linux patch: 7.0.13
Linux patch: 7.1
Linux 1f2052755c152940c336918bd73d13d5468f548b <a8f91ddf67f669f547bb9fb559738da6f8ee2cf3
Linux patch: 6.18.36
Linux 1f2052755c152940c336918bd73d13d5468f548b <0c25b8734367574e21aeb8468c2e522713134da7
Linux 6.18
Linux 1f2052755c152940c336918bd73d13d5468f548b <3481d4372ae34243f7025925314385b852c50f7e
Linux patch: 0

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 vulnerability resides in mm/mincore.c, within the mincore_swap() and mincore_pte_range() functions that implement the mincore(2) syscall, which reports whether virtual memory pages are resident. When the kernel encounters page table entries representing migration events (CONFIG_MIGRATION) or hardware memory poisoning (CONFIG_MEMORY_FAILURE), these are 'non-swap entries' that should be handled via an early return path. However, the !IS_ENABLED(CONFIG_SWAP) guard was positioned before this non-swap-entry check, so on !CONFIG_SWAP kernels, migration and hwpoison PTEs - which legitimately exist when CONFIG_MIGRATION or CONFIG_MEMORY_FAILURE is compiled in - incorrectly trigger a WARN_ON and are misreported as non-resident. The root cause is a logic ordering error (analogous to CWE-670, Always-Incorrect Control Flow Implementation), not a memory corruption or privilege flaw. The CPE identifier is cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*. The fix moves the CONFIG_SWAP guard below the non-swap-entry check so only true swap entries trip the WARN.

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 4.7 MEDIUM

Non-default kernel build configuration (CONFIG_SWAP=n with CONFIG_MIGRATION/MEMORY_FAILURE=y) is beyond attacker control, justifying AC:H over vendor-assigned AC:L; no confidentiality or integrity impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/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
Jul 23, 2026 - 21:38 NVD
5.5 (MEDIUM)
Patch available
Jul 01, 2026 - 15:16 EUVD
CVE Published
Jul 01, 2026 - 13:32 nvd
MEDIUM 5.5
CVE Published
Jul 01, 2026 - 13:32 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

mm/mincore: handle non-swap entries before !CONFIG_SWAP guard

mincore_swap() also fields migration/hwpoison entries (and shmem swapin-error entries), which can exist on !CONFIG_SWAP builds when CONFIG_MIGRATION or CONFIG_MEMORY_FAILURE is enabled. The !IS_ENABLED(CONFIG_SWAP) guard ran before the non-swap-entry early return, so mincore_pte_range() can spuriously WARN and report these pages nonresident on !CONFIG_SWAP kernels.

Move the guard below the non-swap-entry check so only true swap entries trip the WARN, and migration/hwpoison entries take the existing "uptodate / non-shmem" path.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
Only !CONFIG_SWAP kernel builds; niche embedded/specialized Linux deployments
Data Quality
5 sources
Confidence: Medium

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.2%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

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: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

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