Advisory Details

February 23rd, 2024

Linux Kernel ksmbd Mech Token Out-Of-Bounds Read Information Disclosure Vulnerability

ZDI-24-194
ZDI-CAN-22890

CVE ID CVE-2024-26594
CVSS SCORE 9.3, AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
AFFECTED VENDORS Linux
AFFECTED PRODUCTS Kernel
VULNERABILITY DETAILS

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability. However, only systems with ksmbd enabled are vulnerable.

The specific flaw exists within the handling of SMB2 Mech Tokens. The issue results from the lack of proper validation of user-supplied data, which can result in a read past the end of an allocated buffer. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary 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/92e470163d96df8db6c4fa0f484e4a229edb903d
DISCLOSURE TIMELINE
  • 2024-01-11 - Vulnerability reported to vendor
  • 2024-02-23 - Coordinated public release of advisory
CREDIT fffvr
BACK TO ADVISORIES