Body Background
TrendAI™ Zero Day Initiative™ Logo

Linux Kernel ksmbd Use-After-Free Remote Code Execution Vulnerability

December 22nd, 2022

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_TREE_DISCONNECT commands. The issue results from the lack of validating the existence of an object prior to performing operations on the 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://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.61

Disclosure Timeline

  • 2022-07-26 - Vulnerability reported to vendor
  • 2022-12-22 - Coordinated public release of advisory
  • 2023-01-23 - Advisory Updated

Credit

Arnaud Gatignol, Quentin Minster, Florent Saudel, Guillaume Teissier (@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.