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

Published Jul 1, 2026
·
Updated

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

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

mincoreswap() also fields migration/hwpoison entries (and shmem swapin-error entries), which can exist on !CONFIGSWAP builds when CONFIGMIGRATION or CONFIGMEMORYFAILURE is enabled. The !ISENABLED(CONFIGSWAP) guard ran before the non-swap-entry early return, so mincorepterange() can spuriously WARN and report these pages nonresident on !CONFIGSWAP 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.

Affected Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Patch the kernel mm/mincore logic so that the !CONFIG_SWAP guard runs after the non-swap-entry check (handle non-swap entries before !CONFIG_SWAP), preventing spurious WARNs for migration/hwpoison/shmem-related entries on !CONFIG_SWAP builds.

    Linux kernel (mm/mincore) Guard position for CONFIG_SWAP check in mincore_swap/mincore_pte_range = Move the guard below the non-swap-entry early return so only true swap entries are handled

Event History

Jul 1, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description
Data Sourced
via NVD·02:16 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203