Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +3 more
A memory leak vulnerability has been identified in the Linux kernel's vdpa_sim module, specifically within the network and block initialization functions. When the device_register() call fails, the reference count of the kobject is not properly decremented, leading to a leak of the name allocated by dev_set_name(). This issue can occur if the module is probed and the device registration fails, but the kobject reference is still held. The leaked names can be observed as unreferenced objects in the system.
Exploitation of this vulnerability leads to a memory leak, where allocated names are not properly freed, potentially causing increased memory usage over time.
The vulnerability can be reproduced by loading the vdpa_sim module into the Linux kernel. If the device_register() function fails during the initialization of either the network or block simulation components, but the kobject reference count is not reduced to zero, a memory leak occurs. This can be verified by checking for unreferenced objects corresponding to the leaked names shortly after the module is loaded.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.