What’s Vulnerable › Vulnerabilities

CVE-2022-48775: Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj

Description

In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj kobject_init_and_add() takes reference even when it fails. According to the doc of kobject_init_and_add(): If this function returns an error, kobject_put() must be called to properly clean up the memory associated with the object. Fix memory leak by calling kobject_put().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.231, 5.10.102, 5.15.25, 5.16.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-48775 or the next vulnerability affects your stack