# mtd: partitions: Fix refcount leak in parse_redboot_of

CVE record · `CVE-2022-50158`

- **Identifiers:** `CVE-2022-50158`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Jun 2025
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 11:03 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: `6490ed7c4684caf9851a0b98e0ab17a8d693dada to before f3cc27198c5d78cdda60a55ae749f815cd1fe5eb` (git)
  - affected: `2f8824f556a3ebea9840c53326e55cc183316611 to before 55d0f7da66dec93c4d53d0886a1555618079a900` (git)
  - affected: `237960880960863fb41888763d635b384cffb104 to before 8ea607579d300b2f7fc997f3dd20949114565fcd` (git)
  - affected: `237960880960863fb41888763d635b384cffb104 to before 7ec48ac18d8f9e002ce9bfbad32741086739e499` (git)
  - affected: `237960880960863fb41888763d635b384cffb104 to before e24af43d0cbe9f6aaa413c15ccce50bbbfd61e0e` (git)
  - affected: `237960880960863fb41888763d635b384cffb104 to before 9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016` (git)
  - affected: `fa132c7ea108eacc67357ffe3172d3e68fcd71a2` (git)
  - affected: `d5023eb76f0dc651558b0c7ba04565891ff18435` (git)
  - affected: `5.4.132 to before 5.4.211` (semver)
  - affected: `5.10.50 to before 5.10.137` (semver)
  - affected: `5.12.17 to before 5.13` (semver)
  - affected: `5.13.2 to before 5.14` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.14`
  - unaffected: `before 5.14` (semver)
  - unaffected: `5.4.211 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.137 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.61 to 5.15.*, inclusive` (semver)
  - unaffected: `5.18.18 to 5.18.*, inclusive` (semver)
  - unaffected: `5.19.2 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## 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.0020, the 10th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 18 Jun 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/f3cc27198c5d78cdda60a55ae749f815cd1fe5eb>
- <https://git.kernel.org/stable/c/55d0f7da66dec93c4d53d0886a1555618079a900>
- <https://git.kernel.org/stable/c/8ea607579d300b2f7fc997f3dd20949114565fcd>
- <https://git.kernel.org/stable/c/7ec48ac18d8f9e002ce9bfbad32741086739e499>
- <https://git.kernel.org/stable/c/e24af43d0cbe9f6aaa413c15ccce50bbbfd61e0e>
- <https://git.kernel.org/stable/c/9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016>

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-50158>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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