CVE-2026-98373

Source
https://cve.org/CVERecord?id=CVE-2026-98373
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98373.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98373
Downstream
Published
2026-10-07T13:01:47Z
Modified
2026-10-09T02:49:27Z
Summary
mm/hugetlb: preserve mremap address delta when skipping page tables
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98373.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e95a9851787bbb3cd4deb40fe8bab03f731852d1
Fixed
7a96b0f657c8d799ea5b8e02fc9ec7cca0e6e7ff
Fixed
850cc4a84b36a0062dcd0391acd2450e20ab0767
Fixed
480a39b0a12c977ed6e755f3d12a23424c57d11f
Fixed
9bdad082d44bdcf93716973dcba6be77e8a06e7b

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98373.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98373.json"