CVE-2026-89631
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libperf | errata.rockylinux.org | 6.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-modules | errata.rockylinux.org | 6.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-debuginfo | errata.rockylinux.org | 6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.aarch64 |
| kernel-doc | errata.rockylinux.org | 6.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.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel-rt-debug-core | errata.rockylinux.org | 6.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-extra | errata.rockylinux.org | 6.12.0-211.67.1.el10, 0:6.12.0-211.67.1.el10_2.aarch64 |
| kernel-debug-debuginfo | errata.rockylinux.org | 6.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-extra | errata.rockylinux.org | 6.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-debug | errata.rockylinux.org | 4.18.0-553.176.1.el8, 0:4.18.0-553.176.1.el8_10.x86_64 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| python3-perf-debuginfo | errata.rockylinux.org | 6.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
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | cc20c031bb067eb3280a1c4b5c42295093e24863, cc20c031bb067eb3280a1c4b5c42295093e24863, cc20c031bb067eb3280a1c4b5c42295093e24863 |
| Linux | Linux | 2.6.30, 0, 6.1.191 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.12.114-139.210 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| Linux | Linux | 7.3, *, * |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
…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