Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A memory leak vulnerability has been identified in the Linux kernel's handling of the Hisilicon Network Subsystem. The issue arises in the hnae_ae_register function, where the device_register call can fail. If this happens, the reference count of the associated kobject is not properly decremented, leading to a leak of the name allocated by dev_set_name. This leaked name is not freed, causing unreferenced memory. The vulnerability affects several versions of the Linux kernel.
The vulnerability can lead to a memory leak, where allocated memory is not properly released, potentially causing increased memory usage and degradation of system performance over time.
The vulnerability can be reproduced by probing a module that registers a device with the Hisilicon Network Subsystem. If the device_register call fails, the hnae_ae_register function does not properly release the allocated name, leading to a memory leak. This can be observed by monitoring the system's memory usage for unfreed allocations related to the hnae0 device.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to a version that includes the fix.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.