Skip to content
Heist/ feed
High

dm array: validate array block headers on read

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: dm array: validate array block headers on read array_block_check() validates blocknr and csum and nothing else, while node_check(), next to it, has bounded the structural fields since both were written. dm_array_cursor_next() takes its loop bound from the on-disk nr_entries and element_at() is unguarded pointer arithmetic, so a count larger than the block holds keeps the cursor in one block while the index grows past it and the read walks off the dm-bufio buffer -- dm_cache_load_mappings() drives it once per cache block at activation. Check the header against itself: reject a zero value_size, require max_entries to equal calc_max_entries() for that value_size and block size, and require nr_entries to fit. Equality rather than an upper bound, since a count below the real capacity trips BUG_ON() in fill_ablock() and trim_ablock(). Metadata dm-array writes satisfies all three.

Announced Group revision 1
Original source ↗

CVE-2026-89574

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89574

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6513c29f44f2cc970c0e9fecfe5a6526c3e73025",
        "lessThan": "0e3b8f371c385c212b6e6f76c66f5b3f5bcfea62",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6513c29f44f2cc970c0e9fecfe5a6526c3e73025",
        "lessThan": "67adda7ed5da3e3b64f5b9021a02c21fb374fd9c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6513c29f44f2cc970c0e9fecfe5a6526c3e73025",
        "lessThan": "b33f76d33aaeacf3baf3370d8d64985169b36600",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6513c29f44f2cc970c0e9fecfe5a6526c3e73025",
        "lessThan": "9808ddffb4bc659352df3020cd84d9d864820ee5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6513c29f44f2cc970c0e9fecfe5a6526c3e73025",
        "lessThan": "2965787723084835b18dfe993cd450ebf5bd4540",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/md/persistent-data/dm-array.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.9"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.9",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.109",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.50",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/md/persistent-data/dm-array.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89574

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#46684 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement