CVE-2026-80710

Source
https://cve.org/CVERecord?id=CVE-2026-80710
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80710.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80710
Downstream
Published
2026-08-28T06:53:10.028Z
Modified
2026-08-29T03:47:17.263969778Z
Summary
s390/dasd: Fix undersized format-check buffer
Details

In the Linux kernel, the following vulnerability has been resolved:

s390/dasd: Fix undersized format-check buffer

fmtbuffersize in dasdeckdcheckdeviceformat() is declared as int, even though one of the multiplicands, sizeof(struct eckdcount), is a sizet. 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 fmtbuffersize variable. For a sufficiently large track range (startunit/stopunit 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 checkmuloverflow() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80710.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"