CVE-2026-43185
ksmbd: fix signededness bug in smb_direct_prepare_negotiation()
Description
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)
INFO
Published Date :
May 6, 2026, 12:16 p.m.
Last Modified :
Nov. 11, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply the kernel patch to fix signedness bug.
- Replace min_t(int, ...) with min_t(u32).
- Update the Linux kernel.
Public PoC/Exploit Available at Github
CVE-2026-43185 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-43185.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-43185 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-43185
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Tracking CVEs discovered by AI systems — Anthropic, OpenAI, Google Big Sleep, Microsoft MDASH, DepthFirst
Tracking Vulnerabilities That Appear to be Credited to the Anthropic Research Team
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-43185 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-43185 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ksmbd: corrige un error de signo en smb_direct_prepare_negotiation() smb_direct_prepare_negotiation() convierte un valor __u32 sin signo de sp -> max_recv_size y req -> preferred_send_size a un entero con signo antes de calcular min_t(int, ...). Un preferred_send_size proporcionado maliciosamente de 0x 80000000 resultará ser menor que max_recv_size, y luego se utilizará para establecer el tamaño máximo de recepción permitido para el siguiente mensaje. Al enviar un segundo mensaje con un valor grande (mayor que 1420 bytes), el atacante puede entonces lograr un desbordamiento de búfer de pila. Esta corrección reemplaza min_t(int, ...) con min_t(u32) -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 30, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/43xxx/CVE-2026-43185.json">CVE-2026-43185</a> Added Reference https://git.kernel.org/stable/c/1c268fd2f59dc9ccb2c2a7d1f439b232dbe1c06c -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/43xxx/CVE-2026-43185.json">CVE-2026-43185</a> Added Reference https://git.kernel.org/stable/c/55abc475d096da4a5356b6efb0cfdc6156bc1550 Added Reference https://git.kernel.org/stable/c/56eab82fa6fb5ca024b0514e249d40d9b23ee5a7 Added Reference https://git.kernel.org/stable/c/6b4f875aac344cdd52a1f34cc70ed2f874a65757 Added Reference https://git.kernel.org/stable/c/a110dbe928561d440e9e117d17331139a0bedace Added Reference https://git.kernel.org/stable/c/ceae058eb707ddd0d68f0872f9d9f23b7c30c37b Removed Reference https://git.kernel.org/stable/c/55abc475d096da4a5356b6efb0cfdc6156bc1550 Removed Reference https://git.kernel.org/stable/c/6b4f875aac344cdd52a1f34cc70ed2f874a65757 Removed Reference https://git.kernel.org/stable/c/ceae058eb707ddd0d68f0872f9d9f23b7c30c37b Removed Reference Type https://git.kernel.org/stable/c/55abc475d096da4a5356b6efb0cfdc6156bc1550 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/6b4f875aac344cdd52a1f34cc70ed2f874a65757 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/ceae058eb707ddd0d68f0872f9d9f23b7c30c37b Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '0626e6641f6b467447c81dd7678a69c66f7746cf', 'lessThan': 'ceae058eb707ddd0d68f0872f9d9f23b7c30c37b', 'versionType': 'git'}, {'status': 'affected', 'version': '0626e6641f6b467447c81dd7678a69c66f7746cf', 'lessThan': '55abc475d096da4a5356b6efb0cfdc6156bc1550', 'versionType': 'git'}, {'status': 'affected', 'version': '0626e6641f6b467447c81dd7678a69c66f7746cf', 'lessThan': '6b4f875aac344cdd52a1f34cc70ed2f874a65757', 'versionType': 'git'}], 'programFiles': ['fs/smb/server/transport_rdma.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.16', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.6', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/server/transport_rdma.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 11, 2026
Action Type Old Value New Value Added CWE CWE-674 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.6 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15 up to (excluding) 6.18.16 Added Reference Type kernel.org: https://git.kernel.org/stable/c/55abc475d096da4a5356b6efb0cfdc6156bc1550 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6b4f875aac344cdd52a1f34cc70ed2f874a65757 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ceae058eb707ddd0d68f0872f9d9f23b7c30c37b Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 08, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 06, 2026
Action Type Old Value New Value Added Description 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) Added Reference https://git.kernel.org/stable/c/55abc475d096da4a5356b6efb0cfdc6156bc1550 Added Reference https://git.kernel.org/stable/c/6b4f875aac344cdd52a1f34cc70ed2f874a65757 Added Reference https://git.kernel.org/stable/c/ceae058eb707ddd0d68f0872f9d9f23b7c30c37b