Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability has been identified in the Linux kernel's ksmbd module, related to improper handling of Read-Copy-Update (RCU) callbacks during the module unload process. This issue arises because ksmbd does not call 'rcu_barrier()' when the module is being removed, allowing the module to unload while RCU callbacks are still pending. The vulnerability creates a race condition between closing a connection and unloading the module, which can lead to unintended execution of kernel code. This behavior can be exploited to bypass security measures such as the Kernel Lockdown policy.
Exploitation of this vulnerability can cause unauthorized execution of kernel code, potentially leading to a violation of Kernel Lockdown protections.
The vulnerability can be reproduced by loading the ksmbd module, establishing a connection, and then unloading the module without first closing the connection. This sequence creates a race condition that triggers the vulnerability.
Users can update to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for updating the kernel can be found in the official Linux documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.