CVE-2026-89631
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 sizet. The later subtraction wraps the _u16
bytesleft, and that is what bounds cifsstrndupfromutf16(): a bound of
up to 65535 against a ~16 KB cifsreqpoolp 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 smbeiotrace entry, which __mode(byte)
cannot represent, so the attribute goes with it.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://git.kernel.org/stable/c/3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d, https://git.kernel.org/stable/c/411e484fe71a7f1028de617447edad9cb6d9d68a, https://git.kernel.org/stable/c/65deb18359341141d37dc86fc7853511be3c87a7, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89631.json, https://nvd.nist.gov/vuln/detail/CVE-2026-89631, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git