{"api_version":"1","generated_at":"2026-10-18T07:54:22+00:00","cve":"CVE-2026-98373","urls":{"html":"https://cve.report/CVE-2026-98373","api":"https://cve.report/api/cve/CVE-2026-98373.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98373","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98373"},"summary":{"title":"mm/hugetlb: preserve mremap address delta when skipping page tables","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: preserve mremap address delta when skipping page tables\n\nmove_hugetlb_page_tables() optimizes mremap() by advancing to the last\nentry in the page table when the source page table does not exist, either\ninitially or after unsharing a PMD table.  The common loop increment then\nsteps to the first entry in the next page table.\n\nHowever, the code advances both the source and destination addresses to\nthe last entries in their respective page tables, which is wrong.  The\ndestination address must be advanced only by the same amount as the source\naddress.\n\nIf the source and destination offsets within their page tables differ, the\ndestination address can be advanced too far, causing follow-up issues. \nFix this by advancing the destination address by the source advance\ndistance.\n\nWith a reproducer, we were able to trigger a kernel panic on x86-64.  With\nthis fix in place, we can no longer reproduce the issue.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-07 13:17:22","updated_at":"2026-10-07 13:17:22"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7a96b0f657c8d799ea5b8e02fc9ec7cca0e6e7ff","name":"https://git.kernel.org/stable/c/7a96b0f657c8d799ea5b8e02fc9ec7cca0e6e7ff","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/480a39b0a12c977ed6e755f3d12a23424c57d11f","name":"https://git.kernel.org/stable/c/480a39b0a12c977ed6e755f3d12a23424c57d11f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9bdad082d44bdcf93716973dcba6be77e8a06e7b","name":"https://git.kernel.org/stable/c/9bdad082d44bdcf93716973dcba6be77e8a06e7b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/850cc4a84b36a0062dcd0391acd2450e20ab0767","name":"https://git.kernel.org/stable/c/850cc4a84b36a0062dcd0391acd2450e20ab0767","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98373","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98373","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e95a9851787bbb3cd4deb40fe8bab03f731852d1 7a96b0f657c8d799ea5b8e02fc9ec7cca0e6e7ff git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e95a9851787bbb3cd4deb40fe8bab03f731852d1 850cc4a84b36a0062dcd0391acd2450e20ab0767 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e95a9851787bbb3cd4deb40fe8bab03f731852d1 480a39b0a12c977ed6e755f3d12a23424c57d11f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e95a9851787bbb3cd4deb40fe8bab03f731852d1 9bdad082d44bdcf93716973dcba6be77e8a06e7b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.112 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.55 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.9 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc5 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["mm/hugetlb.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"7a96b0f657c8d799ea5b8e02fc9ec7cca0e6e7ff","status":"affected","version":"e95a9851787bbb3cd4deb40fe8bab03f731852d1","versionType":"git"},{"lessThan":"850cc4a84b36a0062dcd0391acd2450e20ab0767","status":"affected","version":"e95a9851787bbb3cd4deb40fe8bab03f731852d1","versionType":"git"},{"lessThan":"480a39b0a12c977ed6e755f3d12a23424c57d11f","status":"affected","version":"e95a9851787bbb3cd4deb40fe8bab03f731852d1","versionType":"git"},{"lessThan":"9bdad082d44bdcf93716973dcba6be77e8a06e7b","status":"affected","version":"e95a9851787bbb3cd4deb40fe8bab03f731852d1","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["mm/hugetlb.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.0"},{"lessThan":"6.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.112","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.55","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc5","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.112","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.55","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.9","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc5","versionStartIncluding":"6.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: preserve mremap address delta when skipping page tables\n\nmove_hugetlb_page_tables() optimizes mremap() by advancing to the last\nentry in the page table when the source page table does not exist, either\ninitially or after unsharing a PMD table.  The common loop increment then\nsteps to the first entry in the next page table.\n\nHowever, the code advances both the source and destination addresses to\nthe last entries in their respective page tables, which is wrong.  The\ndestination address must be advanced only by the same amount as the source\naddress.\n\nIf the source and destination offsets within their page tables differ, the\ndestination address can be advanced too far, causing follow-up issues. \nFix this by advancing the destination address by the source advance\ndistance.\n\nWith a reproducer, we were able to trigger a kernel panic on x86-64.  With\nthis fix in place, we can no longer reproduce the issue."}],"providerMetadata":{"dateUpdated":"2026-10-07T13:01:47.433Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/7a96b0f657c8d799ea5b8e02fc9ec7cca0e6e7ff"},{"url":"https://git.kernel.org/stable/c/850cc4a84b36a0062dcd0391acd2450e20ab0767"},{"url":"https://git.kernel.org/stable/c/480a39b0a12c977ed6e755f3d12a23424c57d11f"},{"url":"https://git.kernel.org/stable/c/9bdad082d44bdcf93716973dcba6be77e8a06e7b"}],"title":"mm/hugetlb: preserve mremap address delta when skipping page tables","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98373","datePublished":"2026-10-07T13:01:47.433Z","dateReserved":"2026-09-25T10:25:14.345Z","dateUpdated":"2026-10-07T13:01:47.433Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-07 13:17:22","lastModifiedDate":"2026-10-07 13:17:22","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98373","Ordinal":"1","Title":"mm/hugetlb: preserve mremap address delta when skipping page tab","CVE":"CVE-2026-98373","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98373","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: preserve mremap address delta when skipping page tables\n\nmove_hugetlb_page_tables() optimizes mremap() by advancing to the last\nentry in the page table when the source page table does not exist, either\ninitially or after unsharing a PMD table.  The common loop increment then\nsteps to the first entry in the next page table.\n\nHowever, the code advances both the source and destination addresses to\nthe last entries in their respective page tables, which is wrong.  The\ndestination address must be advanced only by the same amount as the source\naddress.\n\nIf the source and destination offsets within their page tables differ, the\ndestination address can be advanced too far, causing follow-up issues. \nFix this by advancing the destination address by the source advance\ndistance.\n\nWith a reproducer, we were able to trigger a kernel panic on x86-64.  With\nthis fix in place, we can no longer reproduce the issue.","Type":"Description","Title":"mm/hugetlb: preserve mremap address delta when skipping page tab"}]}}}