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

CVE record · `CVE-2022-50537`

- **Identifiers:** `CVE-2022-50537`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 7 Oct 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 7 Oct 2025, 15:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `d537afa08e156a0a72562e625506825c2776fcfa to before 62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49` (git)
  - affected: `60831f5ae6c713afceb6d29f40899ed112f36059 to before d34742245e4366579f9a80f8cfe4a63248e838e0` (git)
  - affected: `1e7c57355a3bc617fc220234889e49fe722a6305 to before b308fdedef095aac14569f810d46edf773ea7d1e` (git)
  - affected: `1e7c57355a3bc617fc220234889e49fe722a6305 to before 6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34` (git)
  - affected: `1e7c57355a3bc617fc220234889e49fe722a6305 to before 71d2abab374f707ab8ac8dcef191fd2b3b67b8bd` (git)
  - affected: `1e7c57355a3bc617fc220234889e49fe722a6305 to before 7b51161696e803fd5f9ad55b20a64c2df313f95c` (git)
  - affected: `5.10.65 to before 5.10.163` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.13`
  - unaffected: `before 5.13` (semver)
  - unaffected: `5.10.163 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.86 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.16 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.2 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's Raspberry Pi firmware driver leaks memory in rpi_firmware_probe() when mailbox channel setup fails, because the allocated structure is not freed. The source gives few details about who can trigger it or its wider impact. Upgrade to 5.10.163 or later, 5.15.86 or later, 6.0.16 or later, or 6.1.2 or later, depending on your branch.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 5th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 7 Oct 2025, 15:21 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50537)
- 7 Oct 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50537)

## Sources

- [CVE List: CVE-2022-50537](https://www.cve.org/CVERecord?id=CVE-2022-50537)
- [NVD: CVE-2022-50537](https://nvd.nist.gov/vuln/detail/CVE-2022-50537)

### References from the CNA

- <https://git.kernel.org/stable/c/62ac943eb2a9d655e431b9bc98ff6d7bd51a0e49>
- <https://git.kernel.org/stable/c/d34742245e4366579f9a80f8cfe4a63248e838e0>
- <https://git.kernel.org/stable/c/b308fdedef095aac14569f810d46edf773ea7d1e>
- <https://git.kernel.org/stable/c/6757dd2193fe18c5c5fe3050e7f2ff9dcbd1ff34>
- <https://git.kernel.org/stable/c/71d2abab374f707ab8ac8dcef191fd2b3b67b8bd>
- <https://git.kernel.org/stable/c/7b51161696e803fd5f9ad55b20a64c2df313f95c>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50537>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50537/>. Everything for agents: <https://agentprime.io/llms.txt>.
