# CVE-2026-43185: ksmbd: fix signededness bug in smb\_direct\_prepare\_negotiation()

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-05-06 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2026-43185, DEBIAN-CVE-2026-43185, CGA-62jf-87wp-4ppv, CGA-fxm3-4fm2-qf7x, CGA-qwc8-36jw-hm68, CGA-vmqp-j462-8h4m, CGA-wq59-55qm-qh6g
- Record: https://cvemate.com/vulnerability/CVE-2026-43185 · JSON: https://cvemate.com/vulnerability/CVE-2026-43185/json

## Description

```text
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)
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.921%, percentile 61.526%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 155)

- chainguard linux-aws-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-gcp-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-qemu-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-vmware-6.12 (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.115-2 \| \< 6.19.6-1
- debian linux-6.12 (Debian): \< 6.12.115-2~deb12u1
- ubuntu linux (Ubuntu): \< 5.15.0-185.195 \| \< 6.8.0-134.134 \| All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1111.118 \| \< 6.8.0-1060.63 \| All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1111.118~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 23)

- <https://git.kernel.org/stable/c/ceae058eb707ddd0d68f0872f9d9f23b7c30c37b>
- <https://git.kernel.org/stable/c/55abc475d096da4a5356b6efb0cfdc6156bc1550>
- <https://git.kernel.org/stable/c/6b4f875aac344cdd52a1f34cc70ed2f874a65757>
- <https://ubuntu.com/security/CVE-2026-43185>
- <https://www.cve.org/CVERecord?id=CVE-2026-43185>
- <https://git.kernel.org/linus/6b4f875aac344cdd52a1f34cc70ed2f874a65757>
- <https://ubuntu.com/security/notices/USN-8545-1>
- <https://ubuntu.com/security/notices/USN-8546-1>
- <https://ubuntu.com/security/notices/USN-8547-1>
- <https://ubuntu.com/security/notices/USN-8604-1>
- <https://ubuntu.com/security/notices/USN-8605-1>
- <https://ubuntu.com/security/notices/USN-8606-1>
- <https://ubuntu.com/security/notices/USN-8607-1>
- <https://ubuntu.com/security/notices/USN-8609-1>
- <https://ubuntu.com/security/notices/USN-8547-2>
- <https://ubuntu.com/security/notices/USN-8619-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-43185>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43185.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43185>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>

---

Data as of 2026-12-05T05:18:17.037Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
