Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix OOB read/write from unvalidated DataOffset in coalesce_t2()

coalesce_t2() computes data pointers directly from server-supplied
DataOffset fields with no validation against buffer bounds:

data_area_of_tgt = (char *)&pSMBt->hdr.Protocol +
get_unaligned_le16(&pSMBt->t2_rsp.DataOffset);
data_area_of_src = (char *)&pSMBs->hdr.Protocol +
get_unaligned_le16(&pSMBs->t2_rsp.DataOffset);
data_area_of_tgt += total_in_tgt;
...
memcpy(data_area_of_tgt, data_area_of_src, total_in_src);

A small DataOffset can push a pointer below the actual byte area,
overwriting header fields; a large one can push it past the buffer
end, causing out-of-bounds heap reads (source) or writes (target).
The BCC overflow guard does not prevent this: BCC reflects how much
data is present, while DataOffset controls where in the buffer it
starts.

The "validate target area" comment present since the function was
first written in 2005 was a placeholder that was never implemented.

Add lower- and upper-bound checks for both data pointers before the
memcpy, and before any target header fields are modified.
Published: 2026-09-11
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

A flaw in the Linux kernel SMB client has been identified where and target data pointers directly from the DataOffset fields supplied by the SMB server, without validating that the offset lies within the allocated buffer. This lack of bounds checks allows a malicious SMB server to supply a low offset that causes the target pointer to point below the buffer start, overwriting critical header fields, or a large offset that pushes the pointer beyond the buffer end, resulting in out‑of‑bounds memory reads or writes. Such overwrites can corrupt kernel memory or alter control flow, creating a path to arbitrary code execution. The weakness is formally categorized as CWE‑125, an out‑of‑bounds read/write vulnerability.

Affected Systems

All Linux kernel builds that contain the original coalesce_t2() implementation and have not applied the patch are vulnerable. The flaw exists within the SMB client subprocess module, so any distribution that ships the unpatched kernel—whether as a server or host that acts as an SMB client—could be impacted. No specific version numbers are listed, but the presence of the vulnerable code in the core SMB client module covers every mainstream kernel release prior to the fix.

Risk and Exploitability

The malicious exploitation of this defect would require an SMB server that can supply crafted DataOffset values in T2 responses to a target that is acting as an SMB client. The CVSS score of 7.1 indicates a moderate to high severity risk. The EPSS score of 0. indicates a very low likelihood of exploitation and no current reports of public exploitation. Nevertheless, the vulnerability is not listed in CISA’s KEV catalog, a remote SMB connection presents a significant risk on systems that accept connections from non‑trusted networks or the internet.

Generated by OpenCVE AI on September 13, 2026 at 05:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that incorporates the bounds‑checking patch to ensure that DataOffset values are validated before computing buffer pointers in coalesce_t2()
  • If a patch is not immediately available, disable or restrict SMB client functionality on critical hosts to prevent exploitation until the kernel fix can be deployed
  • Use firewall or access‑control rules to limit SMB client traffic to trusted, internal hosts and block connections from untrusted networks
  • Regularly monitor kernel update announcements and test the applied patch in a staging environment before production rollout

Generated by OpenCVE AI on September 13, 2026 at 05:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 12 Sep 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Important


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB read/write from unvalidated DataOffset in coalesce_t2() coalesce_t2() computes data pointers directly from server-supplied DataOffset fields with no validation against buffer bounds: data_area_of_tgt = (char *)&pSMBt->hdr.Protocol + get_unaligned_le16(&pSMBt->t2_rsp.DataOffset); data_area_of_src = (char *)&pSMBs->hdr.Protocol + get_unaligned_le16(&pSMBs->t2_rsp.DataOffset); data_area_of_tgt += total_in_tgt; ... memcpy(data_area_of_tgt, data_area_of_src, total_in_src); A small DataOffset can push a pointer below the actual byte area, overwriting header fields; a large one can push it past the buffer end, causing out-of-bounds heap reads (source) or writes (target). The BCC overflow guard does not prevent this: BCC reflects how much data is present, while DataOffset controls where in the buffer it starts. The "validate target area" comment present since the function was first written in 2005 was a placeholder that was never implemented. Add lower- and upper-bound checks for both data pointers before the memcpy, and before any target header fields are modified.
Title smb: client: fix OOB read/write from unvalidated DataOffset in coalesce_t2()
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-09-11T19:45:28.083Z

Reserved: 2026-09-11T19:38:34.739Z

Link: CVE-2026-89633

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:48.887

Modified: 2026-09-11T20:19:48.887

Link: CVE-2026-89633

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-11T19:45:28Z

Links: CVE-2026-89633 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T05:30:06Z

Weaknesses