What’s Vulnerable › Vulnerabilities

CVE-2022-49874: HID: hyperv: fix possible memory leak in mousevsc_probe()

Description

In the Linux kernel, the following vulnerability has been resolved: HID: hyperv: fix possible memory leak in mousevsc_probe() If hid_add_device() returns error, it should call hid_destroy_device() to free hid_dev which is allocated in hid_allocate_device().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.300, 4.19.267, 4.9.334, 5.10.155. Check the vendor advisory for mitigations.

References

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