{"id":"CVE-2026-99617","summary":"arm64: mm: validate /dev/mem mmap ranges without overflow","details":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: mm: validate /dev/mem mmap ranges without overflow\n\nAn arm64 syzkaller reproducer creates a FUSE character device with\nmajor:minor 1:1, so opening it uses the /dev/mem file operations. It\nmaps one page from offset 0xfffffffffffff000 at user address zero.\nThe next openat() with a NULL pathname triggers a synchronous external\nabort (SEA, ESR 0x96000010) in strncpy_from_user() via do_getname(),\npanicking the kernel.\n\nvalid_mmap_phys_addr_range() checks the exclusive end by adding the\nmapping size to the starting address. For this offset, the sum wraps\nto zero and passes the PHYS_MASK test, allowing an out-of-range PFN to\nreach remap_pfn_range(). The inclusive-end overflow check in\nmmap_mem_prepare() does not catch it because the end is ULONG_MAX.\n\nReject starting PFNs outside PHYS_MASK and compare the inclusive length\nagainst the remaining physical range without overflowing. This also\nallows mappings that end exactly at PHYS_MASK, which the old check\nincorrectly rejects.\n\n[catalin.marinas@arm.com: changed the check to look more like __access_ok()]","modified":"2026-11-20T07:00:59.231234243Z","published":"2026-11-20T05:49:38.389Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99617.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0958b1397fb5ffdb995c0ccc74349841929c08d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c9a54fc8147f45020badd9001d4ed234c74b9526"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db6607fd74263ead8df644b98ff25fac74d86f0e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fddf55af2d078f4186c5ab4f07383c8599b14640"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99617.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99617"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1d18c47c735e8adfe531fc41fae31e98f86b68fe"},{"fixed":"db6607fd74263ead8df644b98ff25fac74d86f0e"},{"fixed":"fddf55af2d078f4186c5ab4f07383c8599b14640"},{"fixed":"c9a54fc8147f45020badd9001d4ed234c74b9526"},{"fixed":"b0958b1397fb5ffdb995c0ccc74349841929c08d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99617.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99617.json"}}],"schema_version":"1.9.2"}