Linux kernel
cpe:2.3:o:kernel:linux_kernel:*:*:*:*:*:*:*
A refcount leak vulnerability has been identified in the Linux kernel's ksmbd component, specifically within the stable group. This issue arises because the reference count was not properly decremented when a connection was being released, leading to a memory leak where the count did not reach zero, preventing the memory from being freed. The vulnerability affects several versions of the Linux kernel.
Exploitation of this vulnerability leads to a refcount leak, causing memory to not be released properly, which could result in increased memory usage and potential exhaustion of system resources.
The vulnerability can be reproduced by simulating a scenario where a connection is being released in the ksmbd component. This can be done by triggering the 'ksmbd_conn_releasing' function, which should return true, indicating that the connection is being closed. However, due to the vulnerability, the reference count will not be decremented correctly, causing a leak. This can be observed by monitoring the reference count and the corresponding memory usage, which will show that the memory is not being released as expected.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. The specific commit addressing this issue is available in the Linux kernel stable tree.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.