CVE-2026-43185

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)
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) 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)

30 Oct 2026, 13:18

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/1c268fd2f59dc9ccb2c2a7d1f439b232dbe1c06c -

21 Oct 2026, 13:18

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/56eab82fa6fb5ca024b0514e249d40d9b23ee5a7 -
  • () https://git.kernel.org/stable/c/a110dbe928561d440e9e117d17331139a0bedace -

Information

Published : 2026-05-06 12:16

Updated : 2026-11-11 20:10


NVD link : CVE-2026-43185

Mitre link : CVE-2026-43185

CVE.ORG link : CVE-2026-43185


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-674

Uncontrolled Recursion