In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: Intel: cnl: Do not process IPC reply before firmware boot
It is not yet clear, but it is possible to create a firmware so broken that it will send a reply message before a FWREADY message (it is not yet clear if FWREADY will arrive later). Since the replydata is allocated only after the FWREADY message, this will lead to a NULL pointer dereference if not filtered out.
The issue was reported with IPC4 firmware but the same condition is present for IPC3.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50016.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50016.json"
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "53949263958527967273273141610980346687",
"length": 1133.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@230f646085d17a008b609eb8fe8befb8811868f0",
"signature_type": "Function",
"id": "CVE-2022-50016-136dc2b9",
"target": {
"file": "sound/soc/sof/intel/cnl.c",
"function": "cnl_ipc4_irq_thread"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "2018415163276658713819187100802868968",
"length": 1522.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@230f646085d17a008b609eb8fe8befb8811868f0",
"signature_type": "Function",
"id": "CVE-2022-50016-176d9ecf",
"target": {
"file": "sound/soc/sof/intel/cnl.c",
"function": "cnl_ipc_irq_thread"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"135585323841467569051055141554821325849",
"143566574894328633601557338848905295704",
"24157458261989000616271201263456402730",
"322814565519056489314137973181645004120",
"308780338395022831102229031428486668230",
"17044274914943393984884960684790016573",
"35366218169269543580019894812807888931",
"222406935588534764130187095571913945218",
"53181535587473898096930787551788954422",
"227473158894320232141070602194668844554",
"148262515690168126497650085135039902802",
"65221936101991101822300350898105174988",
"155337059293021007917747956368750085088",
"170665733331651349414289839230516113401",
"154363860110381639576433733730350317945",
"50164401599296736851613995746079012421",
"209863932855516094180832646803902076024",
"81211841224549408232823408551485355784"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@230f646085d17a008b609eb8fe8befb8811868f0",
"signature_type": "Line",
"id": "CVE-2022-50016-8e5bc620",
"target": {
"file": "sound/soc/sof/intel/cnl.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"135585323841467569051055141554821325849",
"143566574894328633601557338848905295704",
"24157458261989000616271201263456402730",
"322814565519056489314137973181645004120",
"308780338395022831102229031428486668230",
"17044274914943393984884960684790016573",
"35366218169269543580019894812807888931",
"222406935588534764130187095571913945218",
"53181535587473898096930787551788954422",
"227473158894320232141070602194668844554",
"148262515690168126497650085135039902802",
"65221936101991101822300350898105174988",
"155337059293021007917747956368750085088",
"170665733331651349414289839230516113401",
"154363860110381639576433733730350317945",
"50164401599296736851613995746079012421",
"209863932855516094180832646803902076024",
"81211841224549408232823408551485355784"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@acacd9eefd0def5a83244d88e5483b5f38ee7287",
"signature_type": "Line",
"id": "CVE-2022-50016-ad4e74d4",
"target": {
"file": "sound/soc/sof/intel/cnl.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "53949263958527967273273141610980346687",
"length": 1133.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@acacd9eefd0def5a83244d88e5483b5f38ee7287",
"signature_type": "Function",
"id": "CVE-2022-50016-bdcae3f7",
"target": {
"file": "sound/soc/sof/intel/cnl.c",
"function": "cnl_ipc4_irq_thread"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "2018415163276658713819187100802868968",
"length": 1522.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@acacd9eefd0def5a83244d88e5483b5f38ee7287",
"signature_type": "Function",
"id": "CVE-2022-50016-c5f26fca",
"target": {
"file": "sound/soc/sof/intel/cnl.c",
"function": "cnl_ipc_irq_thread"
}
}
]