CVE-2026-64381
smb: client: Fix next buffer leak in receive_encrypted_standard()
Reported by linux · Published July 25, 2026
In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix next buffer leak in receive_encrypted_standard() receive_encrypted_standard() allocates next_buffer before checking whether the number of compound PDUs already reached MAX_COMPOUND. If the limit check fails, the function returns immediately and the newly allocated next_buffer is not assigned to server->smallbuf/server->bigbuf, making it leaked. Move the MAX_COMPOUND check before allocating next_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 |
|---|---|---|
| python3-perf6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel-livepatch-6.1.180-225.360 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| linux_kernel | linux | 7.1.4, 6.18.39, 6.12.96, 6.6.145, 6.1.178, 5.15.212, 5.10.261 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b24df3e30cbf48255db866720fb71f14bf9d2f39, b24df3e30cbf48255db866720fb71f14bf9d2f39, b24df3e30cbf48255db866720fb71f14bf9d2f39 |
| Linux | Linux | 4.19, 0, 5.10.261 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.180-225.360 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| linux | linux_kernel | 4.19, 4.19, 4.19 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
…and 18 more
Timeline
- Jul 25, 2026 EPSS Score (8 in total, the first dated here)
- Jul 25, 2026 Coalition ESS Score
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 9, 2026 CVE Updated
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64381
vulnetix vdb fixes CVE-2026-64381
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-2026-64381/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart