{"id":"CVE-2026-80710","summary":"s390/dasd: Fix undersized format-check buffer","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/dasd: Fix undersized format-check buffer\n\nfmt_buffer_size in dasd_eckd_check_device_format() is declared as\nint, even though one of the multiplicands, sizeof(struct eckd_count),\nis a size_t. The expression\n\n    trkcount * rpt_max * sizeof(struct eckd_count)\n\nis therefore correctly evaluated at 64-bit width, but the result is\nsilently truncated when it is stored back into the 32-bit\nfmt_buffer_size variable. For a sufficiently large track range\n(start_unit/stop_unit are caller-controlled) this truncation\nyields a buffer size far smaller than the number of tracks actually\nrequested. kzalloc() then succeeds with an undersized allocation,\nwhile the subsequent channel program build still operates on the\nuntruncated track count and writes past the end of that buffer.\n\nCompute the buffer size with check_mul_overflow() and keep it in a\nsize_t, so that a value that no longer fits results in -EINVAL\ninstead of a silently truncated allocation size.","modified":"2026-08-29T03:47:17.263969778Z","published":"2026-08-28T06:53:10.028Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80710.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f40b346462f563a0d6e841a77b5163d2a882a04"},{"type":"WEB","url":"https://git.kernel.org/stable/c/87f3389cd3920714c53e704778f7ca7f1cf0c39c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f88dda2f22927d22498801a92cab6a9424eaf86"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aca18289c86f22d3fc2f3f6ff615286e7b1702f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e16e0fc54120cee3c6f0362de95aab6792865857"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80710.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80710"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8fd575200db5b53f6ea6818dd017f1b43190db12"},{"fixed":"aca18289c86f22d3fc2f3f6ff615286e7b1702f6"},{"fixed":"9f88dda2f22927d22498801a92cab6a9424eaf86"},{"fixed":"e16e0fc54120cee3c6f0362de95aab6792865857"},{"fixed":"87f3389cd3920714c53e704778f7ca7f1cf0c39c"},{"fixed":"7f40b346462f563a0d6e841a77b5163d2a882a04"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80710.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.7.0"},{"fixed":"6.6.151"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.103"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.44"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80710.json"}}],"schema_version":"1.9.0"}