{"id":"CVE-2026-98923","aliases":["CVE-2026-98923"],"related":[],"kind":"vulnerability","state":"published","title":"arm64: io: Reject non-user protection in ioremap_prot()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: io: Reject non-user protection in ioremap_prot()\n\nMapping a stack-top page via /dev/mem with PROT_NONE and then\nreading that process's /proc/<pid>/cmdline triggers a spurious WARN\nin ioremap_prot() through generic_access_phys():\n\n  WARNING: ./arch/arm64/include/asm/io.h:275 at generic_access_phys\n  Call trace:\n    generic_access_phys+0x1c8/0x228 (P)\n    __access_remote_vm+0x2b4/0x398\n    access_remote_vm+0x14/0x30\n    get_mm_cmdline+0xf8/0x2a0\n    proc_pid_cmdline_read+0x68/0x120\n\ngeneric_access_phys() passes the protection derived from the user PTE\nto ioremap_prot(). On arm64, a PROT_NONE mapping is represented by a\npresent-invalid PTE, so pte_present() still returns true and the\nprotection reaches ioremap_prot().\n\nA PROT_NONE mapping does not have PTE_USER, causing the existing\nWARN_ON_ONCE() in ioremap_prot() to fire even though this is a valid\nuser mapping. Execute-only mappings have the same issue and must not\nbe readable through this path either.\n\nioremap_prot() should therefore reject protection values without\nPTE_USER without warning. This makes the access fail cleanly for\nPROT_NONE and execute-only mappings while retaining the existing\nuser-protection contract.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: io: Reject non-user protection in ioremap_prot()\n\nMapping a stack-top page via /dev/mem with PROT_NONE and then\nreading that process's /proc/<pid>/cmdline triggers a spurious WARN\nin ioremap_prot() through generic_access_phys():\n\n  WARNING: ./arch/arm64/include/asm/io.h:275 at generic_access_phys\n  Call trace:\n    generic_access_phys+0x1c8/0x228 (P)\n    __access_remote_vm+0x2b4/0x398\n    access_remote_vm+0x14/0x30\n    get_mm_cmdline+0xf8/0x2a0\n    proc_pid_cmdline_read+0x68/0x120\n\ngeneric_access_phys() passes the protection derived from the user PTE\nto ioremap_prot(). On arm64, a PROT_NONE mapping is represented by a\npresent-invalid PTE, so pte_present() still returns true and the\nprotection reaches ioremap_prot().\n\nA PROT_NONE mapping does not have PTE_USER, causing the existing\nWARN_ON_ONCE() in ioremap_prot() to fire even though this is a valid\nuser mapping. Execute-only mappings have the same issue and must not\nbe readable through this path either.\n\nioremap_prot() should therefore reject protection values without\nPTE_USER without warning. This makes the access fail cleanly for\nPROT_NONE and execute-only mappings while retaining the existing\nuser-protection contract.","source":"cvelist"}],"published":"2026-10-23T12:03:28.027Z","modified":"2026-10-23T13:17:12.957Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"64858b76ec67c5fc40fef8ec1841fecb78c1ebde","fixed":"fddc90d4af4550af410f52d11bbf6b5f36443838","status":"affected"},{"type":"git","introduced":"eeecafce5afffb4da703666ebefbd4d6e2a5abf6","fixed":"0b04af3d88bb7fc69b2d92457890608860e42365","status":"affected"},{"type":"git","introduced":"3d64dcc0799c2d6921ba027716b7be721eb19fa8","fixed":"b17aa4955e3a694c663ebe99626e4c76ca4f7cfb","status":"affected"},{"type":"git","introduced":"8f098037139b294050053123ab2bc0f819d08932","fixed":"9b583795feb51f8d50203228d001760d1344ef01","status":"affected"},{"type":"git","introduced":"8f098037139b294050053123ab2bc0f819d08932","fixed":"bb756b11ad63832ebee58caf9e8f9381eaecff9f","status":"affected"},{"type":"git","version":"d1ad8fe7f72d73e1617bac79f2ec7a3bedf47e2a","status":"affected"},{"type":"semver","introduced":"6.6.143","fixed":"6.6.158","status":"affected"},{"type":"semver","introduced":"6.12.93","fixed":"6.12.112","status":"affected"},{"type":"semver","introduced":"6.18.17","fixed":"6.18.55","status":"affected"},{"type":"semver","introduced":"6.19.7","fixed":"6.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/fddc90d4af4550af410f52d11bbf6b5f36443838","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b04af3d88bb7fc69b2d92457890608860e42365","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b17aa4955e3a694c663ebe99626e4c76ca4f7cfb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b583795feb51f8d50203228d001760d1344ef01","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb756b11ad63832ebee58caf9e8f9381eaecff9f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98923","url":"https://www.cve.org/CVERecord?id=CVE-2026-98923","licence":"CVE Terms of Use","modified":"2026-10-23T12:05:45.179Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98923","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98923","licence":"Public domain","modified":"2026-10-23T13:17:12.957Z"}],"updatedAt":"2026-11-25T22:59:46.911Z","epss":{"score":0.00168,"percentile":0.06444,"date":"2026-12-01T12:00:22.000Z"}}