Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 252B63CF1E0 for ; Fri, 28 Aug 2026 06:55:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900138; cv=none; b=obt+mqy+YZacUYZtWWGdyjVHc19uVnRdP/pgyDJRMrz6vQizZgUJelUjaw9CRmiigAZ0t+WGA9r3k8QjH19SSkf3VISFfnqRd1gllvD8I1wRnTz/MdMgxGWRBv0/Ddg0kuFUhho0MBKE/df2cnmRoMWCqYwZK/vure+pyHtqhAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900138; c=relaxed/simple; bh=bRDGFlYC3KbIN7MY7YdGTZOylCiN8hrxVQbcsS5x6cM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I9NIzu5bkBXNF5V6Cnyu1X1Dqxc7jQgO4jNwFIEXV76be2Iavk6OMPDUcluoHYCS7u0jBDLxYstTmH4l5QZczWFpeePmsdoH3+5ZO7ri3oPYewI9jpdO4e3ZEIiPBgb1T7P+3Wob1iR9CIim0nPQg9rl1rh5v8elE3Z1TaqTNXo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eEcflQ0q; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="eEcflQ0q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83DC81F00A3A; Fri, 28 Aug 2026 06:55:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787900137; bh=IkXbvZ2vKqnD5iT0EIyU6U605BrZqzlRfDuTg9JOIAw=; h=From:To:Cc:Subject:Date:Reply-To; b=eEcflQ0qVjLd4eAflKd6p7odjmbZjFiW2DnimlSi5xfb5m7NhFTouhysPz3lcmPFU RdFTiEzLJQAw4/XbcceZXI/zxf2Te9IGkoqzQv1rmhNMXakPBfzpVKxAUHG08LajHj u89JPCwvuA8JKk/HEbbQoSTFBYuwcZg3PzOSFeuw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80710: s390/dasd: Fix undersized format-check buffer Date: Fri, 28 Aug 2026 08:53:33 +0200 Message-ID: <2026082808-CVE-2026-80710-7d94@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3366; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hVSeG/rzB/H+N9QRQjjLGYXM+9AWa498pU9XsIjOYXo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkTDUI+7JN9LffjaE9+7/FT/FNMOBhTvl7jFQz5fjvq8 RS1FW8XdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEltkxLDiZ+rJBxZ5j6Z7K bXd/pd3s3xNwfybDXEkd+zlhCza8kZlxZ+PPzQ+TknevlgYA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-80710 to this issue. Affected and fixed versions =========================== Issue introduced in 4.7 with commit 8fd575200db5b53f6ea6818dd017f1b43190db12 and fixed in 6.6.151 with commit aca18289c86f22d3fc2f3f6ff615286e7b1702f6 Issue introduced in 4.7 with commit 8fd575200db5b53f6ea6818dd017f1b43190db12 and fixed in 6.12.103 with commit 9f88dda2f22927d22498801a92cab6a9424eaf86 Issue introduced in 4.7 with commit 8fd575200db5b53f6ea6818dd017f1b43190db12 and fixed in 6.18.44 with commit e16e0fc54120cee3c6f0362de95aab6792865857 Issue introduced in 4.7 with commit 8fd575200db5b53f6ea6818dd017f1b43190db12 and fixed in 7.1.8 with commit 87f3389cd3920714c53e704778f7ca7f1cf0c39c Issue introduced in 4.7 with commit 8fd575200db5b53f6ea6818dd017f1b43190db12 and fixed in 7.2 with commit 7f40b346462f563a0d6e841a77b5163d2a882a04 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-80710 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/s390/block/dasd_eckd.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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