{"id":"CVE-2022-50537","summary":"firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()\n\nIn rpi_firmware_probe(), if mbox_request_channel() fails, the 'fw' will\nnot be freed through rpi_firmware_delete(), fix this leak by calling\nkfree() in the error path.","modified":"2026-04-02T08:28:35.995646Z","published":"2025-10-07T15:21:03.749Z","related":["SUSE-SU-2025:4111-1","SUSE-SU-2025:4139-1","SUSE-SU-2025:4149-1","SUSE-SU-2025:4189-1","SUSE-SU-2025:4320-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50537.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34"},{"type":"WEB","url":"https://git.kernel.org/stable/c/71d2abab374f707ab8ac8dcef191fd2b3b67b8bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b51161696e803fd5f9ad55b20a64c2df313f95c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b308fdedef095aac14569f810d46edf773ea7d1e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d34742245e4366579f9a80f8cfe4a63248e838e0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50537.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50537"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d537afa08e156a0a72562e625506825c2776fcfa"},{"fixed":"62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"60831f5ae6c713afceb6d29f40899ed112f36059"},{"fixed":"d34742245e4366579f9a80f8cfe4a63248e838e0"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1e7c57355a3bc617fc220234889e49fe722a6305"},{"fixed":"b308fdedef095aac14569f810d46edf773ea7d1e"},{"fixed":"6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34"},{"fixed":"71d2abab374f707ab8ac8dcef191fd2b3b67b8bd"},{"fixed":"7b51161696e803fd5f9ad55b20a64c2df313f95c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50537.json"}}],"schema_version":"1.7.5"}