{"id":"CVE-2026-72310","aliases":["CVE-2026-72310"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: fix overflow in passthrough ioctl bounds check","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-15T05:55:26.539Z","modified":"2026-10-16T19:17:21.573Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2b1116bbe898aefdf584838448c6869f69851e0f","fixed":"175357ee0c596cb82054650dfa32fda51ad35aaa","status":"affected"},{"type":"git","introduced":"2b1116bbe898aefdf584838448c6869f69851e0f","fixed":"dbd126539c098dba3159ce7d34b10b2daddcbd0f","status":"affected"},{"type":"git","introduced":"2b1116bbe898aefdf584838448c6869f69851e0f","fixed":"63feb687e89a3a52a31e6e01764117cc500f1974","status":"affected"},{"type":"git","introduced":"2b1116bbe898aefdf584838448c6869f69851e0f","fixed":"160045fc943f6c46b227644261252c8a22b8a87a","status":"affected"},{"type":"git","introduced":"2b1116bbe898aefdf584838448c6869f69851e0f","fixed":"b30771b69eafae750afb7385fbcc3d77ed3f3670","status":"affected"},{"type":"git","introduced":"2b1116bbe898aefdf584838448c6869f69851e0f","fixed":"1627e7d5c9b09721a141d07cedb178882f1ded67","status":"affected"},{"type":"git","introduced":"2b1116bbe898aefdf584838448c6869f69851e0f","fixed":"1a638c55f2db6cb2296e5e3138015dd8fd9d4aa9","status":"affected"},{"type":"git","introduced":"2b1116bbe898aefdf584838448c6869f69851e0f","fixed":"a4f27ad055392fa164f5649e89a3637b033c5fcc","status":"affected"},{"type":"git","version":"2005c32ec99ee2490e8131b3953f3f212009ffea","status":"affected"},{"type":"semver","introduced":"5.4.69","fixed":"5.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","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/175357ee0c596cb82054650dfa32fda51ad35aaa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dbd126539c098dba3159ce7d34b10b2daddcbd0f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63feb687e89a3a52a31e6e01764117cc500f1974","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/160045fc943f6c46b227644261252c8a22b8a87a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b30771b69eafae750afb7385fbcc3d77ed3f3670","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1627e7d5c9b09721a141d07cedb178882f1ded67","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a638c55f2db6cb2296e5e3138015dd8fd9d4aa9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4f27ad055392fa164f5649e89a3637b033c5fcc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T18:46:23.070Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72310","url":"https://www.cve.org/CVERecord?id=CVE-2026-72310","licence":"CVE Terms of Use","modified":"2026-10-16T18:55:16.690Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72310","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72310","licence":"Public domain","modified":"2026-10-16T19:17:21.573Z"}],"updatedAt":"2026-11-25T22:59:33.077Z","epss":{"score":0.00643,"percentile":0.52156,"date":"2026-12-01T12:00:22.000Z"}}