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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 05-12-2026)
- Next step: Check applicability: affected before 2ae219762ebac929bf6ab3473681f10ed566af08, 3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d, 411e484fe71a7f1028de617447edad9cb6d9d68a, 65deb18359341141d37dc86fc7853511be3c87a7, bb99866cb1d3d5e8201200a8692fd8da3106a8fd, d837645a719151ed392d4d9cab4571c2753dab12 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-11 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2026-89631, DEBIAN-CVE-2026-89631
- Record: https://cvemate.com/vulnerability/CVE-2026-89631 · JSON: https://cvemate.com/vulnerability/CVE-2026-89631/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.6%, percentile 50.171%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 172)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.115-2 \| \< 7.2.6-1
- debian linux-6.12 (Debian): \< 6.12.115-2~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-151.151 \| \< 7.0.0-42.42
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76 \| \< 7.0.0-1016.17
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-1017.18~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76+fips1

## References (first 20 of 26)

- <https://git.kernel.org/stable/c/3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d>
- <https://git.kernel.org/stable/c/411e484fe71a7f1028de617447edad9cb6d9d68a>
- <https://git.kernel.org/stable/c/65deb18359341141d37dc86fc7853511be3c87a7>
- <https://ubuntu.com/security/CVE-2026-89631>
- <https://www.cve.org/CVERecord?id=CVE-2026-89631>
- <https://git.kernel.org/linus/65deb18359341141d37dc86fc7853511be3c87a7>
- <https://security-tracker.debian.org/tracker/CVE-2026-89631>
- <https://git.kernel.org/stable/c/d837645a719151ed392d4d9cab4571c2753dab12>
- <https://git.kernel.org/stable/c/2ae219762ebac929bf6ab3473681f10ed566af08>
- <https://git.kernel.org/stable/c/bb99866cb1d3d5e8201200a8692fd8da3106a8fd>
- <https://ubuntu.com/security/notices/USN-8959-1>
- <https://ubuntu.com/security/notices/USN-8960-1>
- <https://ubuntu.com/security/notices/USN-9002-1>
- <https://ubuntu.com/security/notices/USN-9020-1>
- <https://ubuntu.com/security/notices/USN-9019-1>
- <https://ubuntu.com/security/notices/USN-9021-1>
- <https://ubuntu.com/security/notices/USN-9160-1>
- <https://ubuntu.com/security/notices/USN-9173-1>
- <https://ubuntu.com/security/notices/USN-9175-1>
- <https://ubuntu.com/security/notices/USN-9174-1>

---

Data as of 2026-12-06T04:32:55.596Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
