CVE-2026-98373

mm/hugetlb: preserve mremap address delta when skipping page tables

State
Published
Severity
Not scored
Published
Oct 7, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

mm/hugetlb: preserve mremap address delta when skipping page tables

move_hugetlb_page_tables() optimizes mremap() by advancing to the last entry in the page table when the source page table does not exist, either initially or after unsharing a PMD table. The common loop increment then steps to the first entry in the next page table.

However, the code advances both the source and destination addresses to the last entries in their respective page tables, which is wrong. The destination address must be advanced only by the same amount as the source address.

If the source and destination offsets within their page tables differ, the destination address can be advanced too far, causing follow-up issues. Fix this by advancing the destination address by the source advance distance.

With a reproducer, we were able to trigger a kernel panic on x86-64. With this fix in place, we can no longer reproduce the issue.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e95a9851787bbb3cd4deb40fe8bab03f731852d1 to before ab4f0f68cf4773dc0513baccbbe790c80a301773Affected
  • e95a9851787bbb3cd4deb40fe8bab03f731852d1 to before cf73ef2a761df9329af116c905a7a94b317921e4Affected
  • e95a9851787bbb3cd4deb40fe8bab03f731852d1 to before 7a96b0f657c8d799ea5b8e02fc9ec7cca0e6e7ffAffected
  • e95a9851787bbb3cd4deb40fe8bab03f731852d1 to before 850cc4a84b36a0062dcd0391acd2450e20ab0767Affected
  • e95a9851787bbb3cd4deb40fe8bab03f731852d1 to before 480a39b0a12c977ed6e755f3d12a23424c57d11fAffected
  • e95a9851787bbb3cd4deb40fe8bab03f731852d1 to before 9bdad082d44bdcf93716973dcba6be77e8a06e7bAffected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.