# CVE-2026-80710: s390/dasd: Fix undersized format-check buffer

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-28T06:53:10.028Z
- Modified: 2026-10-30T13:20:10.623Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8fd575200db5b53f6ea6818dd017f1b43190db12 before 3d6be353ba0515247f527c6522348ac730b86ff0; from 8fd575200db5b53f6ea6818dd017f1b43190db12 before aca18289c86f22d3fc2f3f6ff615286e7b1702f6; from 8fd575200db5b53f6ea6818dd017f1b43190db12 before 9f88dda2f22927d22498801a92cab6a9424eaf86; from 8fd575200db5b53f6ea6818dd017f1b43190db12 before e16e0fc54120cee3c6f0362de95aab6792865857; from 8fd575200db5b53f6ea6818dd017f1b43190db12 before 87f3389cd3920714c53e704778f7ca7f1cf0c39c; from 8fd575200db5b53f6ea6818dd017f1b43190db12 before 7f40b346462f563a0d6e841a77b5163d2a882a04; 4.7 (not affected: before 4.7; from 6.1.191 up to 6.1.*; from 6.6.151 up to 6.6.*; from 6.12.103 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/3d6be353ba0515247f527c6522348ac730b86ff0>
- <https://git.kernel.org/stable/c/aca18289c86f22d3fc2f3f6ff615286e7b1702f6>
- <https://git.kernel.org/stable/c/9f88dda2f22927d22498801a92cab6a9424eaf86>
- <https://git.kernel.org/stable/c/e16e0fc54120cee3c6f0362de95aab6792865857>
- <https://git.kernel.org/stable/c/87f3389cd3920714c53e704778f7ca7f1cf0c39c>
- <https://git.kernel.org/stable/c/7f40b346462f563a0d6e841a77b5163d2a882a04>

## Sources

- CVE List: [CVE-2026-80710](https://www.cve.org/CVERecord?id=CVE-2026-80710), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-80710](https://nvd.nist.gov/vuln/detail/CVE-2026-80710), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-80710 · Whole record: https://cve.day/CVE-2026-80710.json · Rebuilt by cve.day 2026-11-25T22:59:35.622Z
