In the Linux kernel, the following vulnerability has been resolved:
firmware: raspberrypi: fix possible memory leak in rpifirmwareprobe()
In rpifirmwareprobe(), if mboxrequestchannel() fails, the 'fw' will not be freed through rpifirmwaredelete(), fix this leak by calling kfree() in the error path.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50537.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50537.json"
[
{
"digest": {
"function_hash": "131824708089709176576082255981448375779",
"length": 655.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49",
"target": {
"file": "drivers/firmware/raspberrypi.c",
"function": "rpi_firmware_probe"
},
"signature_version": "v1",
"id": "CVE-2022-50537-2432a20b",
"signature_type": "Function",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"62691643164025771325490651810754980558",
"200844372558731855346073595725975431074",
"23844262791124469114648334482110596905",
"44744282010357296623631038075772806517"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49",
"target": {
"file": "drivers/firmware/raspberrypi.c"
},
"signature_version": "v1",
"id": "CVE-2022-50537-545badbf",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"62691643164025771325490651810754980558",
"200844372558731855346073595725975431074",
"23844262791124469114648334482110596905",
"44744282010357296623631038075772806517"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34",
"target": {
"file": "drivers/firmware/raspberrypi.c"
},
"signature_version": "v1",
"id": "CVE-2022-50537-6b1c48db",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"function_hash": "131824708089709176576082255981448375779",
"length": 655.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34",
"target": {
"file": "drivers/firmware/raspberrypi.c",
"function": "rpi_firmware_probe"
},
"signature_version": "v1",
"id": "CVE-2022-50537-91f3c89a",
"signature_type": "Function",
"deprecated": false
},
{
"digest": {
"function_hash": "131824708089709176576082255981448375779",
"length": 655.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7b51161696e803fd5f9ad55b20a64c2df313f95c",
"target": {
"file": "drivers/firmware/raspberrypi.c",
"function": "rpi_firmware_probe"
},
"signature_version": "v1",
"id": "CVE-2022-50537-9bdaf1bb",
"signature_type": "Function",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"62691643164025771325490651810754980558",
"200844372558731855346073595725975431074",
"23844262791124469114648334482110596905",
"44744282010357296623631038075772806517"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7b51161696e803fd5f9ad55b20a64c2df313f95c",
"target": {
"file": "drivers/firmware/raspberrypi.c"
},
"signature_version": "v1",
"id": "CVE-2022-50537-dca809a0",
"signature_type": "Line",
"deprecated": false
}
]