CVE-2026-43185

CriticalCVSS 9.8/10Last modified Oct 21, 2026

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)

Metrics

CVSS 3.1 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 56eab82fa6fb5ca024b0514e249d40d9b23ee5a7; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < a110dbe928561d440e9e117d17331139a0bedace; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < ceae058eb707ddd0d68f0872f9d9f23b7c30c37b; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 55abc475d096da4a5356b6efb0cfdc6156bc1550; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6b4f875aac344cdd52a1f34cc70ed2f874a65757
LinuxLinux5.15

References

Timeline

Published
May 6, 2026
Last modified
Oct 21, 2026
NVD status
Modified

Related CVEs from 2026

CVE-2026-431869.8In the Linux kernel, the following vulnerability has been resolved: ipv6: ioam: fix heap buffer overflow in __ioam6_fill_trace_data() On tCVE-2026-431878.8In the Linux kernel, the following vulnerability has been resolved: xfs: delete attr leaf freemap entries when empty Back in commit 2a2b59CVE-2026-431885.5In the Linux kernel, the following vulnerability has been resolved: ceph: do not propagate page array emplacement errors as batch errors WCVE-2026-431895.5In the Linux kernel, the following vulnerability has been resolved: media: v4l2-async: Fix error handling on steps after finding a match OCVE-2026-43199.8A vulnerability was identified in code-projects Simple Food Order System 1.0. Affected by this vulnerability is an unknown functionality of CVE-2026-431908.2In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_tcpmss: check remaining length before reading optlen QuoCVE-2026-431915.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Adjust PHY FSM transition to TX_EN-to-PLL_ON for TMDS CVE-2026-431925.5In the Linux kernel, the following vulnerability has been resolved: dm mpath: Add missing dm_put_device when failing to get scsi dh name WCVE-2026-431935.5In the Linux kernel, the following vulnerability has been resolved: nfsd: fix nfs4_file refcount leak in nfsd_get_dir_deleg() Claude pointCVE-2026-431947.5In the Linux kernel, the following vulnerability has been resolved: net: consume xmit errors of GSO frames udpgro_frglist.sh and udpgro_beCVE-2026-431955.5In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: validate user queue size constraints Add validation to ensCVE-2026-431967.8In the Linux kernel, the following vulnerability has been resolved: soc: ti: pruss: Fix double free in pruss_clk_mux_setup() In the pruss_