CVE-2023-39176: Linux Kernel ksmbd Transform Header Out-Of-Bounds Read Information Disclosure Vulnerability
A flaw was found within the parsing of SMB2 requests that have a transform header in the kernel ksmbd module. 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 to disclose sensitive information on affected installations of Linux. Only systems with ksmbd enabled are vulnerable to this CVE.
Other sources
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 parsing of SMB2 requests that have a transform header. 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.
Reference: https://www.zerodayinitiative.com/advisories/ZDI-24-586/
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-39176?
CVE-2023-39176 is rated as a medium severity vulnerability due to its potential impact on system stability.
How do I fix CVE-2023-39176?
You can fix CVE-2023-39176 by applying the latest security patches provided by your Linux distribution.
What exploitation methods are applicable for CVE-2023-39176?
CVE-2023-39176 can be exploited through specially crafted SMB2 requests to trigger a buffer read overflow.
Which versions of the Linux Kernel are affected by CVE-2023-39176?
CVE-2023-39176 affects specific versions of the Linux Kernel, primarily those with the ksmbd module implemented.
What are the potential consequences of CVE-2023-39176?
Exploiting CVE-2023-39176 could allow an attacker to read sensitive data beyond the allocated buffer, leading to information disclosure.