# memory: of: Fix refcount leak bug in of_get_ddr_timings()

CVE record · `CVE-2022-50249`

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

Published by the CVE Program (CNA: Linux) at 15 Sept 2025, 14: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: `e6b42eb6a66c188642aeb447312938c6f6ebee86 to before a4d0bd4388e1a39df47e8aaa044ef6a7ee626e48` (git)
  - affected: `e6b42eb6a66c188642aeb447312938c6f6ebee86 to before a4f7eb83852a65b6f8dea7dcc42b7c76d4d9b0a3` (git)
  - affected: `e6b42eb6a66c188642aeb447312938c6f6ebee86 to before 68c9c4e6495b825be3a8946df1a0148399555fe4` (git)
  - affected: `e6b42eb6a66c188642aeb447312938c6f6ebee86 to before 85a40bfb8e7a170abcf9dae2c0898a1983e48daa` (git)
  - affected: `e6b42eb6a66c188642aeb447312938c6f6ebee86 to before daaec4b3fe2297b022c6b2d6bf48b6e5265a60b9` (git)
  - affected: `e6b42eb6a66c188642aeb447312938c6f6ebee86 to before 2680690f9ce4e6abbb4f559e97271c15b7eeda97` (git)
  - affected: `e6b42eb6a66c188642aeb447312938c6f6ebee86 to before 62ccab6e3376f8a22167c3b81468ae4f3e7d25f1` (git)
  - affected: `e6b42eb6a66c188642aeb447312938c6f6ebee86 to before 1c6cac6fa4d08aea161f83d38117d733b3c3a000` (git)
  - affected: `e6b42eb6a66c188642aeb447312938c6f6ebee86 to before 05215fb32010d4afb68fbdbb4d237df6e2d4567b` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.7`
  - unaffected: `before 3.7` (semver)
  - unaffected: `4.9.331 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.296 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.262 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.220 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.150 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.75 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.17 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0.3 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 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 memory subsystem, in the of_get_ddr_timings() function, leaks a device tree node reference count when the loop over child nodes exits early. The source gives few details about the attack path or impact. Affected versions run from commit e6b42eb6a66c188642aeb447312938c6f6ebee86 up to the listed fixed commits, and from 3.7 in the stable branches; fixed stable releases include 4.9.331, 4.14.296, 4.19.262 and 5.4.220. Upgrade to a fixed kernel version for 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.0017, the 6th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

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

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/a4d0bd4388e1a39df47e8aaa044ef6a7ee626e48>
- <https://git.kernel.org/stable/c/a4f7eb83852a65b6f8dea7dcc42b7c76d4d9b0a3>
- <https://git.kernel.org/stable/c/68c9c4e6495b825be3a8946df1a0148399555fe4>
- <https://git.kernel.org/stable/c/85a40bfb8e7a170abcf9dae2c0898a1983e48daa>
- <https://git.kernel.org/stable/c/daaec4b3fe2297b022c6b2d6bf48b6e5265a60b9>
- <https://git.kernel.org/stable/c/2680690f9ce4e6abbb4f559e97271c15b7eeda97>
- <https://git.kernel.org/stable/c/62ccab6e3376f8a22167c3b81468ae4f3e7d25f1>
- <https://git.kernel.org/stable/c/1c6cac6fa4d08aea161f83d38117d733b3c3a000>
- <https://git.kernel.org/stable/c/05215fb32010d4afb68fbdbb4d237df6e2d4567b>

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

---

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