{"id":"CVE-2026-99617","aliases":["CVE-2026-99617"],"related":[],"kind":"vulnerability","state":"published","title":"arm64: mm: validate /dev/mem mmap ranges without overflow","summary":"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()]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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()]","source":"cvelist"}],"published":"2026-11-20T05:49:38.389Z","modified":"2026-11-23T08:18:03.770Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1d18c47c735e8adfe531fc41fae31e98f86b68fe","fixed":"9ed663f51fa2d0a8a7c4754780809e35da7e5a41","status":"affected"},{"type":"git","introduced":"1d18c47c735e8adfe531fc41fae31e98f86b68fe","fixed":"99abd25b9037219ef82c937ff5d1f7c35615bc89","status":"affected"},{"type":"git","introduced":"1d18c47c735e8adfe531fc41fae31e98f86b68fe","fixed":"90ff5803ad3b85f1cfd07d427cc6b7d5f2d0d950","status":"affected"},{"type":"git","introduced":"1d18c47c735e8adfe531fc41fae31e98f86b68fe","fixed":"bfcefa665475d737539dbecff57ab1749d81ab2e","status":"affected"},{"type":"git","introduced":"1d18c47c735e8adfe531fc41fae31e98f86b68fe","fixed":"db6607fd74263ead8df644b98ff25fac74d86f0e","status":"affected"},{"type":"git","introduced":"1d18c47c735e8adfe531fc41fae31e98f86b68fe","fixed":"fddf55af2d078f4186c5ab4f07383c8599b14640","status":"affected"},{"type":"git","introduced":"1d18c47c735e8adfe531fc41fae31e98f86b68fe","fixed":"c9a54fc8147f45020badd9001d4ed234c74b9526","status":"affected"},{"type":"git","introduced":"1d18c47c735e8adfe531fc41fae31e98f86b68fe","fixed":"b0958b1397fb5ffdb995c0ccc74349841929c08d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.7","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9ed663f51fa2d0a8a7c4754780809e35da7e5a41","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99abd25b9037219ef82c937ff5d1f7c35615bc89","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90ff5803ad3b85f1cfd07d427cc6b7d5f2d0d950","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfcefa665475d737539dbecff57ab1749d81ab2e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db6607fd74263ead8df644b98ff25fac74d86f0e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fddf55af2d078f4186c5ab4f07383c8599b14640","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c9a54fc8147f45020badd9001d4ed234c74b9526","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0958b1397fb5ffdb995c0ccc74349841929c08d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99617","url":"https://www.cve.org/CVERecord?id=CVE-2026-99617","licence":"CVE Terms of Use","modified":"2026-11-23T08:05:12.758Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99617","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99617","licence":"Public domain","modified":"2026-11-23T08:18:03.770Z"}],"updatedAt":"2026-11-25T22:59:52.282Z","epss":{"score":0.00226,"percentile":0.1419,"date":"2026-12-01T12:00:22.000Z"}}