What’s Vulnerable › Vulnerabilities

CVE-2022-49712: usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe

Description

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. of_node_put() will check NULL pointer.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.285, 4.19.249, 4.9.320, 5.10.124. Check the vendor advisory for mitigations.

References

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