CVE-2022-49712
published 2025-02-26CVE-2022-49712: 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…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.25%
16.8th percentile
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
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.14-1 (bookworm) | linux 5.18.14-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 24a28e4283510dcd58890379a42b8a7d3201d9d3 < d85e4e6284a91aa2d1ab004e9d84b9c09b4aa203 | d85e4e6284a91aa2d1ab004e9d84b9c09b4aa203 |
| linux | linux | >= 24a28e4283510dcd58890379a42b8a7d3201d9d3 < 0ef6917c0524da5b88496b9706628ffef108b9bb | 0ef6917c0524da5b88496b9706628ffef108b9bb |
| linux | linux | >= 24a28e4283510dcd58890379a42b8a7d3201d9d3 < 2a598da14856ead80c726b38ba426c68637d9211 | 2a598da14856ead80c726b38ba426c68637d9211 |
| linux | linux | >= 24a28e4283510dcd58890379a42b8a7d3201d9d3 < b75bddfcc18170ce8e3fb695a76ec2dec4ce0ea5 | b75bddfcc18170ce8e3fb695a76ec2dec4ce0ea5 |
| linux | linux | >= 24a28e4283510dcd58890379a42b8a7d3201d9d3 < 57901c658f77d9ea2e772f35cb38e47efb54c558 | 57901c658f77d9ea2e772f35cb38e47efb54c558 |
| linux | linux | >= 24a28e4283510dcd58890379a42b8a7d3201d9d3 < 46da1e4a8b6329479433b2a4056941dfdd7f3efd | 46da1e4a8b6329479433b2a4056941dfdd7f3efd |
| linux | linux | >= 24a28e4283510dcd58890379a42b8a7d3201d9d3 < 727c82d003e0ec64411fd1257a9a57de4ad7a99a | 727c82d003e0ec64411fd1257a9a57de4ad7a99a |
| linux | linux | >= 24a28e4283510dcd58890379a42b8a7d3201d9d3 < 4757c9ade34178b351580133771f510b5ffcf9c8 | 4757c9ade34178b351580133771f510b5ffcf9c8 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.14-1 | 5.18.14-1 |
| linux | linux_kernel | >= 0 < 5.18.14-1 | 5.18.14-1 |
| linux | linux_kernel | >= 0 < 5.18.14-1 | 5.18.14-1 |
| linux | linux_kernel | >= 3.5 < 4.9.320 | 4.9.320 |
| linux | linux_kernel | >= 4.10 < 4.14.285 | 4.14.285 |
| linux | linux_kernel | >= 4.15 < 4.19.249 | 4.19.249 |
| linux | linux_kernel | >= 4.20 < 5.4.200 | 5.4.200 |
| linux | linux_kernel | >= 5.11 < 5.15.49 | 5.15.49 |
| linux | linux_kernel | >= 5.16 < 5.18.6 | 5.18.6 |
| linux | linux_kernel | >= 5.5 < 5.10.124 | 5.10.124 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-q72h-v66c-fgvw: In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
of_parse_phandl
ghsa_unreviewed·2025-03-12
CVE-2022-49712 [MEDIUM] GHSA-q72h-v66c-fgvw: In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
of_parse_phandl
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.
OSV
CVE-2022-49712: In the Linux kernel, the following vulnerability has been resolved: usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe of_parse_phandle(
osv·2025-02-26·CVSS 5.5
CVE-2022-49712 [MEDIUM] CVE-2022-49712: In the Linux kernel, the following vulnerability has been resolved: usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe of_parse_phandle(
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.
Red Hat
kernel: usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49712 [MEDIUM] CWE-402 kernel: usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
kernel: usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Not affected
Pack
Debian
CVE-2022-49712: linux - In the Linux kernel, the following vulnerability has been resolved: usb: gadget...
vendor_debian·2022·CVSS 5.5
CVE-2022-49712 [MEDIUM] CVE-2022-49712: linux - In the Linux kernel, the following vulnerability has been resolved: usb: gadget...
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.
Scope: local
bookworm: resolved (fixed in 5.18.14-1)
bullseye: resolved (fixed in 5.10.127-1)
forky: resolved (fixed in 5.18.14-1)
sid: resolved (fixed in 5.18.14-1)
trixie: resolved (fixed in 5.18.14-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/0ef6917c0524da5b88496b9706628ffef108b9bbhttps://git.kernel.org/stable/c/2a598da14856ead80c726b38ba426c68637d9211https://git.kernel.org/stable/c/46da1e4a8b6329479433b2a4056941dfdd7f3efdhttps://git.kernel.org/stable/c/4757c9ade34178b351580133771f510b5ffcf9c8https://git.kernel.org/stable/c/57901c658f77d9ea2e772f35cb38e47efb54c558https://git.kernel.org/stable/c/727c82d003e0ec64411fd1257a9a57de4ad7a99ahttps://git.kernel.org/stable/c/b75bddfcc18170ce8e3fb695a76ec2dec4ce0ea5https://git.kernel.org/stable/c/d85e4e6284a91aa2d1ab004e9d84b9c09b4aa203
2025-02-26
Published