Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50537

MEDIUM 5.5EPSS 7%

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

Mitigation

  • Upgrade Linux to 5.10.163 or later.

Who should check

  • Anyone running Linux >= d537afa08e156a0a72562e625506825c2776fcfa, < 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49; >= 60831f5ae6c713afceb6d29f40899ed112f36059, < d34742245e4366579f9a80f8cfe4a63248e838e0; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < b308fdedef095aac14569f810d46edf773ea7d1e; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 71d2abab374f707ab8ac8dcef191fd2b3b67b8bd; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 7b51161696e803fd5f9ad55b20a64c2df313f95c; >= 5.10.65, < 5.10.163
  • Anyone running Linux 5.13

Vulnerability facts

Affected
Linux >= d537afa08e156a0a72562e625506825c2776fcfa, < 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49; >= 60831f5ae6c713afceb6d29f40899ed112f36059, < d34742245e4366579f9a80f8cfe4a63248e838e0; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < b308fdedef095aac14569f810d46edf773ea7d1e; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 71d2abab374f707ab8ac8dcef191fd2b3b67b8bd; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 7b51161696e803fd5f9ad55b20a64c2df313f95c; >= 5.10.65, < 5.10.163; Linux 5.13
Fixed in
Linux 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49, Linux 6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34, Linux 71d2abab374f707ab8ac8dcef191fd2b3b67b8bd, Linux 7b51161696e803fd5f9ad55b20a64c2df313f95c, Linux 5.10.163
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
CWE
CWE-401
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= d537afa08e156a0a72562e625506825c2776fcfa, < 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49; >= 60831f5ae6c713afceb6d29f40899ed112f36059, < d34742245e4366579f9a80f8cfe4a63248e838e0; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < b308fdedef095aac14569f810d46edf773ea7d1e; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 71d2abab374f707ab8ac8dcef191fd2b3b67b8bd; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 7b51161696e803fd5f9ad55b20a64c2df313f95c; >= 5.10.65, < 5.10.163—cvelist
Linux5.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50537. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50537.md
Affected: Linux >= d537afa08e156a0a72562e625506825c2776fcfa, < 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49; >= 60831f5ae6c713afceb6d29f40899ed112f36059, < d34742245e4366579f9a80f8cfe4a63248e838e0; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < b308fdedef095aac14569f810d46edf773ea7d1e; >= 1e7c57355a3bc617fc22023…
Fixed in: Linux 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49, Linux 6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34, Linux 71d2abab374f707ab8ac8dcef191fd2b3b67b8bd, Linux 7b51161696e803fd5f9ad55b20a64c2df313f95c, Linux 5.10.163

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50537 being exploited?

There is no confirmed exploitation: CVE-2022-50537 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50537?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50537?

Linux >= d537afa08e156a0a72562e625506825c2776fcfa, < 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49; >= 60831f5ae6c713afceb6d29f40899ed112f36059, < d34742245e4366579f9a80f8cfe4a63248e838e0; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < b308fdedef095aac14569f810d46edf773ea7d1e; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 71d2abab374f707ab8ac8dcef191fd2b3b67b8bd; >= 1e7c57355a3bc617fc220234889e49fe722a6305, < 7b51161696e803fd5f9ad55b20a64c2df313f95c; >= 5.10.65, < 5.10.163; Linux 5.13.

Is there a fix for CVE-2022-50537?

Yes. Fixed in Linux 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49, Linux 6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34, Linux 71d2abab374f707ab8ac8dcef191fd2b3b67b8bd, Linux 7b51161696e803fd5f9ad55b20a64c2df313f95c, Linux 5.10.163. Upgrade Linux to 5.10.163 or later.

How do I check if I'm affected by CVE-2022-50537?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors