Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-89633

smb: client: fix OOB read/write from unvalidated DataOffset in coalesce_t2()
Back to all
CVE

CVE-2026-89633

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

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:

  dataareaof_tgt = (char *)&pSMBt->hdr.Protocol +

                     getunalignedle16(&pSMBt->t2_rsp.DataOffset);

  dataareaof_src = (char *)&pSMBs->hdr.Protocol +

                     getunalignedle16(&pSMBs->t2_rsp.DataOffset);

  dataareaoftgt += totalin_tgt;

  ...

  memcpy(dataareaoftgt, dataareaofsrc, totalinsrc);

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/033bc80019f07d158630df4e69b19a49010f54f1, https://git.kernel.org/stable/c/6343c1da561962688f203362d80d6a3bfa39fa1b, https://git.kernel.org/stable/c/672cf86aa6aa0fb4012ce4c3b3498df42ad67a4e, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89633.json, https://nvd.nist.gov/vuln/detail/CVE-2026-89633, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00649%
EPSS Percentile
0.49546%
Introduced Version
e4eb295d38b57f4d4b956942a48887eb252d97c6,2.6.12,6.19.0,0
Fix Available
6343c1da561962688f203362d80d6a3bfa39fa1b,6.18.51,7.2.4

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading