Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's ksmbd component allows for improper validation of command request sizes in SMB2 messages. This issue affects several versions of the Linux kernel. The vulnerability arises because, except for the SMB2_OPLOCK_BREAK_HE command, the request sizes of other commands are not checked as expected. This lack of validation could potentially be exploited to disrupt normal operations or cause unexpected behavior in the SMB2 protocol handling.
Exploitation of this vulnerability could lead to improper handling of SMB2 commands, potentially causing disruptions or unexpected behavior in systems that rely on the ksmbd component for SMB2 file sharing.
To reproduce this vulnerability, send SMB2 command requests to a server running the affected version of the Linux kernel with ksmbd enabled. The requests should include command types other than SMB2_OPLOCK_BREAK_HE, as those will not trigger the vulnerability. The server's response can be monitored to confirm whether the command size validation is properly enforced.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation or through the package management system of the respective Linux distribution.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.