{"id":"CVE-2026-99617","aliases":[],"title":"arm64: mm: validate /dev/mem mmap ranges without overflow","originalDescription":"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()]","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00226,"percentile":0.1417},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Linux","range":">=1d18c47c735e8adfe531fc41fae31e98f86b68fe, <90ff5803ad3b85f1cfd07d427cc6b7d5f2d0d950","fixed":"90ff5803ad3b85f1cfd07d427cc6b7d5f2d0d950"},{"ecosystem":"vendor","name":"Linux","range":">=1d18c47c735e8adfe531fc41fae31e98f86b68fe, <99abd25b9037219ef82c937ff5d1f7c35615bc89","fixed":"99abd25b9037219ef82c937ff5d1f7c35615bc89"},{"ecosystem":"vendor","name":"Linux","range":">=1d18c47c735e8adfe531fc41fae31e98f86b68fe, <9ed663f51fa2d0a8a7c4754780809e35da7e5a41","fixed":"9ed663f51fa2d0a8a7c4754780809e35da7e5a41"},{"ecosystem":"vendor","name":"Linux","range":">=1d18c47c735e8adfe531fc41fae31e98f86b68fe, <b0958b1397fb5ffdb995c0ccc74349841929c08d","fixed":"b0958b1397fb5ffdb995c0ccc74349841929c08d"},{"ecosystem":"vendor","name":"Linux","range":">=1d18c47c735e8adfe531fc41fae31e98f86b68fe, <bfcefa665475d737539dbecff57ab1749d81ab2e","fixed":"bfcefa665475d737539dbecff57ab1749d81ab2e"},{"ecosystem":"vendor","name":"Linux","range":">=1d18c47c735e8adfe531fc41fae31e98f86b68fe, <c9a54fc8147f45020badd9001d4ed234c74b9526","fixed":"c9a54fc8147f45020badd9001d4ed234c74b9526"},{"ecosystem":"vendor","name":"Linux","range":">=1d18c47c735e8adfe531fc41fae31e98f86b68fe, <db6607fd74263ead8df644b98ff25fac74d86f0e","fixed":"db6607fd74263ead8df644b98ff25fac74d86f0e"},{"ecosystem":"vendor","name":"Linux","range":">=1d18c47c735e8adfe531fc41fae31e98f86b68fe, <fddf55af2d078f4186c5ab4f07383c8599b14640","fixed":"fddf55af2d078f4186c5ab4f07383c8599b14640"}],"references":[{"url":"https://git.kernel.org/stable/c/db6607fd74263ead8df644b98ff25fac74d86f0e","type":"other"},{"url":"https://git.kernel.org/stable/c/fddf55af2d078f4186c5ab4f07383c8599b14640","type":"other"},{"url":"https://git.kernel.org/stable/c/c9a54fc8147f45020badd9001d4ed234c74b9526","type":"other"},{"url":"https://git.kernel.org/stable/c/b0958b1397fb5ffdb995c0ccc74349841929c08d","type":"other"},{"url":"https://git.kernel.org/stable/c/9ed663f51fa2d0a8a7c4754780809e35da7e5a41","type":"other"},{"url":"https://git.kernel.org/stable/c/99abd25b9037219ef82c937ff5d1f7c35615bc89","type":"other"},{"url":"https://git.kernel.org/stable/c/90ff5803ad3b85f1cfd07d427cc6b7d5f2d0d950","type":"other"},{"url":"https://git.kernel.org/stable/c/bfcefa665475d737539dbecff57ab1749d81ab2e","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.479Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99617","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:45.908Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:57.101Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99617","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:12.789Z"}],"firstSeenAt":"2026-11-20T06:28:12.789Z","publishedAt":"2026-11-20T05:49:38.389Z","modifiedAt":"2026-11-23T08:18:03.770Z"}