Skip to content
Heist/ feed
High

s390/dasd: Fix undersized format-check buffer

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: s390/dasd: Fix undersized format-check buffer fmt_buffer_size in dasd_eckd_check_device_format() is declared as int, even though one of the multiplicands, sizeof(struct eckd_count), is a size_t. The expression trkcount * rpt_max * sizeof(struct eckd_count) is therefore correctly evaluated at 64-bit width, but the result is silently truncated when it is stored back into the 32-bit fmt_buffer_size variable. For a sufficiently large track range (start_unit/stop_unit are caller-controlled) this truncation yields a buffer size far smaller than the number of tracks actually requested. kzalloc() then succeeds with an undersized allocation, while the subsequent channel program build still operates on the untruncated track count and writes past the end of that buffer. Compute the buffer size with check_mul_overflow() and keep it in a size_t, so that a value that no longer fits results in -EINVAL instead of a silently truncated allocation size.

Announced Source revision 1
Original source ↗

CVE-2026-80710

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-80710

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": "8fd575200db5b53f6ea6818dd017f1b43190db12",
        "lessThan": "aca18289c86f22d3fc2f3f6ff615286e7b1702f6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8fd575200db5b53f6ea6818dd017f1b43190db12",
        "lessThan": "9f88dda2f22927d22498801a92cab6a9424eaf86",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8fd575200db5b53f6ea6818dd017f1b43190db12",
        "lessThan": "e16e0fc54120cee3c6f0362de95aab6792865857",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8fd575200db5b53f6ea6818dd017f1b43190db12",
        "lessThan": "87f3389cd3920714c53e704778f7ca7f1cf0c39c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8fd575200db5b53f6ea6818dd017f1b43190db12",
        "lessThan": "7f40b346462f563a0d6e841a77b5163d2a882a04",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/s390/block/dasd_eckd.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.7"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.7",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.151",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.103",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.44",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.8",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/s390/block/dasd_eckd.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-80710

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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