In the Linux kernel, the following vulnerability has been resolved:
irqchip/wpcm450: Fix memory leak in wpcm450aicof_init()
If of_iomap() failed, 'aic' should be freed before return. Otherwise there is a memory leak.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50416.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/irqchip/irq-wpcm450-aic.c",
"function": "wpcm450_aic_of_init"
},
"id": "CVE-2022-50416-75f6e179",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcbcb396e1a8bd4dcaabfb0d5b98abae70880470",
"digest": {
"function_hash": "163249964808519723209783259149768335593",
"length": 451.0
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/irqchip/irq-wpcm450-aic.c",
"function": "wpcm450_aic_of_init"
},
"id": "CVE-2022-50416-7c6432d0",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@740efb64ca5e8f2b30ac843bc4ab07950479fed4",
"digest": {
"function_hash": "163249964808519723209783259149768335593",
"length": 451.0
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/irqchip/irq-wpcm450-aic.c"
},
"id": "CVE-2022-50416-bd7a35bc",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcbcb396e1a8bd4dcaabfb0d5b98abae70880470",
"digest": {
"line_hashes": [
"214685725118886507961485943395458059465",
"87633444250172825238215041350591142952",
"100848099833488168899430480080459821313",
"75684468469479774018209921253506541958"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/irqchip/irq-wpcm450-aic.c"
},
"id": "CVE-2022-50416-ddd66097",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@740efb64ca5e8f2b30ac843bc4ab07950479fed4",
"digest": {
"line_hashes": [
"214685725118886507961485943395458059465",
"87633444250172825238215041350591142952",
"100848099833488168899430480080459821313",
"75684468469479774018209921253506541958"
],
"threshold": 0.9
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50416.json"