ZDI-26-998: Linux Kernel KSMBD SMB Direct Integer Underflow Remote Code Execution Vulnerability
Summary
A Remote Code Execution (RCE) vulnerability has been identified in Linux Kernel KSMBD (ZDI-26-998). This vulnerability allows remote attackers to execute arbitrary code on affected installations of Linux Kernel KSMBD. The CVSS score for this vulnerability is 9.0 (AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H). Only systems with SMB Direct enabled are vulnerable.
Affected Products
- Vendor: Linux
- Product: Kernel KSMBD (with SMB Direct enabled)
Technical Details
The specific flaw exists within the smbdirect_connection_rdma_xmit function. The issue results from the lack of proper validation of user-supplied data, which can result in an integer underflow before writing to memory. Authentication may or may not be required to exploit this vulnerability, depending upon configuration.
Impact
An attacker can leverage this vulnerability to execute code in the context of the kernel.
Mitigation
- Apply the update issued by Linux to correct this vulnerability.
References
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.