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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50125.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Function",
"target": {
"file": "sound/soc/codecs/cros_ec_codec.c",
"function": "cros_ec_codec_platform_probe"
},
"deprecated": false,
"id": "CVE-2022-50125-0fccd284",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bae95c5aee1f67da6608ceaebfb744d900e5ffbf",
"digest": {
"function_hash": "198810279334205362572421163564423361152",
"length": 1655.0
}
},
{
"signature_type": "Function",
"digest": {
"function_hash": "337867884710367227554987871626244469387",
"length": 2000.0
},
"signature_version": "v1",
"id": "CVE-2022-50125-20eecc39",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e",
"target": {
"file": "sound/soc/codecs/cros_ec_codec.c",
"function": "cros_ec_codec_platform_probe"
}
},
{
"signature_type": "Line",
"target": {
"file": "sound/soc/codecs/cros_ec_codec.c"
},
"deprecated": false,
"id": "CVE-2022-50125-4d58a531",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e",
"digest": {
"line_hashes": [
"276647213086039183244219817469870527057",
"178588305388467588472442617124788246152",
"24353741453579164268211951217376473018",
"69590666361926017720696399279869584477"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"276647213086039183244219817469870527057",
"178588305388467588472442617124788246152",
"24353741453579164268211951217376473018",
"69590666361926017720696399279869584477"
],
"threshold": 0.9
},
"signature_version": "v1",
"id": "CVE-2022-50125-5e8361db",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b3e64b5562c077218295f2230fb5cf181193cb06",
"target": {
"file": "sound/soc/codecs/cros_ec_codec.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "sound/soc/codecs/cros_ec_codec.c"
},
"id": "CVE-2022-50125-6b11c49e",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bae95c5aee1f67da6608ceaebfb744d900e5ffbf",
"digest": {
"line_hashes": [
"276647213086039183244219817469870527057",
"178588305388467588472442617124788246152",
"24353741453579164268211951217376473018",
"69590666361926017720696399279869584477"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"276647213086039183244219817469870527057",
"178588305388467588472442617124788246152",
"24353741453579164268211951217376473018",
"69590666361926017720696399279869584477"
],
"threshold": 0.9
},
"signature_version": "v1",
"id": "CVE-2022-50125-8ed0df56",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104",
"target": {
"file": "sound/soc/codecs/cros_ec_codec.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"276647213086039183244219817469870527057",
"178588305388467588472442617124788246152",
"24353741453579164268211951217376473018",
"69590666361926017720696399279869584477"
],
"threshold": 0.9
},
"id": "CVE-2022-50125-b5f5a6bf",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1065c385325845c88350c765cc6e449f46741984",
"target": {
"file": "sound/soc/codecs/cros_ec_codec.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"function_hash": "337867884710367227554987871626244469387",
"length": 2000.0
},
"id": "CVE-2022-50125-bab868aa",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1065c385325845c88350c765cc6e449f46741984",
"target": {
"file": "sound/soc/codecs/cros_ec_codec.c",
"function": "cros_ec_codec_platform_probe"
}
},
{
"signature_type": "Function",
"digest": {
"function_hash": "337867884710367227554987871626244469387",
"length": 2000.0
},
"signature_version": "v1",
"id": "CVE-2022-50125-d82c35cc",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b3e64b5562c077218295f2230fb5cf181193cb06",
"target": {
"file": "sound/soc/codecs/cros_ec_codec.c",
"function": "cros_ec_codec_platform_probe"
}
},
{
"signature_type": "Function",
"digest": {
"function_hash": "337867884710367227554987871626244469387",
"length": 2000.0
},
"signature_version": "v1",
"id": "CVE-2022-50125-dab3a04d",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104",
"target": {
"file": "sound/soc/codecs/cros_ec_codec.c",
"function": "cros_ec_codec_platform_probe"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50125.json"