CVE-2022-50537

Source
https://cve.org/CVERecord?id=CVE-2022-50537
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50537.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50537
Downstream
Related
Published
2025-10-07T15:21:03.749Z
Modified
2026-03-20T12:22:35.476845Z
Summary
firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50537.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-50537.json"