CVE-2022-50537
5.5medium
firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d537afa08e156a0a72562e625506825c2776fcfa before 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49, from 60831f5ae6c713afceb6d29f40899ed112f36059 before d34742245e4366579f9a80f8cfe4a63248e838e0, from 1e7c57355a3bc617fc220234889e49fe722a6305 before b308fdedef095aac14569f810d46edf773ea7d1e, from 1e7c57355a3bc617fc220234889e49fe722a6305 before 6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34, from 1e7c57355a3bc617fc220234889e49fe722a6305 before 71d2abab374f707ab8ac8dcef191fd2b3b67b8bd, from 1e7c57355a3bc617fc220234889e49fe722a6305 before 7b51161696e803fd5f9ad55b20a64c2df313f95c, from 5.10.65 before 5.10.163, 5.13 Not affected: before 5.13, from 5.10.163 up to 5.10.*, from 5.15.86 up to 5.15.*, from 6.0.16 up to 6.0.*, from 6.1.2 up to 6.1.*, from 6.2 up to * | CVE List |
| linux linux_kernel | from 5.10.65 before 5.10.163, from 5.13 before 5.15.86, from 5.16 before 6.0.16, from 6.1 before 6.1.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50537 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2022-50537 changed 2026-11-05 | Public domain |