CVE-2024-26936
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.8.8, 6.6.29, 6.1.88, 5.15.159 |
| Linux | Linux | 5c20b242d4fed73a93591e48bfd9772e2322fb11, 2c27a64a2bc47d9bfc7c3cf8be14be53b1ee7cb6, 21ff9d7d223c5c19cb4334009e4c0c83a2f4d674 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
| Linux | Linux | 5.15, 0, 5.15.159 |
| Linux | Linux | 6.9, 0, 5.15.159 |
| linux | linux_kernel | 5.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