# CVE-2026-89631: smb: client: reject a tree connect response whose byte count is too small

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.70% (percentile 49, 2026-11-26)
- **Published:** 2026-09-11T19:45:26.444Z
- **Modified:** 2026-10-30T13:20:23.050Z

## Who should check

- Anyone running Linux \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< bb99866cb1d3d5e8201200a8692fd8da3106a8fd; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< d837645a719151ed392d4d9cab4571c2753dab12; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 2ae219762ebac929bf6ab3473681f10ed566af08; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 411e484fe71a7f1028de617447edad9cb6d9d68a; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 65deb18359341141d37dc86fc7853511be3c87a7
- Anyone running Linux 2.6.30

## Description

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 size\_t.  The later subtraction wraps the \_\_u16
bytes\_left, and that is what bounds cifs\_strndup\_from\_utf16(): a bound of
up to 65535 against a ~16 KB cifs\_req\_poolp 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 smb\_eio\_trace entry, which \_\_mode(byte)
cannot represent, so the attribute goes with it.

## Affected and fixed versions

- Linux: \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< bb99866cb1d3d5e8201200a8692fd8da3106a8fd; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< d837645a719151ed392d4d9cab4571c2753dab12; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 2ae219762ebac929bf6ab3473681f10ed566af08; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 411e484fe71a7f1028de617447edad9cb6d9d68a; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 65deb18359341141d37dc86fc7853511be3c87a7 (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- Upgrade Linux to 65deb18359341141d37dc86fc7853511be3c87a7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89631. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89631.md
Affected: Linux >= cc20c031bb067eb3280a1c4b5c42295093e24863, < bb99866cb1d3d5e8201200a8692fd8da3106a8fd; >= cc20c031bb067eb3280a1c4b5c42295093e24863, < d837645a719151ed392d4d9cab4571c2753dab12; >= cc20c031bb067eb3280a1c4b5c42295093e24863, < 2ae219762ebac929bf6ab3473681f10ed566af08; >= cc20c031bb067eb3280a1c4…
Fixed in: Linux 2ae219762ebac929bf6ab3473681f10ed566af08, Linux 3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d, Linux 411e484fe71a7f1028de617447edad9cb6d9d68a, Linux 65deb18359341141d37dc86fc7853511be3c87a7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89631 being exploited?

There is no confirmed exploitation: CVE-2026-89631 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89631?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-89631?

Linux \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< bb99866cb1d3d5e8201200a8692fd8da3106a8fd; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< d837645a719151ed392d4d9cab4571c2753dab12; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 2ae219762ebac929bf6ab3473681f10ed566af08; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 411e484fe71a7f1028de617447edad9cb6d9d68a; \>= cc20c031bb067eb3280a1c4b5c42295093e24863, \< 65deb18359341141d37dc86fc7853511be3c87a7; Linux 2.6.30.

### Is there a fix for CVE-2026-89631?

Yes. Fixed in Linux 2ae219762ebac929bf6ab3473681f10ed566af08, Linux 3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d, Linux 411e484fe71a7f1028de617447edad9cb6d9d68a, Linux 65deb18359341141d37dc86fc7853511be3c87a7. Upgrade Linux to 65deb18359341141d37dc86fc7853511be3c87a7 or later.

### How do I check if I'm affected by CVE-2026-89631?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/bb99866cb1d3d5e8201200a8692fd8da3106a8fd>
- other: <https://git.kernel.org/stable/c/d837645a719151ed392d4d9cab4571c2753dab12>
- other: <https://git.kernel.org/stable/c/2ae219762ebac929bf6ab3473681f10ed566af08>
- other: <https://git.kernel.org/stable/c/3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d>
- other: <https://git.kernel.org/stable/c/411e484fe71a7f1028de617447edad9cb6d9d68a>
- other: <https://git.kernel.org/stable/c/65deb18359341141d37dc86fc7853511be3c87a7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89631>

HTML: <https://flawdb.com/CVE-2026-89631> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89631>
