Description
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.
Published: 2026-07-01
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates in the Linux kernel’s mincore subsystem, which misidentifies non‑swap memory pages when swap support is disabled but migration or memory‑failure features are enabled. The code checks for swap before verifying that a page is a non‑swap entry, causing a spurious WARN and reporting such pages—migration, hardware‑poisoned, or shmem swap‑in‑error entries—as non‑resident. This manifests as incorrect page‑residency data rather than a direct security breach, but it can affect diagnostics, performance monitoring, and tools that rely on accurate residency information. The weakness is classified as CWE‑393 (Incorrect Default Values).

Affected Systems

All Linux kernel builds compiled without swap support (CONFIG_SWAP disabled) but with CONFIG_MIGRATION or CONFIG_MEMORY_FAILURE enabled are affected. The issue exists in every kernel revision prior to the patch that moves the swap guard below the non‑swap entry check, regardless of kernel version. Once the patch is applied the problem is resolved and only true swap entries trigger the WARN.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity vulnerability, while the EPSS score of <1% reflects a very low probability of exploitation. The flaw does not provide a remote or local attack vector that can compromise confidentiality, integrity, or availability; it only triggers a warning and misreports page residency. No known exploitation path or remote code execution is described. The combination of limited impact and low exploit probability keeps the overall risk low to moderate. The vulnerability is not listed in the CISA KEV catalog.

Generated by OpenCVE AI on July 21, 2026 at 14:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that moves the swap guard below the non‑swap entry check (see the advisory commits linked in the references).
  • Rebuild and reinstall the updated kernel containing the fix.
  • Reboot the system so the patched kernel is loaded and active.

Generated by OpenCVE AI on July 21, 2026 at 14:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 06:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-703

Thu, 02 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-393
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Wed, 01 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-703

Wed, 01 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682
CWE-788

Wed, 01 Jul 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682
CWE-788

Wed, 01 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
Description 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.
Title mm/mincore: handle non-swap entries before !CONFIG_SWAP guard
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-01T13:32:16.852Z

Reserved: 2026-06-09T07:44:35.398Z

Link: CVE-2026-53333

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-01T00:00:00Z

Links: CVE-2026-53333 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T15:00:09Z

Weaknesses
  • CWE-393

    Return of Wrong Status Code