CVE-2022-50125

Source
https://cve.org/CVERecord?id=CVE-2022-50125
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50125.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50125
Downstream
Related
Published
2025-06-18T11:02:53.046Z
Modified
2026-03-20T12:24:54.877591Z
Summary
ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe
Details

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

ASoC: croseccodec: Fix refcount leak in croseccodecplatformprobe

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50125.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
b6bc07d4360dbf766e551f18e43c67fff6784955
Fixed
bae95c5aee1f67da6608ceaebfb744d900e5ffbf
Fixed
1065c385325845c88350c765cc6e449f46741984
Fixed
b3e64b5562c077218295f2230fb5cf181193cb06
Fixed
ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104
Fixed
0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e

Database specific

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