VDB

CVE-2026-89631

CVE-2026-89631 PUBLISHED CVSS 9.1 CRITICAL

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

Reported by linux · Published September 11, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libperferrata.rockylinux.org6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.x86_64, 0:6.12.0-211.67.1.el10_2.s390x, 0:6.12.0-211.67.1.el10_2.ppc64le, 0:6.12.0-211.67.1.el10_2.aarch64
kernel-moduleserrata.rockylinux.org6.12.0-211.67.1.el10, 4.18.0-553.176.1.el8, 0:6.12.0-211.67.1.el10_2.ppc64le, 0:6.12.0-211.67.1.el10_2.aarch64, 0:4.18.0-553.176.1.el8_10.x86_64, 0:4.18.0-553.176.1.el8_10.aarch64
kernel-rt-64k-debug-debuginfoerrata.rockylinux.org6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.aarch64
kernel-docerrata.rockylinux.org6.12.0-211.67.1.el10, 4.18.0-553.176.1.el8, 0:6.12.0-211.67.1.el10_2.noarch, 0:4.18.0-553.176.1.el8_10.noarch
bpftool6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel-rt-debug-coreerrata.rockylinux.org6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.x86_64, 0:6.12.0-211.67.1.el10_2.aarch64
kernel-64k-debug-modules-extraerrata.rockylinux.org6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.aarch64
kernel-debug-debuginfoerrata.rockylinux.org6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.s390x, 0:6.12.0-211.67.1.el10_2.aarch64
kernel-debug-modules-extraerrata.rockylinux.org6.12.0-211.67.1.el10, 4.18.0-553.176.1.el8, 0:6.12.0-211.67.1.el10_2.ppc64le, 0:4.18.0-553.176.1.el8_10.x86_64
kernel-debugerrata.rockylinux.org4.18.0-553.176.1.el8, 0:4.18.0-553.176.1.el8_10.x86_64
kernel6.18-tools-develAmazon Linux1:6.18.51-120.162.amzn2023
python3-perf-debuginfoerrata.rockylinux.org6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.x86_64, 0:6.12.0-211.67.1.el10_2.ppc64le, 0:6.12.0-211.67.1.el10_2.aarch64

51 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxcc20c031bb067eb3280a1c4b5c42295093e24863, cc20c031bb067eb3280a1c4b5c42295093e24863, cc20c031bb067eb3280a1c4b5c42295093e24863
LinuxLinux2.6.30, 0, 6.1.191
amazon:2023bpftool6.120
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-livepatch-6.12.114-139.2100
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-headers0
amazon:2023perf6.180
amazon:2023python3-perf6.180
LinuxLinux7.3, *, *
amazon:2023kernel6.12-modules-extra0
amazon:2023perf6.120
amazon:2023kernel6.18-devel0
amazon:2023bpftool6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.120
amazon:2023kernel6.12-tools0

…and 7 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (30 in total, the first dated here)
  • Oct 20, 2026 Distribution Patch (8 in total, the first dated here)
  • Oct 20, 2026 Security Advisory (6 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89631
vulnetix vdb fixes CVE-2026-89631

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89631/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›