CVE-2026-89631
smb: client: reject a tree connect response whose byte count is too small
Check your servers for CVE-2026-89631
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89631 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.60%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 50.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cc20c031bb067eb3280a1c4b5c42295093e24863, before bb99866cb1d3d5e8201200a8692fd8da3106a8fd affected from cc20c031bb067eb3280a1c4b5c42295093e24863, before d837645a719151ed392d4d9cab4571c2753dab12 affected from cc20c031bb067eb3280a1c4b5c42295093e24863, before 2ae219762ebac929bf6ab3473681f10ed566af08 affected from cc20c031bb067eb3280a1c4b5c42295093e24863, before 3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d affected from cc20c031bb067eb3280a1c4b5c42295093e24863, before 411e484fe71a7f1028de617447edad9cb6d9d68a affected from cc20c031bb067eb3280a1c4b5c42295093e24863, before 65deb18359341141d37dc86fc7853511be3c87a7
Other versions: unaffected
|
| Linux |
affected 2.6.30 unaffected before 2.6.30 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.51 up to and including 6.18.* unaffected from 7.2.4 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89631 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89631
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89631
trivy image --scanners vuln IMAGE | grep CVE-2026-89631
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/bb99866cb1d3d5e8201200a8692fd8da3106a8fd git.kernel.org
- https://git.kernel.org/stable/c/d837645a719151ed392d4d9cab4571c2753dab12 git.kernel.org
- https://git.kernel.org/stable/c/2ae219762ebac929bf6ab3473681f10ed566af08 git.kernel.org
- https://git.kernel.org/stable/c/3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d git.kernel.org
- https://git.kernel.org/stable/c/411e484fe71a7f1028de617447edad9cb6d9d68a git.kernel.org
- https://git.kernel.org/stable/c/65deb18359341141d37dc86fc7853511be3c87a7 git.kernel.org
Source: the record CVE-2026-89631 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse