VDB

CVE-2026-43185

CVE-2026-43185 PUBLISHED CVSS 9.8 CRITICAL

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.

PackageEcosystemFixed in
LinuxLinuxceae058eb707ddd0d68f0872f9d9f23b7c30c37b, 6b4f875aac344cdd52a1f34cc70ed2f874a65757, 55abc475d096da4a5356b6efb0cfdc6156bc1550, 5.15

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.89%
60.2th percentile

Affected products

VendorProductVersions
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf
LinuxLinux5.15, 0, 6.1.191
LinuxLinux7.0, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf
chainguardlinux-azure-6.12*
chainguardlinux-qemu-6.12*
chainguardlinux-vmware-6.12*
chainguardlinux-gcp-6.12*
linuxlinux_kernel5.15, 5.15, 5.15
chainguardlinux-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

References

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