{"id":"CVE-2026-53333","published":"2026-07-01T13:32:16Z","modified":"2026-07-01T13:32:16Z","title":"mm/mincore: handle non-swap entries before !CONFIG_SWAP guard","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mincore: handle non-swap entries before !CONFIG_SWAP guard\n\nmincore_swap() also fields migration/hwpoison entries (and shmem\nswapin-error entries), which can exist on !CONFIG_SWAP builds when\nCONFIG_MIGRATION or CONFIG_MEMORY_FAILURE is enabled.  The\n!IS_ENABLED(CONFIG_SWAP) guard ran before the non-swap-entry early return,\nso mincore_pte_range() can spuriously WARN and report these pages\nnonresident on !CONFIG_SWAP kernels.\n\nMove the guard below the non-swap-entry check so only true swap entries\ntrip the WARN, and migration/hwpoison entries take the existing \"uptodate\n/ non-shmem\" path.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0016,"percentile":0.0514,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a8f91ddf67f669f547bb9fb559738da6f8ee2cf3","tags":[]},{"url":"https://git.kernel.org/stable/c/3481d4372ae34243f7025925314385b852c50f7e","tags":[]},{"url":"https://git.kernel.org/stable/c/0c25b8734367574e21aeb8468c2e522713134da7","tags":[]}],"priority":{"score":1.0,"factors":[{"name":"EPSS percentile","points":1.03}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1f2052755c152940c336918bd73d13d5468f548b, < a8f91ddf67f669f547bb9fb559738da6f8ee2cf3",">= 1f2052755c152940c336918bd73d13d5468f548b, < 3481d4372ae34243f7025925314385b852c50f7e",">= 1f2052755c152940c336918bd73d13d5468f548b, < 0c25b8734367574e21aeb8468c2e522713134da7"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-40967","exploited":false,"provenance":"source"}}