CVE-2026-99617: arm64: mm: validate /dev/mem mmap ranges without overflow

Published Nov 20, 2026
·
Updated

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

arm64: mm: validate /dev/mem mmap ranges without overflow

An arm64 syzkaller reproducer creates a FUSE character device with major:minor 1:1, so opening it uses the /dev/mem file operations. It maps one page from offset 0xfffffffffffff000 at user address zero. The next openat() with a NULL pathname triggers a synchronous external abort (SEA, ESR 0x96000010) in strncpyfromuser() via dogetname(), panicking the kernel.

validmmapphysaddrrange() checks the exclusive end by adding the mapping size to the starting address. For this offset, the sum wraps to zero and passes the PHYSMASK test, allowing an out-of-range PFN to reach remappfnrange(). The inclusive-end overflow check in mmapmemprepare() does not catch it because the end is ULONGMAX.

Reject starting PFNs outside PHYSMASK and compare the inclusive length against the remaining physical range without overflowing. This also allows mappings that end exactly at PHYSMASK, which the old check incorrectly rejects.

[catalin.marinas@arm.com: changed the check to look more like accessok()]

Affected Software

3 affected componentsFixes available
linux/kernel>=3.7.0<6.12.118
6.12.118
linux/kernel>=6.13.0<6.18.64
6.18.64
linux/kernel>=6.19.0<7.3.5
7.3.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.118
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.64
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.5

Frequently Asked Questions

1

Which systems are exposed to this issue?

The issue affects the arm64 Linux kernel /dev/mem mmap validation path. Exploitation requires an attacker to cause a mapping through /dev/mem file operations using an out-of-range physical offset near the maximum address value.

2

What is the observable impact of a successful trigger?

The provided reproducer causes a synchronous external abort during a later openat() call with a NULL pathname, leading to a kernel panic. The underlying condition allows an out-of-range PFN to reach remap_pfn_range() because the range-end calculation wraps around.

3

Does the flawed validation affect all boundary mappings?

No. The previous validation also incorrectly rejected mappings that ended exactly at PHYS_MASK. The corrected logic rejects starting PFNs outside PHYS_MASK and validates the mapping length against the remaining physical range without arithmetic overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203