# ksmbd: fix signededness bug in smb_direct_prepare_negotiation()

CVE record · `CVE-2026-43185`

- **Identifiers:** `CVE-2026-43185`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 6 May 2026
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 6 May 2026, 11:27 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 1c268fd2f59dc9ccb2c2a7d1f439b232dbe1c06c` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 56eab82fa6fb5ca024b0514e249d40d9b23ee5a7` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before a110dbe928561d440e9e117d17331139a0bedace` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before ceae058eb707ddd0d68f0872f9d9f23b7c30c37b` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 55abc475d096da4a5356b6efb0cfdc6156bc1550` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 6b4f875aac344cdd52a1f34cc70ed2f874a65757` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15`
  - unaffected: `before 5.15` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.160 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.114 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.16 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.6 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> CVE-2026-43185 affects the Linux kernel's ksmbd SMB server component in multiple version ranges, with fixes listed for several stable branches (6.1.191, 6.6.160, 6.12.114, 6.18.16) and 5.15 listed as affected. The flaw is a signedness error in smb_direct_prepare_negotiation() that lets a crafted negotiation value produce a heap buffer overflow when a second large message is sent. The source does not state the required access level, but the CVSS score is 9.8 (critical). Upgrade to a fixed kernel version for your branch.

Written 12 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0089, the 59th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 6 May 2026, 12:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-43185)

## Sources

- [CVE List: CVE-2026-43185](https://www.cve.org/CVERecord?id=CVE-2026-43185)
- [NVD: CVE-2026-43185](https://nvd.nist.gov/vuln/detail/CVE-2026-43185)

### References from the CNA

- <https://git.kernel.org/stable/c/1c268fd2f59dc9ccb2c2a7d1f439b232dbe1c06c>
- <https://git.kernel.org/stable/c/56eab82fa6fb5ca024b0514e249d40d9b23ee5a7>
- <https://git.kernel.org/stable/c/a110dbe928561d440e9e117d17331139a0bedace>
- <https://git.kernel.org/stable/c/ceae058eb707ddd0d68f0872f9d9f23b7c30c37b>
- <https://git.kernel.org/stable/c/55abc475d096da4a5356b6efb0cfdc6156bc1550>
- <https://git.kernel.org/stable/c/6b4f875aac344cdd52a1f34cc70ed2f874a65757>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-43185>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-43185/>. Everything for agents: <https://agentprime.io/llms.txt>.
