CVE-2026-80627

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

State
Published
Severity
Not scored
Published
Aug 28, 2026
Updated
Aug 28, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a5718fe8f70f33b1b5b47a153057cfdd19684598 to before a594100e147a6a67eb29189170f1df3645cda12bAffected
  • a5718fe8f70f33b1b5b47a153057cfdd19684598 to before 8b3e0c1c63015deaf084286899f5b2d0526715deAffected
  • a5718fe8f70f33b1b5b47a153057cfdd19684598 to before 44c1d902cf0798b60762a7a98be992b9f5ded7ddAffected
  • a5718fe8f70f33b1b5b47a153057cfdd19684598 to before ac7385af1dca86a5ea704c80ca4dc822083ff9e2Affected
  • a5718fe8f70f33b1b5b47a153057cfdd19684598 to before 431812eb88c200bc3ec33b88782c8cc415842074Affected
  • a5718fe8f70f33b1b5b47a153057cfdd19684598 to before 92f38fe85198ace9b211bc7712b7951acfb94560Affected
  • a5718fe8f70f33b1b5b47a153057cfdd19684598 to before 038f068cced8e9c49e8c419f3112d909ad366a3aAffected
  • a5718fe8f70f33b1b5b47a153057cfdd19684598 to before 1b001b16bc88f3f7817e228acfd91ee01bdcfcceAffected
LinuxLinux
  • 5.4Affected
  • before 5.4Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.