← CVE Intelligence

CVE-2022-49712

usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 24a28e4283510dcd58890379a42b8a7d3201d9d3 before d85e4e6284a91aa2d1ab004e9d84b9c09b4aa203; affected 24a28e4283510dcd58890379a42b8a7d3201d9d3 before 0ef6917c0524da5b88496b9706628ffef108b9bb; affected 24a28e4283510dcd58890379a42b8a7d3201d9d3 before 2a598da14856ead80c726b38ba426c68637d9211; affected 24a28e4283510dcd58890379a42b8a7d3201d9d3 before b75bddfcc18170ce8e3fb695a76ec2dec4ce0ea5; affected 24a28e4283510dcd58890379a42b8a7d3201d9d3 before 57901c658f77d9ea2e772f35cb38e47efb54c558; affected 24a28e4283510dcd58890379a42b8a7d3201d9d3 before 46da1e4a8b6329479433b2a4056941dfdd7f3efd; affected 24a28e4283510dcd58890379a42b8a7d3201d9d3 before 727c82d003e0ec64411fd1257a9a57de4ad7a99a; affected 24a28e4283510dcd58890379a42b8a7d3201d9d3 before 4757c9ade34178b351580133771f510b5ffcf9c8
Linux / Linuxaffected 3.5; unaffected 0 before 3.5; unaffected 4.9.320 through 4.9.*; unaffected 4.14.285 through 4.14.*; unaffected 4.19.249 through 4.19.*; unaffected 5.4.200 through 5.4.*; unaffected 5.10.124 through 5.10.*; unaffected 5.15.49 through 5.15.*; unaffected 5.18.6 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.