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.
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A kernel out‑of‑bounds write occurs in the MIPS mm code path that processes memory ranges. The function uses a fixed‑size array but only checks capacity after writing to an entry. When the underlying walker reports more than sixteen ranges, the call writes beyond the array boundary and then triggers a WARN_ON() that stops the counter from advancing. The write can corrupt kernel memory, potentially enabling an attacker to modify internal structures or control data. According to the description, the flaw is a simple corruption that could lead to privilege escalation or denial of service if the attacker has sufficient code execution or local access to invoke the vulnerable path.

Affected Systems

The vulnerability appears in the Linux kernel’s memory management subsystem for MIPS architecture. All kernel releases that were affected by this out‑of‑bounds write—before the patch that moved the full‑array check up—are vulnerable. No specific kernel versions are enumerated in the data, so it applies to all affected kernel releases until the commit that implements the fix.

Risk and Exploitability

The CVSS score is not supplied, and the EPSS score is unavailable, so the quantitative likelihood of exploitation is uncertain. The vulnerability is not listed in the CISA KEV catalog. Based on the nature of the flaw, exploitation would require an attacker to invoke the maar_res_walk() path, which may be triggered by certain privileged operations such as memory management or boot‑time configuration. If an attacker can control the number or ordering of memory ranges, the overflow can corrupt kernel memory. The absence of a documented public exploit means the risk is theoretical, but the potential impact (privilege escalation or possible system compromise) is high.

Generated by OpenCVE AI on August 28, 2026 at 09:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a release that includes the commit implementing the out‑of‑bounds check before the array write
  • If an immediate kernel upgrade is not possible, limit the number of system‑RAM ranges enumerated to fewer than sixteen to prevent the overflow condition—configuring the system or kernel boot parameters to reduce memory range proliferation
  • Reboot the system after applying the patch or configuration change to ensure all kernel memory structures are reinitialized and the vulnerable code path is disabled

Generated by OpenCVE AI on August 28, 2026 at 09:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
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.
Title MIPS: mm: Fix out-of-bounds write in maar_res_walk()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-28T06:48:44.777Z

Reserved: 2026-08-26T14:34:25.775Z

Link: CVE-2026-80627

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:46.867

Modified: 2026-08-28T08:16:46.867

Link: CVE-2026-80627

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T10:30:17Z

Weaknesses