SB20260507156 - Heap-based buffer overflow in Linux kernel smb server



SB20260507156 - Heap-based buffer overflow in Linux kernel smb server

Published: May 7, 2026

Security Bulletin ID SB20260507156
CSH Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Heap-based buffer overflow (CVE-ID: CVE-2026-43185)

CWE-ID: CWE-122 - Heap-based Buffer Overflow

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber


The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to a heap-based buffer overflow in smb_direct_prepare_negotiation() when processing crafted SMB Direct negotiation messages. A remote attacker can send a crafted preferred_send_size value followed by a large second message to execute arbitrary code.

The issue is triggered by a signedness error that causes a malicious preferred_send_size value of 0x80000000 to be treated as smaller than max_recv_size and used to set the allowed receive size for the next message.


Remediation

Install update from vendor's website.