CVE-2026-99617

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

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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 strncpy_from_user() via do_getname(), panicking the kernel.

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

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

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1d18c47c735e8adfe531fc41fae31e98f86b68fe to before db6607fd74263ead8df644b98ff25fac74d86f0eAffected
  • 1d18c47c735e8adfe531fc41fae31e98f86b68fe to before fddf55af2d078f4186c5ab4f07383c8599b14640Affected
  • 1d18c47c735e8adfe531fc41fae31e98f86b68fe to before c9a54fc8147f45020badd9001d4ed234c74b9526Affected
  • 1d18c47c735e8adfe531fc41fae31e98f86b68fe to before b0958b1397fb5ffdb995c0ccc74349841929c08dAffected
LinuxLinux
  • 3.7Affected
  • before 3.7Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.