CVE-2022-50825

Source
https://cve.org/CVERecord?id=CVE-2022-50825
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50825.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50825
Downstream
Published
2025-12-30T12:08:38.249Z
Modified
2026-03-20T11:47:38.425177Z
Summary
usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe()
Details

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

usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe()

I got the following report while doing fault injection test:

OF: ERROR: memory leak, expected refcount 1 instead of 4, ofnodeget()/ofnodeput() unbalanced - destroy cset entry: attach overlay node /i2c/tcpc@60/connector

If wusb3801hwinit() fails, fwnodehandleput() needs be called to avoid refcount leak.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50825.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
d016cbe4d7acf5100df83ecf4d02db4e9f607c1d
Fixed
de1e2eb7f102e3073714396414592a39efb66b3e
Fixed
82d1211f673bbdc822eaf1dbcbf1f2ae06556964
Fixed
dc18a4c7b3bd447cef2395deeb1f6ac16dfaca0e

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

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