Advisory Details

May 17th, 2023

Linux Kernel ksmbd Session Setup Memory Leak Denial-of-Service Vulnerability

ZDI-23-703
ZDI-CAN-20593

CVE ID CVE-2023-32255
CVSS SCORE 5.3, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AFFECTED VENDORS Linux
AFFECTED PRODUCTS Kernel
VULNERABILITY DETAILS

This vulnerability allows remote attackers to create a denial-of-service condition 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 handling of SMB2_SESSION_SETUP commands. The issue results from the lack of memory release after its effective lifetime. An attacker can leverage this vulnerability to create a denial-of-service condition on the system.

ADDITIONAL DETAILS Linux has issued an update to correct this vulnerability. More details can be found at:
https://github.com/torvalds/linux/commit/6d7cb549c2ca20e1f07593f15e936fd54b763028
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