CVE-2026-43185
ksmbd: fix signededness bug in smb_direct_prepare_negotiation()
Reported by linux · Published May 6, 2026
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix signededness bug in smb_direct_prepare_negotiation() smb_direct_prepare_negotiation() casts an unsigned __u32 value from sp->max_recv_size and req->preferred_send_size to a signed int before computing min_t(int, ...). A maliciously provided preferred_send_size of 0x80000000 will return as smaller than max_recv_size, and then be used to set the maximum allowed alowed receive size for the next message. By sending a second message with a large value (>1420 bytes) the attacker can then achieve a heap buffer overflow. This fix replaces min_t(int, ...) with min_t(u32)
EPSS 0.89% · 60.2th percentile
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 | Linux | ceae058eb707ddd0d68f0872f9d9f23b7c30c37b, 6b4f875aac344cdd52a1f34cc70ed2f874a65757, 55abc475d096da4a5356b6efb0cfdc6156bc1550, 5.15 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
| Linux | Linux | 5.15, 0, 6.1.191 |
| Linux | Linux | 7.0, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
| chainguard | linux-azure-6.12 | * |
| chainguard | linux-qemu-6.12 | * |
| chainguard | linux-vmware-6.12 | * |
| chainguard | linux-gcp-6.12 | * |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
| chainguard | linux-aws-6.12 | * |
Timeline
- May 6, 2026 CVE Published
- May 6, 2026 Security Advisory (96 in total, the first dated here)
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Aug 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (91 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-43185
vulnetix vdb fixes CVE-2026-43185
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-43185/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart