{"id":"CVE-2026-72310","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-72310","summary":"smb: client: fix overflow in passthrough ioctl bounds check","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix overflow in passthrough ioctl bounds check\n\nsmb2_ioctl_query_info() validates the PASSTHRU_FSCTL response payload\nbefore copying it to userspace.\n\nThe payload offset and length both come from 32-bit fields. The bounds\ncheck currently adds OutputOffset and qi.input_buffer_length directly, so\nthe addition can wrap in 32-bit arithmetic before the result is compared\nagainst the response buffer length.\n\nA malicious server can use a large OutputOffset and a small OutputCount\nto make the wrapped sum pass the bounds check. The later copy_to_user()\nthen reads from io_rsp + OutputOffset, outside the response buffer.\n\nUse size_add() for the offset plus length check so overflow is treated as\nout of bounds.","published":"2026-08-15T05:55:26.539Z","modified":"2026-08-18T03:56:55.584075840Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Linux","name":"Kernel","fixedVersion":"5.10.261"}],"fix":null,"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/160045fc943f6c46b227644261252c8a22b8a87a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1627e7d5c9b09721a141d07cedb178882f1ded67"},{"type":"WEB","url":"https://git.kernel.org/stable/c/175357ee0c596cb82054650dfa32fda51ad35aaa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1a638c55f2db6cb2296e5e3138015dd8fd9d4aa9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63feb687e89a3a52a31e6e01764117cc500f1974"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4f27ad055392fa164f5649e89a3637b033c5fcc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b30771b69eafae750afb7385fbcc3d77ed3f3670"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dbd126539c098dba3159ce7d34b10b2daddcbd0f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72310.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72310"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-18T03:56:55.584075840Z"}}