What’s Vulnerable › Vulnerabilities

CVE-2022-50537: firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()

Description

In the Linux kernel, the following vulnerability has been resolved: firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe() In rpi_firmware_probe(), if mbox_request_channel() fails, the 'fw' will not be freed through rpi_firmware_delete(), fix this leak by calling kfree() in the error path.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.163, 5.15.86, 6.0.16, 6.1.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50537 or the next vulnerability affects your stack