critical · 9.8

ksmbd: fix signededness bug in smb_direct_prepare_negotiation()

CVE-2026-43185 · published 6 May 2026

How serious is it

  • Severity: critical, CVSS score 9.8 out of 10.
  • No exploit prediction (EPSS) score yet.
  • Not on the CISA list of exploited vulnerabilities.
  • No public exploit in Exploit-DB.

Is your app affected by CVE-2026-43185?

Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.

Who is affected

  • Linux Linux: 0626e6641f6b467447c81dd7678a69c66f7746cf to < 56eab82fa6fb5ca024b0514e249d40d9b23ee5a7, 0626e6641f6b467447c81dd7678a69c66f7746cf to < a110dbe928561d440e9e117d17331139a0bedace, 0626e6641f6b467447c81dd7678a69c66f7746cf to < ceae058eb707ddd0d68f0872f9d9f23b7c30c37b, 0626e6641f6b467447c81dd7678a69c66f7746cf to < 55abc475d096da4a5356b6efb0cfdc6156bc1550
  • Linux Linux: 5.15

How to check

  1. Find out whether you run the affected product and which version, then compare it with the versions above.

How to fix

Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
  1. Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
  2. If a vulnerable version was live, check your logs and rotate the secrets that server could read.

The advisory

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)

Check your whole app

Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.

References

Merged from CVE List. Last updated 25 Oct 2026. All vulnerabilities · RSS · JSON