CVE-2022-49712

published 26 Feb 2025 · updated 11 May 2026

usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0ef6917c0524da5b88496b9706628ffef108b9bb, Kernel 2a598da14856ead80c726b38ba426c68637d9211, Kernel 46da1e4a8b6329479433b2a4056941dfdd7f3efd and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.5, >=24a28e4283510dcd58890379a42b8a7d3201d9d3 <0ef6917c0524da5b88496b9706628ffef108b9bb, >=24a28e4283510dcd58890379a42b8a7d3201d9d3 <2a598da14856ead80c726b38ba426c68637d9211, >=24a28e4283510dcd58890379a42b8a7d3201d9d3 <46da1e4a8b6329479433b2a4056941dfdd7f3efd, >=24a28e4283510dcd58890379a42b8a7d3201d9d3 <4757c9ade34178b351580133771f510b5ffcf9c8, >=24a28e4283510dcd58890379a42b8a7d3201d9d3 <57901c658f77d9ea2e772f35cb38e47efb54c558, >=24a28e4283510dcd58890379a42b8a7d3201d9d3 <727c82d003e0ec64411fd1257a9a57de4ad7a99a, >=24a28e4283510dcd58890379a42b8a7d3201d9d3 <b75bddfcc18170ce8e3fb695a76ec2dec4ce0ea5, >=24a28e4283510dcd58890379a42b8a7d3201d9d3 <d85e4e6284a91aa2d1ab004e9d84b9c09b4aa2030ef6917c0524da5b88496b9706628ffef108b9bb, 2a598da14856ead80c726b38ba426c68637d9211, 46da1e4a8b6329479433b2a4056941dfdd7f3efd, 4757c9ade34178b351580133771f510b5ffcf9c8, 57901c658f77d9ea2e772f35cb38e47efb54c558, 727c82d003e0ec64411fd1257a9a57de4ad7a99a, b75bddfcc18170ce8e3fb695a76ec2dec4ce0ea5, d85e4e6284a91aa2d1ab004e9d84b9c09b4aa203

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49712 severity on Zeptric[![CVE-2022-49712](https://zeptric.io/badge/cve/CVE-2022-49712.svg)](https://zeptric.io/cve/CVE-2022-49712)