# CVE-2026-80627: MIPS: mm: Fix out-of-bounds write in maar_res_walk()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-28T06:48:44.777Z
- Modified: 2026-08-28T08:16:46.867Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

MIPS: mm: Fix out-of-bounds write in maar_res_walk()

maar_res_walk() uses wi->num_cfg as the index into the fixed-size
wi->cfg array, but checks whether the array is full only after it has
filled the selected entry. If walk_system_ram_range() reports more than
16 memory ranges, the overflow call writes one struct maar_config past
the end of the array before WARN_ON() prevents num_cfg from advancing.

Move the full-array check before taking the array slot and return non-zero
when the scratch array is full, so walk_system_ram_range() terminates the
walk instead of invoking the callback for further ranges.

(As written by CVE List.)

## Affected

- Linux Linux: from a5718fe8f70f33b1b5b47a153057cfdd19684598 before a594100e147a6a67eb29189170f1df3645cda12b; from a5718fe8f70f33b1b5b47a153057cfdd19684598 before 8b3e0c1c63015deaf084286899f5b2d0526715de; from a5718fe8f70f33b1b5b47a153057cfdd19684598 before 44c1d902cf0798b60762a7a98be992b9f5ded7dd; from a5718fe8f70f33b1b5b47a153057cfdd19684598 before ac7385af1dca86a5ea704c80ca4dc822083ff9e2; from a5718fe8f70f33b1b5b47a153057cfdd19684598 before 431812eb88c200bc3ec33b88782c8cc415842074; from a5718fe8f70f33b1b5b47a153057cfdd19684598 before 92f38fe85198ace9b211bc7712b7951acfb94560; from a5718fe8f70f33b1b5b47a153057cfdd19684598 before 038f068cced8e9c49e8c419f3112d909ad366a3a; from a5718fe8f70f33b1b5b47a153057cfdd19684598 before 1b001b16bc88f3f7817e228acfd91ee01bdcfcce; 5.4 (not affected: before 5.4; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/a594100e147a6a67eb29189170f1df3645cda12b>
- <https://git.kernel.org/stable/c/8b3e0c1c63015deaf084286899f5b2d0526715de>
- <https://git.kernel.org/stable/c/44c1d902cf0798b60762a7a98be992b9f5ded7dd>
- <https://git.kernel.org/stable/c/ac7385af1dca86a5ea704c80ca4dc822083ff9e2>
- <https://git.kernel.org/stable/c/431812eb88c200bc3ec33b88782c8cc415842074>
- <https://git.kernel.org/stable/c/92f38fe85198ace9b211bc7712b7951acfb94560>
- <https://git.kernel.org/stable/c/038f068cced8e9c49e8c419f3112d909ad366a3a>
- <https://git.kernel.org/stable/c/1b001b16bc88f3f7817e228acfd91ee01bdcfcce>

## Sources

- CVE List: [CVE-2026-80627](https://www.cve.org/CVERecord?id=CVE-2026-80627), CVE Terms of Use, modified 2026-08-28
- NVD: [CVE-2026-80627](https://nvd.nist.gov/vuln/detail/CVE-2026-80627), Public domain, modified 2026-08-28

---

Page: https://cve.day/CVE-2026-80627 · Whole record: https://cve.day/CVE-2026-80627.json · Rebuilt by cve.day 2026-11-25T22:59:35.592Z
