{"id":"CVE-2026-89631","published":"2026-09-11T19:45:26Z","modified":"2026-10-30T12:32:21Z","title":"smb: client: reject a tree connect response whose byte count is too small","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: reject a tree connect response whose byte count is too small\n\nCIFSTCon() bounds its strnlen() over the byte area with the server's\nByteCount minus two, which for ByteCount 0 or 1 goes negative as an int\nand converts to a huge size_t.  The later subtraction wraps the __u16\nbytes_left, and that is what bounds cifs_strndup_from_utf16(): a bound of\nup to 65535 against a ~16 KB cifs_req_poolp object runs off the end of the\nslab object, and the bytes reach userspace through tcon->nativeFileSystem\nin /proc/fs/cifs/DebugData.\n\nReject a byte area too small for what the parser consumes.  Two bytes is\nthe least it can consume, and no conformant response carries fewer.  The\nnew trace point is the 129th smb_eio_trace entry, which __mode(byte)\ncannot represent, so the attribute goes with it.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.006,"percentile":0.49629,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/bb99866cb1d3d5e8201200a8692fd8da3106a8fd","tags":[]},{"url":"https://git.kernel.org/stable/c/d837645a719151ed392d4d9cab4571c2753dab12","tags":[]},{"url":"https://git.kernel.org/stable/c/2ae219762ebac929bf6ab3473681f10ed566af08","tags":[]},{"url":"https://git.kernel.org/stable/c/3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d","tags":[]},{"url":"https://git.kernel.org/stable/c/411e484fe71a7f1028de617447edad9cb6d9d68a","tags":[]},{"url":"https://git.kernel.org/stable/c/65deb18359341141d37dc86fc7853511be3c87a7","tags":[]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":9.93},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= cc20c031bb067eb3280a1c4b5c42295093e24863, < bb99866cb1d3d5e8201200a8692fd8da3106a8fd",">= cc20c031bb067eb3280a1c4b5c42295093e24863, < d837645a719151ed392d4d9cab4571c2753dab12",">= cc20c031bb067eb3280a1c4b5c42295093e24863, < 2ae219762ebac929bf6ab3473681f10ed566af08",">= cc20c031bb067eb3280a1c4b5c42295093e24863, < 3be89e8039a85fa3b6cd5f9dcc4c1459eb356c2d",">= cc20c031bb067eb3280a1c4b5c42295093e24863, < 411e484fe71a7f1028de617447edad9cb6d9d68a",">= cc20c031bb067eb3280a1c4b5c42295093e24863, < 65deb18359341141d37dc86fc7853511be3c87a7"]},{"vendor":"Linux","product":"Linux","versions":["2.6.30"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-16T19:24:39.378892Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-76543","exploited":false,"provenance":"source"}}