Use of Out-of-range Pointer Offset Affecting kernel6.18-modules-extra package, versions <1:6.18.56-125.164.amzn2023


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.16% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-KERNEL618MODULESEXTRA-21701324
  • published25 Oct 2026
  • disclosed7 Oct 2026

Introduced: 7 Oct 2026

NewCVE-2026-98373  (opens in a new tab)
CWE-823  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 kernel6.18-modules-extra to version 1:6.18.56-125.164.amzn2023 or higher.
This issue was patched in ALAS2023-2026-3251.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel6.18-modules-extra package and not the kernel6.18-modules-extra package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1