{"id":"CVE-2026-80584","summary":"s390/qeth: validate user buffer length in SNMP and ARP query ioctls","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/qeth: validate user buffer length in SNMP and ARP query ioctls\n\nqeth_snmp_command() and qeth_l3_arp_query() allocate a buffer sized by\na user-supplied length (udata_len) without checking a lower bound, then\nset udata_offset to a fixed non-zero value and pass both to a reply\ncallback. The callback bounds-checks the copy with\n\n        if ((udata_len - udata_offset) \u003c len)\n\nBoth fields are u32, so a udata_len smaller than udata_offset makes the\nsubtraction wrap and the check pass, and the following memcpy() writes\npast the allocation. A udata_len of 0 also yields ZERO_SIZE_PTR from\nkzalloc(), which the existing NULL check does not catch.\n\nReject buffers smaller than udata_offset before allocating, so the\ncallback subtraction can no longer underflow.","modified":"2026-08-28T03:47:29.296613586Z","published":"2026-08-26T14:37:40.302Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80584.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3083818e67bcd656965797fbac9a3d6c1d44f78a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46443eaddebd84c51940857b11787229be169dec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75fb3151513d7d9f77a8f9545418279b119c06b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91935843f9396a9e45253e2c0d4337ca1371754b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d00eeb2d27f4cc817c5e408760226d43f811ec6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3083647747942ea32faf14560d6397ff3068046"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc423f4105fe145b33e1d7cad34245a798358f73"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d141f087b1af656f055d7c5793a3e87817ba0bbe"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80584.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80584"},{"type":"PACKAGE","url":"https://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":"4a71df50047f0db65ea09b1be155852e81a45eba"},{"fixed":"9d00eeb2d27f4cc817c5e408760226d43f811ec6"},{"fixed":"46443eaddebd84c51940857b11787229be169dec"},{"fixed":"91935843f9396a9e45253e2c0d4337ca1371754b"},{"fixed":"cc423f4105fe145b33e1d7cad34245a798358f73"},{"fixed":"3083818e67bcd656965797fbac9a3d6c1d44f78a"},{"fixed":"a3083647747942ea32faf14560d6397ff3068046"},{"fixed":"75fb3151513d7d9f77a8f9545418279b119c06b8"},{"fixed":"d141f087b1af656f055d7c5793a3e87817ba0bbe"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80584.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.26"},{"fixed":"5.10.266"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.217"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.184"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.153"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.105"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.46"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80584.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}