{"id":"CVE-2026-80627","summary":"MIPS: mm: Fix out-of-bounds write in maar_res_walk()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nMIPS: mm: Fix out-of-bounds write in maar_res_walk()\n\nmaar_res_walk() uses wi-\u003enum_cfg as the index into the fixed-size\nwi-\u003ecfg array, but checks whether the array is full only after it has\nfilled the selected entry. If walk_system_ram_range() reports more than\n16 memory ranges, the overflow call writes one struct maar_config past\nthe end of the array before WARN_ON() prevents num_cfg from advancing.\n\nMove the full-array check before taking the array slot and return non-zero\nwhen the scratch array is full, so walk_system_ram_range() terminates the\nwalk instead of invoking the callback for further ranges.","modified":"2026-08-30T03:48:20.939089484Z","published":"2026-08-28T06:48:44.777Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80627.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/038f068cced8e9c49e8c419f3112d909ad366a3a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b001b16bc88f3f7817e228acfd91ee01bdcfcce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/431812eb88c200bc3ec33b88782c8cc415842074"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44c1d902cf0798b60762a7a98be992b9f5ded7dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b3e0c1c63015deaf084286899f5b2d0526715de"},{"type":"WEB","url":"https://git.kernel.org/stable/c/92f38fe85198ace9b211bc7712b7951acfb94560"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a594100e147a6a67eb29189170f1df3645cda12b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac7385af1dca86a5ea704c80ca4dc822083ff9e2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80627.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80627"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a5718fe8f70f33b1b5b47a153057cfdd19684598"},{"fixed":"a594100e147a6a67eb29189170f1df3645cda12b"},{"fixed":"8b3e0c1c63015deaf084286899f5b2d0526715de"},{"fixed":"44c1d902cf0798b60762a7a98be992b9f5ded7dd"},{"fixed":"ac7385af1dca86a5ea704c80ca4dc822083ff9e2"},{"fixed":"431812eb88c200bc3ec33b88782c8cc415842074"},{"fixed":"92f38fe85198ace9b211bc7712b7951acfb94560"},{"fixed":"038f068cced8e9c49e8c419f3112d909ad366a3a"},{"fixed":"1b001b16bc88f3f7817e228acfd91ee01bdcfcce"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80627.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0"},{"fixed":"5.10.261"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.212"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80627.json"}}],"schema_version":"1.9.0"}