Body Background
TrendAI™ Zero Day Initiative™ Logo

Linux Kernel ksmbd Session Race Condition Remote Code Execution Vulnerability

May 17th, 2023

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability, but only systems with ksmbd enabled are vulnerable.

The specific flaw exists within the processing of SMB2_SESSION_SETUP and SMB2_LOGOFF commands. The issue results from the lack of proper locking when performing operations on an object. An attacker can leverage this vulnerability to execute code in the context of the kernel.

Additional Details

Linux has issued an update to correct this vulnerability. More details can be found at:
https://github.com/torvalds/linux/commit/f5c779b7ddbda30866cf2a27c63e34158f858c73

Disclosure Timeline

  • 2023-04-27 - Vulnerability reported to vendor
  • 2023-05-17 - Coordinated public release of advisory

Credit

Quentin Minster (@thalium_team)

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.