CVE-2022-49712

Source
https://cve.org/CVERecord?id=CVE-2022-49712
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49712.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49712
Downstream
Related
Published
2025-02-26T02:24:28.888Z
Modified
2026-04-11T12:44:26.490561Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: lpc32xxudc: Fix refcount leak in lpc32xxudc_probe

ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak. ofnodeput() will check NULL pointer.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49712.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
24a28e4283510dcd58890379a42b8a7d3201d9d3
Fixed
d85e4e6284a91aa2d1ab004e9d84b9c09b4aa203
Fixed
0ef6917c0524da5b88496b9706628ffef108b9bb
Fixed
2a598da14856ead80c726b38ba426c68637d9211
Fixed
b75bddfcc18170ce8e3fb695a76ec2dec4ce0ea5
Fixed
57901c658f77d9ea2e772f35cb38e47efb54c558
Fixed
46da1e4a8b6329479433b2a4056941dfdd7f3efd
Fixed
727c82d003e0ec64411fd1257a9a57de4ad7a99a
Fixed
4757c9ade34178b351580133771f510b5ffcf9c8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49712.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
4.9.320
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.285
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.249
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.200
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.124
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.49
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.18.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49712.json"