# powerpc/xive: Fix refcount leak in xive_get_max_prio

CVE record · `CVE-2022-50104`

- **Identifiers:** `CVE-2022-50104`
- **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:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 11:02 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: `eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before 5ed9709d262bf026b2ff64979fbfe0f496287588` (git)
  - affected: `eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before f658d5b528ce97a68efbb64ee54f6fe0909b189a` (git)
  - affected: `eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before d99733ad47a6c990b52e136608455643bfa708f2` (git)
  - affected: `eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before 6d1e53f7f181a11a8a343def1e0d0209905b7c64` (git)
  - affected: `eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before ea494e8a9852abd0ba60f69b254ce0d7c38449e2` (git)
  - affected: `eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before 2e18b869a8d574cfe9ee64df9c3d0a7ac7ed07a8` (git)
  - affected: `eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before 79b8eae24b7ee157bda07695d802be8576983fa8` (git)
  - affected: `eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before 255b650cbec6849443ce2e0cdd187fd5e61c218c` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.14`
  - unaffected: `before 4.14` (semver)
  - unaffected: `4.14.291 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.256 to 4.19.*, inclusive` (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

## Machine-written summary

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

> The Linux kernel's powerpc XIVE code had a reference count leak in xive_get_max_prio, where a device tree node obtained via of_find_node_by_path() was never released. The source gives few details about impact or attacker access. Affected Linux kernel versions are listed as ranges from commit eac1e731b59ee3b5f5e641a7765c7ed41ed26226 up to several fixed commits, and 4.14 is listed as affected. Upgrade to a fixed stable kernel release for your branch, such as 4.14.291 or later in the 4.14 series, 4.19.256 or later, 5.4.211 or later, or 5.10.137 or later.

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

## Timeline

- 18 Jun 2025, 11:02 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50104)
- 18 Jun 2025, 11:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50104)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/5ed9709d262bf026b2ff64979fbfe0f496287588>
- <https://git.kernel.org/stable/c/f658d5b528ce97a68efbb64ee54f6fe0909b189a>
- <https://git.kernel.org/stable/c/d99733ad47a6c990b52e136608455643bfa708f2>
- <https://git.kernel.org/stable/c/6d1e53f7f181a11a8a343def1e0d0209905b7c64>
- <https://git.kernel.org/stable/c/ea494e8a9852abd0ba60f69b254ce0d7c38449e2>
- <https://git.kernel.org/stable/c/2e18b869a8d574cfe9ee64df9c3d0a7ac7ed07a8>
- <https://git.kernel.org/stable/c/79b8eae24b7ee157bda07695d802be8576983fa8>
- <https://git.kernel.org/stable/c/255b650cbec6849443ce2e0cdd187fd5e61c218c>

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

---

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