{"id":"CVE-2026-80584","aliases":["CVE-2026-80584"],"related":[],"kind":"vulnerability","state":"published","title":"s390/qeth: validate user buffer length in SNMP and ARP query ioctls","summary":"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) < 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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) < 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.","source":"cvelist"}],"published":"2026-08-26T14:37:40.302Z","modified":"2026-10-16T20:18:01.410Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4a71df50047f0db65ea09b1be155852e81a45eba","fixed":"9d00eeb2d27f4cc817c5e408760226d43f811ec6","status":"affected"},{"type":"git","introduced":"4a71df50047f0db65ea09b1be155852e81a45eba","fixed":"46443eaddebd84c51940857b11787229be169dec","status":"affected"},{"type":"git","introduced":"4a71df50047f0db65ea09b1be155852e81a45eba","fixed":"91935843f9396a9e45253e2c0d4337ca1371754b","status":"affected"},{"type":"git","introduced":"4a71df50047f0db65ea09b1be155852e81a45eba","fixed":"cc423f4105fe145b33e1d7cad34245a798358f73","status":"affected"},{"type":"git","introduced":"4a71df50047f0db65ea09b1be155852e81a45eba","fixed":"3083818e67bcd656965797fbac9a3d6c1d44f78a","status":"affected"},{"type":"git","introduced":"4a71df50047f0db65ea09b1be155852e81a45eba","fixed":"a3083647747942ea32faf14560d6397ff3068046","status":"affected"},{"type":"git","introduced":"4a71df50047f0db65ea09b1be155852e81a45eba","fixed":"75fb3151513d7d9f77a8f9545418279b119c06b8","status":"affected"},{"type":"git","introduced":"4a71df50047f0db65ea09b1be155852e81a45eba","fixed":"d141f087b1af656f055d7c5793a3e87817ba0bbe","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.26","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.26","status":"unaffected"},{"type":"semver","introduced":"5.10.266","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.217","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.184","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.153","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.105","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.46","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.10","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9d00eeb2d27f4cc817c5e408760226d43f811ec6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46443eaddebd84c51940857b11787229be169dec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91935843f9396a9e45253e2c0d4337ca1371754b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc423f4105fe145b33e1d7cad34245a798358f73","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3083818e67bcd656965797fbac9a3d6c1d44f78a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3083647747942ea32faf14560d6397ff3068046","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75fb3151513d7d9f77a8f9545418279b119c06b8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d141f087b1af656f055d7c5793a3e87817ba0bbe","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:17:53.198Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80584","url":"https://www.cve.org/CVERecord?id=CVE-2026-80584","licence":"CVE Terms of Use","modified":"2026-10-16T19:26:28.329Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80584","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80584","licence":"Public domain","modified":"2026-10-16T20:18:01.410Z"}],"updatedAt":"2026-11-25T22:59:35.405Z","epss":{"score":0.00132,"percentile":0.0298,"date":"2026-12-01T12:00:22.000Z"}}