Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A memory leak vulnerability has been identified in the Linux kernel's WWAN device simulator module. When the 'device_register()' function fails, the reference count of the associated kobject is not properly decremented, leading to a leak of the name allocated by 'dev_set_name()'. This unreferenced object remains in memory, causing a potential resource drain. The issue has been addressed by modifying the error handling to include a call to 'put_device()', allowing the leaked name to be freed in the 'kobject_cleanup()' callback.
Exploitation of this vulnerability could lead to a memory leak, where allocated memory is not properly released, potentially causing a gradual increase in memory usage and degrading system performance over time.
The vulnerability can be reproduced by loading the WWAN HWSIM module using 'modprobe'. If the 'device_register()' function fails, the module will not properly release the name 'hwsim0', which is allocated during the device registration process. This leaked name can be observed as an unreferenced object in memory, indicating a memory leak.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.