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 Linux kernel’s mm/mincore subsystem contains a flaw that causes mincore_pte_range() to issue a warning and report pages as non‑resident when swap support is disabled while migration or memory‑failure features are enabled. This occurs because the guard checking for a non‑swap entry runs before the !CONFIG_SWAP check, leading to false warnings and incorrect residency data. The actual residency of the pages is unchanged, but this misreporting can mislead diagnostics, performance monitoring, and tooling that rely on accurate residency information. The weakness is classified as CWE‑393, indicating an incorrect default handling of a condition.

Affected Systems

CVE‑2026‑53333 applies to any Linux kernel build that has CONFIG_SWAP disabled and either CONFIG_MIGRATION or CONFIG_MEMORY_FAILURE enabled. All such builds, regardless of distribution, are vulnerable until the patch that moves the swap guard below the non‑swap entry check is applied.

Risk and Exploitability

The CVSS score of 5.5 rates the vulnerability as medium. The EPSS score of <1% indicates an extremely low likelihood of exploitation. Because the issue only leads to incorrect residency reporting and does not provide code execution, data exposure, or denial of service, it poses low risk to confidentiality, integrity, or availability. The CVE is not listed in the CISA KEV catalog and no exploitation methods are publicly documented. The likely attack vector is local and requires kernel‑level privileges; it is not an externally exploitable attack.

Generated by OpenCVE AI on August 1, 2026 at 23:39 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 (commit links in the references).
  • Rebuild the kernel and install the updated kernel image.
  • Reboot the system to activate the patched kernel.

Generated by OpenCVE AI on August 1, 2026 at 23:39 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

Status : Analyzed

Published: 2026-07-01T14:16:41.243

Modified: 2026-07-23T21:33:48.163

Link: CVE-2026-53333

cve-icon Redhat

Severity : Low

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

Links: CVE-2026-53333 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T23:45:03Z

Weaknesses