{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99388","id":"CVE-2026-99388","title":"smb: smbdirect: fix buffer length underflow in RDMA transfers","description":"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 descr","descriptionLong":"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.","published":"2026-11-19T14:23:27.698Z","updated":"2026-11-19T14:23:27.698Z","reserved":"2026-09-25T10:25:14.412Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e628bf939aafb61fbc56e9bdac8795cea5127e25","lessThan":"5072f32330c71de91c1a844e7becaee48d743561","status":"affected","versionType":"git"},{"version":"e628bf939aafb61fbc56e9bdac8795cea5127e25","lessThan":"1f5c774488fa2dabe6667cb26888aaea39c4ead6","status":"affected","versionType":"git"},{"version":"e628bf939aafb61fbc56e9bdac8795cea5127e25","lessThan":"956968544ae647aa9a9534b58735f47922c85d44","status":"affected","versionType":"git"},{"version":"e628bf939aafb61fbc56e9bdac8795cea5127e25","lessThan":"7193241a49c958782ba4b8df06da3734d1e317d2","status":"affected","versionType":"git"},{"version":"c5aa74449a41d9c10900d82d2c2e62d5462ef932","status":"affected","versionType":"git"},{"version":"cf859267e639cff1f525bd050f370ea752cc25f7","status":"affected","versionType":"git"},{"version":"1c660940f525279bb23b5d99a591535e7c359efe","status":"affected","versionType":"git"},{"version":"ebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a","status":"affected","versionType":"git"},{"version":"5.15.145","lessThan":"5.16","status":"affected","versionType":"semver"},{"version":"6.1.52","lessThan":"6.2","status":"affected","versionType":"semver"},{"version":"6.4.15","lessThan":"6.5","status":"affected","versionType":"semver"},{"version":"6.5.2","lessThan":"6.6","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"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":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99388","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99388","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99388","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99388","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}