{"id":"CVE-2026-99388","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-19T15:17:51.087","lastModified":"2026-11-23T08:17:43.523","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/smb/smbdirect/rw.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"c5aa74449a41d9c10900d82d2c2e62d5462ef932","lessThan":"94b94000981c56aa01e9ca2b411dff15600c079c","versionType":"git","status":"affected"},{"version":"cf859267e639cff1f525bd050f370ea752cc25f7","lessThan":"2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76","versionType":"git","status":"affected"},{"version":"e628bf939aafb61fbc56e9bdac8795cea5127e25","lessThan":"a1a44af9fd0555755a81ca0c201f681572471d05","versionType":"git","status":"affected"},{"version":"e628bf939aafb61fbc56e9bdac8795cea5127e25","lessThan":"5072f32330c71de91c1a844e7becaee48d743561","versionType":"git","status":"affected"},{"version":"e628bf939aafb61fbc56e9bdac8795cea5127e25","lessThan":"1f5c774488fa2dabe6667cb26888aaea39c4ead6","versionType":"git","status":"affected"},{"version":"e628bf939aafb61fbc56e9bdac8795cea5127e25","lessThan":"956968544ae647aa9a9534b58735f47922c85d44","versionType":"git","status":"affected"},{"version":"e628bf939aafb61fbc56e9bdac8795cea5127e25","lessThan":"7193241a49c958782ba4b8df06da3734d1e317d2","versionType":"git","status":"affected"},{"version":"1c660940f525279bb23b5d99a591535e7c359efe","versionType":"git","status":"affected"},{"version":"ebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a","versionType":"git","status":"affected"},{"version":"5.15.145","lessThan":"5.15.226","versionType":"semver","status":"affected"},{"version":"6.1.52","lessThan":"6.1.193","versionType":"semver","status":"affected"},{"version":"6.4.15","lessThan":"6.5","versionType":"semver","status":"affected"},{"version":"6.5.2","lessThan":"6.6","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/smb/smbdirect/rw.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/1f5c774488fa2dabe6667cb26888aaea39c4ead6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5072f32330c71de91c1a844e7becaee48d743561","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7193241a49c958782ba4b8df06da3734d1e317d2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/94b94000981c56aa01e9ca2b411dff15600c079c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/956968544ae647aa9a9534b58735f47922c85d44","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a1a44af9fd0555755a81ca0c201f681572471d05","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}