CVE Database›Document archive›CVE-2026-43185

CVE-2026-43185

kernel: ksmbd: fix signededness bug in smb_direct_prepare_negotiation()

Loading…

Severity

Important

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · May 6, 2026

Updated · October 20, 2026

Description

A flaw was found in ksmbd within the Linux kernel. A remote attacker can exploit a signedness bug in the smb_direct_prepare_negotiation() function by sending a specially crafted preferred_send_size value during SMB direct negotiation. This manipulation leads to an incorrect size calculation, allowing a subsequent large message to trigger a heap buffer overflow. A successful exploit could result in arbitrary code execution or a denial of service.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE-681 · Incorrect Conversion between Numeric Types