Advisory Details

June 14th, 2024

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

ZDI-24-777
ZDI-CAN-21826

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

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Linux Kernel. Authentication may or may not be required to exploit this vulnerability, depending upon configuration. Furthermore, only systems with ksmbd enabled are vulnerable.

The specific flaw exists within the parsing of SMB2 requests. 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

Fixed in Linux 6.5-rc7
https://github.com/torvalds/linux/commit/5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c


DISCLOSURE TIMELINE
  • 2023-08-22 - Vulnerability reported to vendor
  • 2024-06-14 - Coordinated public release of advisory
  • 2024-08-15 - Advisory Updated
CREDIT HexRabbit (@h3xr4bb1t)
BACK TO ADVISORIES