{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50537","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-10-07T15:15:38.666Z","datePublished":"2025-10-07T15:21:03.749Z","dateUpdated":"2026-05-11T19:21:20.708Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T19:21:20.708Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/raspberrypi.c"],"versions":[{"version":"d537afa08e156a0a72562e625506825c2776fcfa","lessThan":"62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49","status":"affected","versionType":"git"},{"version":"60831f5ae6c713afceb6d29f40899ed112f36059","lessThan":"d34742245e4366579f9a80f8cfe4a63248e838e0","status":"affected","versionType":"git"},{"version":"1e7c57355a3bc617fc220234889e49fe722a6305","lessThan":"b308fdedef095aac14569f810d46edf773ea7d1e","status":"affected","versionType":"git"},{"version":"1e7c57355a3bc617fc220234889e49fe722a6305","lessThan":"6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34","status":"affected","versionType":"git"},{"version":"1e7c57355a3bc617fc220234889e49fe722a6305","lessThan":"71d2abab374f707ab8ac8dcef191fd2b3b67b8bd","status":"affected","versionType":"git"},{"version":"1e7c57355a3bc617fc220234889e49fe722a6305","lessThan":"7b51161696e803fd5f9ad55b20a64c2df313f95c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/raspberrypi.c"],"versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.65","versionEndExcluding":"5.10.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.15.86"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.0.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.1.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49"},{"url":"https://git.kernel.org/stable/c/d34742245e4366579f9a80f8cfe4a63248e838e0"},{"url":"https://git.kernel.org/stable/c/b308fdedef095aac14569f810d46edf773ea7d1e"},{"url":"https://git.kernel.org/stable/c/6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34"},{"url":"https://git.kernel.org/stable/c/71d2abab374f707ab8ac8dcef191fd2b3b67b8bd"},{"url":"https://git.kernel.org/stable/c/7b51161696e803fd5f9ad55b20a64c2df313f95c"}],"title":"firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()","x_generator":{"engine":"bippy-1.2.0"}}}}