CVE-2022-50122

Source
https://cve.org/CVERecord?id=CVE-2022-50122
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50122.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50122
Downstream
Published
2025-06-18T11:02:51.099Z
Modified
2026-04-11T12:44:54.731655Z
Summary
ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe
Details

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

ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173rt5650dev_probe

ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Fix refcount leak in some error paths.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50122.json"
}
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
0f83f9296d5c91d08cf46cf1ba8a17fb870dedf0
Fixed
06ace427953f5036b64aed658f0055f65d76fd27
Fixed
e024a24fb264523149658c10c76bb363b3d0004d
Fixed
79f566907d27abbd7600cebe51def5081d5796b5
Fixed
403d46971936f9f704b91cecffe66e44aa39e915
Fixed
994f2edeeb2114bb22b62741cb8fb030fc7e5441
Fixed
e38e4952ac7a316c9002af30980d6aa850214474
Fixed
5ec83aa7a9e5bcca80ccd49978916feb4e0ffc07
Fixed
efe2178d1a32492f99e7f1f2568eea5c88a85729

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.6.0
Fixed
4.14.291
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.256
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.211
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.137
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.61
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.18.18
Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
5.19.2

Database specific

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