{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2022-50125", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-06-18T10:57:27.417Z", "datePublished": "2025-06-18T11:02:53.046Z", "dateUpdated": "2026-05-11T19:13:19.645Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T19:13:19.645Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe\n\nof_parse_phandle() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not need anymore.\nAdd missing of_node_put() to avoid refcount leak." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "sound/soc/codecs/cros_ec_codec.c" ], "versions": [ { "version": "b6bc07d4360dbf766e551f18e43c67fff6784955", "lessThan": "bae95c5aee1f67da6608ceaebfb744d900e5ffbf", "status": "affected", "versionType": "git" }, { "version": "b6bc07d4360dbf766e551f18e43c67fff6784955", "lessThan": "1065c385325845c88350c765cc6e449f46741984", "status": "affected", "versionType": "git" }, { "version": "b6bc07d4360dbf766e551f18e43c67fff6784955", "lessThan": "b3e64b5562c077218295f2230fb5cf181193cb06", "status": "affected", "versionType": "git" }, { "version": "b6bc07d4360dbf766e551f18e43c67fff6784955", "lessThan": "ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104", "status": "affected", "versionType": "git" }, { "version": "b6bc07d4360dbf766e551f18e43c67fff6784955", "lessThan": "0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "sound/soc/codecs/cros_ec_codec.c" ], "versions": [ { "version": "5.5", "status": "affected" }, { "version": "0", "lessThan": "5.5", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.137", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.61", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.18.18", "lessThanOrEqual": "5.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.19.2", "lessThanOrEqual": "5.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.0", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "5.10.137" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "5.15.61" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "5.18.18" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "5.19.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "6.0" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/bae95c5aee1f67da6608ceaebfb744d900e5ffbf" }, { "url": "https://git.kernel.org/stable/c/1065c385325845c88350c765cc6e449f46741984" }, { "url": "https://git.kernel.org/stable/c/b3e64b5562c077218295f2230fb5cf181193cb06" }, { "url": "https://git.kernel.org/stable/c/ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104" }, { "url": "https://git.kernel.org/stable/c/0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e" } ], "title": "ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe", "x_generator": { "engine": "bippy-1.2.0" } } } }