{"id":"CVE-2026-99388","published":"2026-11-19T14:23:27Z","modified":"2026-11-22T11:08:01Z","title":"smb: smbdirect: fix buffer length underflow in RDMA transfers","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: smbdirect: fix buffer length underflow in RDMA transfers\n\nWhen a remote buffer descriptor is larger than the remaining local\nbuffer, smbdirect_connection_rdma_xmit() clamps its length and sets\nbuf_len to zero. The common accounting code then subtracts the clamped\nlength from buf_len, causing it to underflow. If another descriptor\nfollows, the loop processes it with a wrapped remaining length and\nincludes memory beyond the local buffer in the RDMA transfer.\n\nA client can trigger an out-of-bounds kernel write with an SMB WRITE\nrequest, or an out-of-bounds kernel read with an SMB READ request, by\nsupplying multiple RDMA buffer descriptors with an oversized descriptor\nbefore the last one.\n\nRemove the premature assignment to buf_len. Subtracting the clamped length\nalready consumes the remaining buffer, so the next iteration stops and\nonly descriptors within the local buffer are used to build work requests.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00711,"percentile":0.54478,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5072f32330c71de91c1a844e7becaee48d743561","tags":[]},{"url":"https://git.kernel.org/stable/c/1f5c774488fa2dabe6667cb26888aaea39c4ead6","tags":[]},{"url":"https://git.kernel.org/stable/c/956968544ae647aa9a9534b58735f47922c85d44","tags":[]},{"url":"https://git.kernel.org/stable/c/7193241a49c958782ba4b8df06da3734d1e317d2","tags":[]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":10.9},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 5072f32330c71de91c1a844e7becaee48d743561",">= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 1f5c774488fa2dabe6667cb26888aaea39c4ead6",">= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 956968544ae647aa9a9534b58735f47922c85d44",">= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 7193241a49c958782ba4b8df06da3734d1e317d2","c5aa74449a41d9c10900d82d2c2e62d5462ef932","cf859267e639cff1f525bd050f370ea752cc25f7","1c660940f525279bb23b5d99a591535e7c359efe","ebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a",">= 5.15.145, < 5.16",">= 6.1.52, < 6.2"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"euvd":{"id":"EUVD-2026-130046","exploited":false,"provenance":"source"}}