In the Linux kernel, the following vulnerability has been resolved:
ASoC: qcom: Add checks for devm_kcalloc
As the devm_kcalloc may return NULL, the return value needs to be checked to avoid NULL poineter dereference.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50308.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50308.json"
[
{
"signature_type": "Line",
"id": "CVE-2022-50308-05a5d7a3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7830e2289eb4b74970b6cd1b6cc68dcd021c2281",
"signature_version": "v1",
"target": {
"file": "sound/soc/qcom/lpass-sc7180.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"158786226613220399011541157496932209601",
"195037404668434665000337919589048950960",
"61802590019333413023702573318035405902",
"1581388916492440430579209913930873756"
]
}
},
{
"signature_type": "Function",
"id": "CVE-2022-50308-291c5e13",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7830e2289eb4b74970b6cd1b6cc68dcd021c2281",
"signature_version": "v1",
"target": {
"function": "sc7180_lpass_init",
"file": "sound/soc/qcom/lpass-sc7180.c"
},
"deprecated": false,
"digest": {
"function_hash": "270200993039685979032535538749475972198",
"length": 663.0
}
},
{
"signature_type": "Function",
"id": "CVE-2022-50308-3e1a50a5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1bf5ee979076ceb121ee51c95197d890b1cee7f4",
"signature_version": "v1",
"target": {
"function": "sc7180_lpass_init",
"file": "sound/soc/qcom/lpass-sc7180.c"
},
"deprecated": false,
"digest": {
"function_hash": "270200993039685979032535538749475972198",
"length": 663.0
}
},
{
"signature_type": "Line",
"id": "CVE-2022-50308-6fa2d9d4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b1e4f92dd0c1d3c162d7ca6c1196995565cca96d",
"signature_version": "v1",
"target": {
"file": "sound/soc/qcom/lpass-sc7180.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"158786226613220399011541157496932209601",
"195037404668434665000337919589048950960",
"61802590019333413023702573318035405902",
"1581388916492440430579209913930873756"
]
}
},
{
"signature_type": "Line",
"id": "CVE-2022-50308-768173fd",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1bf5ee979076ceb121ee51c95197d890b1cee7f4",
"signature_version": "v1",
"target": {
"file": "sound/soc/qcom/lpass-sc7180.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"158786226613220399011541157496932209601",
"195037404668434665000337919589048950960",
"61802590019333413023702573318035405902",
"1581388916492440430579209913930873756"
]
}
},
{
"signature_type": "Function",
"id": "CVE-2022-50308-7978c09d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f849c116d320e85d1e2c2804c0edb0be3953b62d",
"signature_version": "v1",
"target": {
"function": "sc7180_lpass_init",
"file": "sound/soc/qcom/lpass-sc7180.c"
},
"deprecated": false,
"digest": {
"function_hash": "270200993039685979032535538749475972198",
"length": 663.0
}
},
{
"signature_type": "Function",
"id": "CVE-2022-50308-dc99c880",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b1e4f92dd0c1d3c162d7ca6c1196995565cca96d",
"signature_version": "v1",
"target": {
"function": "sc7180_lpass_init",
"file": "sound/soc/qcom/lpass-sc7180.c"
},
"deprecated": false,
"digest": {
"function_hash": "270200993039685979032535538749475972198",
"length": 663.0
}
},
{
"signature_type": "Line",
"id": "CVE-2022-50308-f45c6647",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f849c116d320e85d1e2c2804c0edb0be3953b62d",
"signature_version": "v1",
"target": {
"file": "sound/soc/qcom/lpass-sc7180.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"158786226613220399011541157496932209601",
"195037404668434665000337919589048950960",
"61802590019333413023702573318035405902",
"1581388916492440430579209913930873756"
]
}
}
]