CVE-2026-80627 (GCVE-0-2026-80627)

Vulnerability from cvelistv5 – Published: 2026-08-28 06:48 – Updated: 2026-08-28 06:48
VLAI
Title
MIPS: mm: Fix out-of-bounds write in maar_res_walk()
Summary
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a5718fe8f70f33b1b5b47a153057cfdd19684598 , < a594100e147a6a67eb29189170f1df3645cda12b (git)
Affected: a5718fe8f70f33b1b5b47a153057cfdd19684598 , < 8b3e0c1c63015deaf084286899f5b2d0526715de (git)
Affected: a5718fe8f70f33b1b5b47a153057cfdd19684598 , < 44c1d902cf0798b60762a7a98be992b9f5ded7dd (git)
Affected: a5718fe8f70f33b1b5b47a153057cfdd19684598 , < ac7385af1dca86a5ea704c80ca4dc822083ff9e2 (git)
Affected: a5718fe8f70f33b1b5b47a153057cfdd19684598 , < 431812eb88c200bc3ec33b88782c8cc415842074 (git)
Affected: a5718fe8f70f33b1b5b47a153057cfdd19684598 , < 92f38fe85198ace9b211bc7712b7951acfb94560 (git)
Affected: a5718fe8f70f33b1b5b47a153057cfdd19684598 , < 038f068cced8e9c49e8c419f3112d909ad366a3a (git)
Affected: a5718fe8f70f33b1b5b47a153057cfdd19684598 , < 1b001b16bc88f3f7817e228acfd91ee01bdcfcce (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.4
Unaffected: 0 , < 5.4 (semver)
Unaffected: 5.10.261 , ≤ 5.10.* (semver)
Unaffected: 5.15.212 , ≤ 5.15.* (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/mips/mm/init.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a594100e147a6a67eb29189170f1df3645cda12b",
              "status": "affected",
              "version": "a5718fe8f70f33b1b5b47a153057cfdd19684598",
              "versionType": "git"
            },
            {
              "lessThan": "8b3e0c1c63015deaf084286899f5b2d0526715de",
              "status": "affected",
              "version": "a5718fe8f70f33b1b5b47a153057cfdd19684598",
              "versionType": "git"
            },
            {
              "lessThan": "44c1d902cf0798b60762a7a98be992b9f5ded7dd",
              "status": "affected",
              "version": "a5718fe8f70f33b1b5b47a153057cfdd19684598",
              "versionType": "git"
            },
            {
              "lessThan": "ac7385af1dca86a5ea704c80ca4dc822083ff9e2",
              "status": "affected",
              "version": "a5718fe8f70f33b1b5b47a153057cfdd19684598",
              "versionType": "git"
            },
            {
              "lessThan": "431812eb88c200bc3ec33b88782c8cc415842074",
              "status": "affected",
              "version": "a5718fe8f70f33b1b5b47a153057cfdd19684598",
              "versionType": "git"
            },
            {
              "lessThan": "92f38fe85198ace9b211bc7712b7951acfb94560",
              "status": "affected",
              "version": "a5718fe8f70f33b1b5b47a153057cfdd19684598",
              "versionType": "git"
            },
            {
              "lessThan": "038f068cced8e9c49e8c419f3112d909ad366a3a",
              "status": "affected",
              "version": "a5718fe8f70f33b1b5b47a153057cfdd19684598",
              "versionType": "git"
            },
            {
              "lessThan": "1b001b16bc88f3f7817e228acfd91ee01bdcfcce",
              "status": "affected",
              "version": "a5718fe8f70f33b1b5b47a153057cfdd19684598",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/mips/mm/init.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.4"
            },
            {
              "lessThan": "5.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.261",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.261",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nMIPS: mm: Fix out-of-bounds write in maar_res_walk()\n\nmaar_res_walk() uses wi-\u003enum_cfg as the index into the fixed-size\nwi-\u003ecfg array, but checks whether the array is full only after it has\nfilled the selected entry. If walk_system_ram_range() reports more than\n16 memory ranges, the overflow call writes one struct maar_config past\nthe end of the array before WARN_ON() prevents num_cfg from advancing.\n\nMove the full-array check before taking the array slot and return non-zero\nwhen the scratch array is full, so walk_system_ram_range() terminates the\nwalk instead of invoking the callback for further ranges."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-28T06:48:44.777Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a594100e147a6a67eb29189170f1df3645cda12b"
        },
        {
          "url": "https://git.kernel.org/stable/c/8b3e0c1c63015deaf084286899f5b2d0526715de"
        },
        {
          "url": "https://git.kernel.org/stable/c/44c1d902cf0798b60762a7a98be992b9f5ded7dd"
        },
        {
          "url": "https://git.kernel.org/stable/c/ac7385af1dca86a5ea704c80ca4dc822083ff9e2"
        },
        {
          "url": "https://git.kernel.org/stable/c/431812eb88c200bc3ec33b88782c8cc415842074"
        },
        {
          "url": "https://git.kernel.org/stable/c/92f38fe85198ace9b211bc7712b7951acfb94560"
        },
        {
          "url": "https://git.kernel.org/stable/c/038f068cced8e9c49e8c419f3112d909ad366a3a"
        },
        {
          "url": "https://git.kernel.org/stable/c/1b001b16bc88f3f7817e228acfd91ee01bdcfcce"
        }
      ],
      "title": "MIPS: mm: Fix out-of-bounds write in maar_res_walk()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80627",
    "datePublished": "2026-08-28T06:48:44.777Z",
    "dateReserved": "2026-08-26T14:34:25.775Z",
    "dateUpdated": "2026-08-28T06:48:44.777Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-80627",
      "date": "2026-09-01",
      "epss": "0.00176",
      "percentile": "0.07263"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-80627\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-28T08:16:46.867\",\"lastModified\":\"2026-08-28T08:16:46.867\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nMIPS: mm: Fix out-of-bounds write in maar_res_walk()\\n\\nmaar_res_walk() uses wi-\u003enum_cfg as the index into the fixed-size\\nwi-\u003ecfg array, but checks whether the array is full only after it has\\nfilled the selected entry. If walk_system_ram_range() reports more than\\n16 memory ranges, the overflow call writes one struct maar_config past\\nthe end of the array before WARN_ON() prevents num_cfg from advancing.\\n\\nMove the full-array check before taking the array slot and return non-zero\\nwhen the scratch array is full, so walk_system_ram_range() terminates the\\nwalk instead of invoking the callback for further ranges.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"arch/mips/mm/init.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"a5718fe8f70f33b1b5b47a153057cfdd19684598\",\"lessThan\":\"a594100e147a6a67eb29189170f1df3645cda12b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a5718fe8f70f33b1b5b47a153057cfdd19684598\",\"lessThan\":\"8b3e0c1c63015deaf084286899f5b2d0526715de\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a5718fe8f70f33b1b5b47a153057cfdd19684598\",\"lessThan\":\"44c1d902cf0798b60762a7a98be992b9f5ded7dd\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a5718fe8f70f33b1b5b47a153057cfdd19684598\",\"lessThan\":\"ac7385af1dca86a5ea704c80ca4dc822083ff9e2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a5718fe8f70f33b1b5b47a153057cfdd19684598\",\"lessThan\":\"431812eb88c200bc3ec33b88782c8cc415842074\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a5718fe8f70f33b1b5b47a153057cfdd19684598\",\"lessThan\":\"92f38fe85198ace9b211bc7712b7951acfb94560\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a5718fe8f70f33b1b5b47a153057cfdd19684598\",\"lessThan\":\"038f068cced8e9c49e8c419f3112d909ad366a3a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a5718fe8f70f33b1b5b47a153057cfdd19684598\",\"lessThan\":\"1b001b16bc88f3f7817e228acfd91ee01bdcfcce\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"arch/mips/mm/init.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.4\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.4\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.261\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.212\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/038f068cced8e9c49e8c419f3112d909ad366a3a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1b001b16bc88f3f7817e228acfd91ee01bdcfcce\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/431812eb88c200bc3ec33b88782c8cc415842074\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/44c1d902cf0798b60762a7a98be992b9f5ded7dd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8b3e0c1c63015deaf084286899f5b2d0526715de\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/92f38fe85198ace9b211bc7712b7951acfb94560\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a594100e147a6a67eb29189170f1df3645cda12b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ac7385af1dca86a5ea704c80ca4dc822083ff9e2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-31T16:11:39+00:00",
      "cve": "CVE-2026-80627",
      "id": "CVE-2026-80627",
      "initial_release_date": "2026-08-28T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: MIPS: mm: Fix out-of-bounds write in maar_res_walk()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80627.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…