CVE-2026-99617 in Linux
Summary
by MITRE • 11/20/2026
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.
[[email protected]: changed the check to look more like __access_ok()]
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/21/2026
The Linux kernel for ARM64 architectures contains a critical integer overflow vulnerability within its physical memory mapping subsystem, specifically affecting the handling of /dev/mem mappings via mmap operations. This flaw arises from an insufficient validation mechanism when calculating the end address of a mapped memory region. When user space applications request to map physical addresses through /dev/mem, the kernel function valid_mmap_phys_addr_range is invoked to verify that the requested range falls within acceptable hardware limits defined by PHYS_MASK. The vulnerability stems from the arithmetic operation used to determine the exclusive end of the mapping range, where the starting address and the length are added together without proper overflow protection. If a user provides a high virtual offset combined with a specific size such that their sum exceeds the maximum value representable by an unsigned long integer, the result wraps around to zero or another low value. This wrapped value erroneously passes the subsequent PHYS_MASK boundary check because it appears to be within valid physical address space, thereby allowing the kernel to proceed with remapping memory regions that are actually out of bounds.
The operational impact of this vulnerability is severe and can lead to a complete system crash through a synchronous external abort. In practical exploitation scenarios, such as those demonstrated by syzkaller fuzzing tools, an attacker can create a FUSE character device configured to use /dev/mem file operations. By mapping a page from a high offset like 0xfffffffffffff000 at user address zero and triggering subsequent system calls that rely on string copying functions like strncpy_from_user via do_getname, the kernel attempts to access invalid physical memory addresses. This results in a hardware-level exception with error syndrome register value ESR 0x96000010, which the kernel cannot handle gracefully, leading directly to a panic and denial of service against the entire system. The vulnerability effectively allows local users to crash the host machine by exploiting this arithmetic flaw during memory mapping initialization.
From a technical classification perspective, this issue aligns with CWE-190 Integer Overflow or Wraparound, as the root cause is the failure to detect when an addition operation exceeds the maximum capacity of the data type used for address calculation. Furthermore, it relates to CWE-284 Improper Access Control because the flawed validation allows access to physical memory regions that should be restricted based on hardware capabilities and security policies. In terms of adversary tactics, this vulnerability supports techniques associated with ATT&CK T1059 Command and Scripting Interpreter or more broadly privilege escalation vectors where system stability is compromised to facilitate further exploitation, although in its current form it primarily serves as a reliable denial-of-service vector against kernel-level services.
The remediation for this vulnerability involves modifying the validation logic within valid_mmap_phys_addr_range to explicitly reject starting physical frame numbers that fall outside of PHYS_MASK before performing arithmetic operations on them. Additionally, the code must be updated to compare the inclusive length against the remaining physical range without risking overflow during addition. This approach ensures that mappings ending exactly at the upper limit defined by PHYS_MASK are correctly accepted while preventing wraparound scenarios from passing validation checks. The fix also aligns the check more closely with __access_ok patterns used elsewhere in the kernel for consistency and robustness, ensuring that both start and end addresses are rigorously validated against hardware constraints before any memory mapping is established.