CVE-2022-49712

usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:24 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.5 ≤ v < 4.14.2853.5 ≤ v < 4.19.2493.5 ≤ v < 4.9.3203.5 ≤ v < 5.10.1243.5 ≤ v < 5.15.493.5 ≤ v < 5.18.63.5 ≤ v < 5.193.5 ≤ v < 5.4.2004.10 ≤ v < 4.14.2854.15 ≤ v < 4.19.2494.20 ≤ v < 5.4.2005.11 ≤ v < 5.15.495.16 ≤ v < 5.18.65.5 ≤ v < 5.10.12424a28e4283510dcd58890379a42b8a7d3201d9d35.19 rc15.19 rc2
Vendor states this is fixed in 0ef6917c0524da5b88496b9706628ffef108b9bb (fixed)
Vendor states this is fixed in 2a598da14856ead80c726b38ba426c68637d9211 (fixed)
Vendor states this is fixed in 46da1e4a8b6329479433b2a4056941dfdd7f3efd (fixed)
Vendor states this is fixed in 4757c9ade34178b351580133771f510b5ffcf9c8 (fixed)
Vendor states this is fixed in 57901c658f77d9ea2e772f35cb38e47efb54c558 (fixed)
Vendor states this is fixed in 727c82d003e0ec64411fd1257a9a57de4ad7a99a (fixed)
Vendor states this is fixed in b75bddfcc18170ce8e3fb695a76ec2dec4ce0ea5 (fixed)
Vendor states this is fixed in d85e4e6284a91aa2d1ab004e9d84b9c09b4aa203 (fixed)
Vendor states this is fixed in 3.5 (unaffected)
Vendor states this is fixed in 4.14.285 (unaffected)
Vendor states this is fixed in 4.19.249 (unaffected)
Vendor states this is fixed in 4.9.320 (unaffected)
Vendor states this is fixed in 5.10.124 (unaffected)
Vendor states this is fixed in 5.15.49 (unaffected)
Vendor states this is fixed in 5.18.6 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.200 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0ef6917c0524da5b88496b9706628ffef108b9bb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2a598da14856ead80c726b38ba426c68637d9211
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/46da1e4a8b6329479433b2a4056941dfdd7f3efd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4757c9ade34178b351580133771f510b5ffcf9c8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/57901c658f77d9ea2e772f35cb38e47efb54c558
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/727c82d003e0ec64411fd1257a9a57de4ad7a99a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b75bddfcc18170ce8e3fb695a76ec2dec4ce0ea5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d85e4e6284a91aa2d1ab004e9d84b9c09b4aa203

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card