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-89631

smb: client: reject a tree connect response whose byte count is too small
Back to all
CVE

CVE-2026-89631

smb: client: reject a tree connect response whose byte count is too small

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

smb: client: reject a tree connect response whose byte count is too small

CIFSTCon() bounds its strnlen() over the byte area with the server's

ByteCount minus two, which for ByteCount 0 or 1 goes negative as an int

and converts to a huge sizet.  The later subtraction wraps the _u16

bytesleft, and that is what bounds cifsstrndupfromutf16(): a bound of

up to 65535 against a ~16 KB cifsreqpoolp object runs off the end of the

slab object, and the bytes reach userspace through tcon->nativeFileSystem

in /proc/fs/cifs/DebugData.

Reject a byte area too small for what the parser consumes.  Two bytes is

the least it can consume, and no conformant response carries fewer.  The

new trace point is the 129th smbeiotrace entry, which __mode(byte)

cannot represent, so the attribute goes with it.

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.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d, https://git.kernel.org/stable/c/411e484fe71a7f1028de617447edad9cb6d9d68a, https://git.kernel.org/stable/c/65deb18359341141d37dc86fc7853511be3c87a7, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89631.json, https://nvd.nist.gov/vuln/detail/CVE-2026-89631, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.1

CVSS Score
0
10

Basic Information

Base CVSS
9.1
EPSS Probability
0.00632%
EPSS Percentile
0.48693%
Introduced Version
cc20c031bb067eb3280a1c4b5c42295093e24863,2.6.30,6.19.0,0
Fix Available
65deb18359341141d37dc86fc7853511be3c87a7,6.18.51,7.2.4

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading