CVE-2026-72310
smb: client: fix overflow in passthrough ioctl bounds check
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix overflow in passthrough ioctl bounds check smb2_ioctl_query_info() validates the PASSTHRU_FSCTL response payload before copying it to userspace. The payload offset and length both come from 32-bit fields. The bounds check currently adds OutputOffset and qi.input_buffer_length directly, so the addition can wrap in 32-bit arithmetic before the result is compared against the response buffer length. A malicious server can use a large OutputOffset and a small OutputCount to make the wrapped sum pass the bounds check. The later copy_to_user() then reads from io_rsp + OutputOffset, outside the response buffer. Use size_add() for the offset plus length check so overflow is treated as out of bounds.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel.
- Ensure size_add() is used for offset and length checks.
- Validate all user-supplied data rigorously.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72310.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72310 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72310
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72310 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72310 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '175357ee0c596cb82054650dfa32fda51ad35aaa', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': 'dbd126539c098dba3159ce7d34b10b2daddcbd0f', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '63feb687e89a3a52a31e6e01764117cc500f1974', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '160045fc943f6c46b227644261252c8a22b8a87a', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': 'b30771b69eafae750afb7385fbcc3d77ed3f3670', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '1627e7d5c9b09721a141d07cedb178882f1ded67', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '1a638c55f2db6cb2296e5e3138015dd8fd9d4aa9', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': 'a4f27ad055392fa164f5649e89a3637b033c5fcc', 'versionType': 'git'}, {'status': 'affected', 'version': '2005c32ec99ee2490e8131b3953f3f212009ffea', 'versionType': 'git'}, {'status': 'affected', 'version': '5.4.69', 'lessThan': '5.5', 'versionType': 'semver'}], 'programFiles': ['fs/smb/client/smb2ops.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/client/smb2ops.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '175357ee0c596cb82054650dfa32fda51ad35aaa', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': 'dbd126539c098dba3159ce7d34b10b2daddcbd0f', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '63feb687e89a3a52a31e6e01764117cc500f1974', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '160045fc943f6c46b227644261252c8a22b8a87a', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': 'b30771b69eafae750afb7385fbcc3d77ed3f3670', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '1627e7d5c9b09721a141d07cedb178882f1ded67', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '1a638c55f2db6cb2296e5e3138015dd8fd9d4aa9', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': 'a4f27ad055392fa164f5649e89a3637b033c5fcc', 'versionType': 'git'}, {'status': 'affected', 'version': '2005c32ec99ee2490e8131b3953f3f212009ffea', 'versionType': 'git'}, {'status': 'affected', 'version': '5.4.69', 'lessThan': '5.5', 'versionType': 'semver'}], 'programFiles': ['fs/smb/client/smb2ops.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/client/smb2ops.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '175357ee0c596cb82054650dfa32fda51ad35aaa', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': 'dbd126539c098dba3159ce7d34b10b2daddcbd0f', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '63feb687e89a3a52a31e6e01764117cc500f1974', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '160045fc943f6c46b227644261252c8a22b8a87a', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': 'b30771b69eafae750afb7385fbcc3d77ed3f3670', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '1627e7d5c9b09721a141d07cedb178882f1ded67', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': '1a638c55f2db6cb2296e5e3138015dd8fd9d4aa9', 'versionType': 'git'}, {'status': 'affected', 'version': '2b1116bbe898aefdf584838448c6869f69851e0f', 'lessThan': 'a4f27ad055392fa164f5649e89a3637b033c5fcc', 'versionType': 'git'}, {'status': 'affected', 'version': '2005c32ec99ee2490e8131b3953f3f212009ffea', 'versionType': 'git'}, {'status': 'affected', 'version': '5.4.69', 'lessThan': '5.5', 'versionType': 'semver'}], 'programFiles': ['fs/smb/client/smb2ops.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/client/smb2ops.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: smb: client: fix overflow in passthrough ioctl bounds check smb2_ioctl_query_info() validates the PASSTHRU_FSCTL response payload before copying it to userspace. The payload offset and length both come from 32-bit fields. The bounds check currently adds OutputOffset and qi.input_buffer_length directly, so the addition can wrap in 32-bit arithmetic before the result is compared against the response buffer length. A malicious server can use a large OutputOffset and a small OutputCount to make the wrapped sum pass the bounds check. The later copy_to_user() then reads from io_rsp + OutputOffset, outside the response buffer. Use size_add() for the offset plus length check so overflow is treated as out of bounds. Added Reference https://git.kernel.org/stable/c/160045fc943f6c46b227644261252c8a22b8a87a Added Reference https://git.kernel.org/stable/c/1627e7d5c9b09721a141d07cedb178882f1ded67 Added Reference https://git.kernel.org/stable/c/175357ee0c596cb82054650dfa32fda51ad35aaa Added Reference https://git.kernel.org/stable/c/1a638c55f2db6cb2296e5e3138015dd8fd9d4aa9 Added Reference https://git.kernel.org/stable/c/63feb687e89a3a52a31e6e01764117cc500f1974 Added Reference https://git.kernel.org/stable/c/a4f27ad055392fa164f5649e89a3637b033c5fcc Added Reference https://git.kernel.org/stable/c/b30771b69eafae750afb7385fbcc3d77ed3f3670 Added Reference https://git.kernel.org/stable/c/dbd126539c098dba3159ce7d34b10b2daddcbd0f