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.
Published: 2026-08-15
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in the SMB client stack of the Linux kernel. It arises when the kernel validates the response to a PASSTHRU_FSCTL request. The 32‑bit OutputOffset and qi.input_buffer_length values are added together in 32‑bit arithmetic without checking for overflow. If a malicious SMB server specifies a large offset and a small output count, the wrapped sum can pass the bounds check and the subsequent copy_to_user() will read data beyond the end of the response buffer. The data that the kernel copies into userspace can contain privileged kernel memory, leading to information disclosure. The flaw does not directly allow code execution but can expose sensitive data that may aid further attacks.

Affected Systems

The flaw is present in the Linux kernel, which underlies all Linux‑based systems. The known CNA vendor list indicates the issue affects the Linux operating system kernel itself. No specific upstream version numbers were provided in this advisory, so any kernel build preceding the commit that introduced the fix is potentially vulnerable.

Risk and Exploitability

The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog. The attack vector requires a malicious SMB server to send a crafted PASSTHRU_FSCTL response to a SMB client running on the target system. An attacker with the ability to act as an SMB server can trigger the overflow locally, resulting in an information‑leak that may be exploited as part of a larger compromise. The CVSS score of 8.1 indicates high severity for kernel‑level vulnerabilities. Because the issue resides in kernel code, it poses a moderate to high risk, especially in environments where SMB traffic is allowed from untrusted sources.

Generated by OpenCVE AI on August 17, 2026 at 17:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the fix for the passthrough ioctl overflow.
  • Restrict or disable SMB clients on hosts that do not require SMB traffic.
  • Apply network firewall rules to block inbound SMB connections from untrusted networks.

Generated by OpenCVE AI on August 17, 2026 at 17:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-200

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'}


Sat, 15 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-200

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values 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.
Title smb: client: fix overflow in passthrough ioctl bounds check
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:42:38.636Z

Reserved: 2026-08-09T03:40:39.918Z

Link: CVE-2026-72310

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:03.777

Modified: 2026-08-17T06:18:34.077

Link: CVE-2026-72310

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72310 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T17:15:13Z

Weaknesses