Bug 2525491 (CVE-2026-80627) - CVE-2026-80627 kernel: MIPS: mm: Fix out-of-bounds write in maar_res_walk()
Summary: CVE-2026-80627 kernel: MIPS: mm: Fix out-of-bounds write in maar_res_walk()
Keywords:
Status: NEW
Alias: CVE-2026-80627
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-28 07:47 UTC by OSIDB Bzimport
Modified: 2026-09-03 15:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-28 07:47:43 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.