CVE-2026-43185CWE-674

CVE-2026-43185

Critical · published May 6, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
53.6
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00726 · 53.6th percentile
Weakness
CWE-674 · Uncontrolled Recursion
Published
2026-05-06T16:16Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 6.18.166.18.16
linux/linux_kernel≥ 6.19, < 6.19.66.19.6
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 06 MAY 11:27Z
    ksmbd: fix signededness bug in smb_direct_prepare_negotiation()
    cvelistv5