CVE-2022-50537

firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 23, 2026
Reserved
Oct 7, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d537afa08e156a0a72562e625506825c2776fcfa to before 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49Affected
  • 60831f5ae6c713afceb6d29f40899ed112f36059 to before d34742245e4366579f9a80f8cfe4a63248e838e0Affected
  • 1e7c57355a3bc617fc220234889e49fe722a6305 to before b308fdedef095aac14569f810d46edf773ea7d1eAffected
  • 1e7c57355a3bc617fc220234889e49fe722a6305 to before 6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34Affected
  • 1e7c57355a3bc617fc220234889e49fe722a6305 to before 71d2abab374f707ab8ac8dcef191fd2b3b67b8bdAffected
  • 1e7c57355a3bc617fc220234889e49fe722a6305 to before 7b51161696e803fd5f9ad55b20a64c2df313f95cAffected
  • 5.10.65 to before 5.10.163Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.