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

Summary

CVECVE-2026-80627
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-28 08:16:46 UTC
Updated2026-08-28 08:16:46 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected a5718fe8f70f33b1b5b47a153057cfdd19684598 a594100e147a6a67eb29189170f1df3645cda12b git Not specified
CNA Linux Linux affected a5718fe8f70f33b1b5b47a153057cfdd19684598 8b3e0c1c63015deaf084286899f5b2d0526715de git Not specified
CNA Linux Linux affected a5718fe8f70f33b1b5b47a153057cfdd19684598 44c1d902cf0798b60762a7a98be992b9f5ded7dd git Not specified
CNA Linux Linux affected a5718fe8f70f33b1b5b47a153057cfdd19684598 ac7385af1dca86a5ea704c80ca4dc822083ff9e2 git Not specified
CNA Linux Linux affected a5718fe8f70f33b1b5b47a153057cfdd19684598 431812eb88c200bc3ec33b88782c8cc415842074 git Not specified
CNA Linux Linux affected a5718fe8f70f33b1b5b47a153057cfdd19684598 92f38fe85198ace9b211bc7712b7951acfb94560 git Not specified
CNA Linux Linux affected a5718fe8f70f33b1b5b47a153057cfdd19684598 038f068cced8e9c49e8c419f3112d909ad366a3a git Not specified
CNA Linux Linux affected a5718fe8f70f33b1b5b47a153057cfdd19684598 1b001b16bc88f3f7817e228acfd91ee01bdcfcce git Not specified
CNA Linux Linux affected 5.4 Not specified
CNA Linux Linux unaffected 5.4 semver Not specified
CNA Linux Linux unaffected 5.10.261 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/1b001b16bc88f3f7817e228acfd91ee01bdcfcce 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8b3e0c1c63015deaf084286899f5b2d0526715de 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/92f38fe85198ace9b211bc7712b7951acfb94560 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a594100e147a6a67eb29189170f1df3645cda12b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ac7385af1dca86a5ea704c80ca4dc822083ff9e2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/44c1d902cf0798b60762a7a98be992b9f5ded7dd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/431812eb88c200bc3ec33b88782c8cc415842074 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/038f068cced8e9c49e8c419f3112d909ad366a3a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report