VDB

CVE-2024-26936

CVE-2024-26936 PUBLISHED CVSS 8.2 HIGH

ksmbd: validate request buffer size in smb2_allocate_rsp_buf()

Reported by linux · Published May 1, 2024

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate request buffer size in smb2_allocate_rsp_buf() The response buffer should be allocated in smb2_allocate_rsp_buf before validating request. But the fields in payload as well as smb2 header is used in smb2_allocate_rsp_buf(). This patch add simple buffer size validation to avoid potencial out-of-bounds in request buffer.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.8.8, 6.6.29, 6.1.88, 5.15.159
LinuxLinux5c20b242d4fed73a93591e48bfd9772e2322fb11, 2c27a64a2bc47d9bfc7c3cf8be14be53b1ee7cb6, 21ff9d7d223c5c19cb4334009e4c0c83a2f4d674

Risk scores

CVSS 3.1
8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf
LinuxLinux5.15, 0, 5.15.159
LinuxLinux6.9, 0, 5.15.159
linuxlinux_kernel5.15, 5.15, 5.15

Timeline

  • May 1, 2024 EPSS Score (30 in total, the first dated here)
  • May 1, 2024 CVE Published
  • Oct 4, 2024 Coalition ESS Score (27 in total, the first dated here)
  • Jan 15, 2026 Security Advisory (316 in total, the first dated here)
  • Jan 15, 2026 CVE Updated
  • Mar 30, 2026 Distribution Patch (278 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26936
vulnetix vdb fixes CVE-2024-26936

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26936/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›