UnratedFix available
memory: of: Fix refcount leak bug in of_get_ddr_timings()
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: memory: of: Fix refcount leak bug in of_get_ddr_timings() We should add the of_node_put() when breaking out of for_each_child_of_node() as it will automatically increase and decrease the refcount.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.14.296, 4.19.262, 4.9.331, 5.10.150, 5.15.75, 5.19.17, 5.4.220, 6.0.3
- CVEs
- CVE-2022-50249
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 10:34 UTC · Revision 1
Source evidence
memory: of: Fix refcount leak bug in of_get_ddr_timings()
core-osv · Original sourcePublished 15 Sept 2025, 14:02 UTC
In the Linux kernel, the following vulnerability has been resolved: memory: of: Fix refcount leak bug in of_get_ddr_timings() We should add the of_node_put() when breaking out of for_each_child_of_node() as it will automatically increase and decrease the refcount.
osv:CVE-2022-50249
Kernel
Fixed versions: 4.9.331, 4.14.296, 4.19.262, 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3
Complete source record
{
"id": "ff139cc0271abbfd1c22b9acea2846f708b64525df4e99dbe55f852db2b2606b",
"url": "https://osv.dev/vulnerability/CVE-2022-50249",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "memory: of: Fix refcount leak bug in of_get_ddr_timings()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: memory: of: Fix refcount leak bug in of_get_ddr_timings() We should add the of_node_put() when breaking out of for_each_child_of_node() as it will automatically increase and decrease the refcount.",
"evidence": "osv:CVE-2022-50249",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.9.331",
"evidence": "/affected/1/ranges"
},
{
"value": "4.14.296",
"evidence": "/affected/1/ranges"
},
{
"value": "4.19.262",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.220",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.150",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.75",
"evidence": "/affected/1/ranges"
},
{
"value": "5.19.17",
"evidence": "/affected/1/ranges"
},
{
"value": "6.0.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2022-50249",
"aliases": [
"CVE-2022-50249"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "e6b42eb6a66c188642aeb447312938c6f6ebee86"
},
{
"fixed": "a4d0bd4388e1a39df47e8aaa044ef6a7ee626e48"
},
{
"fixed": "a4f7eb83852a65b6f8dea7dcc42b7c76d4d9b0a3"
},
{
"fixed": "68c9c4e6495b825be3a8946df1a0148399555fe4"
},
{
"fixed": "85a40bfb8e7a170abcf9dae2c0898a1983e48daa"
},
{
"fixed": "daaec4b3fe2297b022c6b2d6bf48b6e5265a60b9"
},
{
"fixed": "2680690f9ce4e6abbb4f559e97271c15b7eeda97"
},
{
"fixed": "62ccab6e3376f8a22167c3b81468ae4f3e7d25f1"
},
{
"fixed": "1c6cac6fa4d08aea161f83d38117d733b3c3a000"
},
{
"fixed": "05215fb32010d4afb68fbdbb4d237df6e2d4567b"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50249.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.7.0"
},
{
"fixed": "4.9.331"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.10.0"
},
{
"fixed": "4.14.296"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.19.262"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.220"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.150"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.75"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "5.19.17"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.20.0"
},
{
"fixed": "6.0.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50249.json"
}
}
],
"modified": "2026-10-28T02:30:28.016155361Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/05215fb32010d4afb68fbdbb4d237df6e2d4567b",
"https://git.kernel.org/stable/c/1c6cac6fa4d08aea161f83d38117d733b3c3a000",
"https://git.kernel.org/stable/c/2680690f9ce4e6abbb4f559e97271c15b7eeda97",
"https://git.kernel.org/stable/c/62ccab6e3376f8a22167c3b81468ae4f3e7d25f1",
"https://git.kernel.org/stable/c/68c9c4e6495b825be3a8946df1a0148399555fe4",
"https://git.kernel.org/stable/c/85a40bfb8e7a170abcf9dae2c0898a1983e48daa",
"https://git.kernel.org/stable/c/a4d0bd4388e1a39df47e8aaa044ef6a7ee626e48",
"https://git.kernel.org/stable/c/a4f7eb83852a65b6f8dea7dcc42b7c76d4d9b0a3",
"https://git.kernel.org/stable/c/daaec4b3fe2297b022c6b2d6bf48b6e5265a60b9",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50249.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-50249",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50249.json"
}
},
"related_cves": [
{
"value": "CVE-2022-50249",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 494568,
"published_at": "2025-09-15T14:02:09.213+00:00"
}