{"id":"CVE-2026-53333","state":"PUBLISHED","title":"mm/mincore: handle non-swap entries before !CONFIG_SWAP guard","description":"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.","publishedAt":"2026-07-01T13:32:16.852Z","updatedAt":"2026-07-01T13:32:16.852Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1f2052755c152940c336918bd73d13d5468f548b","status":"affected","lessThan":"a8f91ddf67f669f547bb9fb559738da6f8ee2cf3","versionType":"git"},{"version":"1f2052755c152940c336918bd73d13d5468f548b","status":"affected","lessThan":"3481d4372ae34243f7025925314385b852c50f7e","versionType":"git"},{"version":"1f2052755c152940c336918bd73d13d5468f548b","status":"affected","lessThan":"0c25b8734367574e21aeb8468c2e522713134da7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/mincore.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/mincore.c"]}],"references":["https://git.kernel.org/stable/c/a8f91ddf67f669f547bb9fb559738da6f8ee2cf3","https://git.kernel.org/stable/c/3481d4372ae34243f7025925314385b852c50f7e","https://git.kernel.org/stable/c/0c25b8734367574e21aeb8468c2e522713134da7"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53333.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53333","state":"PUBLISHED","datePublished":"2026-07-01T13:32:16.852Z","dateUpdated":"2026-07-01T13:32:16.852Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.398Z"},"containers":{"cna":{"title":"mm/mincore: handle non-swap entries before !CONFIG_SWAP guard","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1f2052755c152940c336918bd73d13d5468f548b","status":"affected","lessThan":"a8f91ddf67f669f547bb9fb559738da6f8ee2cf3","versionType":"git"},{"version":"1f2052755c152940c336918bd73d13d5468f548b","status":"affected","lessThan":"3481d4372ae34243f7025925314385b852c50f7e","versionType":"git"},{"version":"1f2052755c152940c336918bd73d13d5468f548b","status":"affected","lessThan":"0c25b8734367574e21aeb8468c2e522713134da7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/mincore.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/mincore.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a8f91ddf67f669f547bb9fb559738da6f8ee2cf3"},{"url":"https://git.kernel.org/stable/c/3481d4372ae34243f7025925314385b852c50f7e"},{"url":"https://git.kernel.org/stable/c/0c25b8734367574e21aeb8468c2e522713134da7"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-07-01T13:32:16.852Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}