{"id":"CVE-2022-50429","state":"PUBLISHED","title":"memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmemory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()\n\nWe should add the of_node_put() when breaking out of\nfor_each_child_of_node() as it will automatically increase\nand decrease the refcount.","publishedAt":"2025-10-01T11:42:07.973Z","updatedAt":"2026-05-11T19:19:19.520Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"976897dd96db94c74209d0a0671d7a73aa02fab9","status":"affected","lessThan":"1d312c12c91f831fcc48623c921f2d4560edb159","versionType":"git"},{"version":"976897dd96db94c74209d0a0671d7a73aa02fab9","status":"affected","lessThan":"7e053784c4c70df28324106d476778be7a4519b3","versionType":"git"},{"version":"976897dd96db94c74209d0a0671d7a73aa02fab9","status":"affected","lessThan":"daab421fc2dc7d6ae7eb20a3f565ae09652c68b9","versionType":"git"},{"version":"976897dd96db94c74209d0a0671d7a73aa02fab9","status":"affected","lessThan":"3b321bf7687968a090cf6b62bd8e67d692f59a16","versionType":"git"},{"version":"976897dd96db94c74209d0a0671d7a73aa02fab9","status":"affected","lessThan":"48af14fb0eaa63d9aa68f59fb0b205ec55a95636","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/memory/of_memory.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.5","versionType":"semver"},{"version":"5.10.150","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.75","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.19.17","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0.3","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/memory/of_memory.c"]}],"references":["https://git.kernel.org/stable/c/1d312c12c91f831fcc48623c921f2d4560edb159","https://git.kernel.org/stable/c/7e053784c4c70df28324106d476778be7a4519b3","https://git.kernel.org/stable/c/daab421fc2dc7d6ae7eb20a3f565ae09652c68b9","https://git.kernel.org/stable/c/3b321bf7687968a090cf6b62bd8e67d692f59a16","https://git.kernel.org/stable/c/48af14fb0eaa63d9aa68f59fb0b205ec55a95636"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50429.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50429","state":"PUBLISHED","datePublished":"2025-10-01T11:42:07.973Z","dateUpdated":"2026-05-11T19:19:19.520Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-09-17T14:53:07.009Z"},"containers":{"cna":{"title":"memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmemory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()\n\nWe should add the of_node_put() when breaking out of\nfor_each_child_of_node() as it will automatically increase\nand decrease the refcount."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"976897dd96db94c74209d0a0671d7a73aa02fab9","status":"affected","lessThan":"1d312c12c91f831fcc48623c921f2d4560edb159","versionType":"git"},{"version":"976897dd96db94c74209d0a0671d7a73aa02fab9","status":"affected","lessThan":"7e053784c4c70df28324106d476778be7a4519b3","versionType":"git"},{"version":"976897dd96db94c74209d0a0671d7a73aa02fab9","status":"affected","lessThan":"daab421fc2dc7d6ae7eb20a3f565ae09652c68b9","versionType":"git"},{"version":"976897dd96db94c74209d0a0671d7a73aa02fab9","status":"affected","lessThan":"3b321bf7687968a090cf6b62bd8e67d692f59a16","versionType":"git"},{"version":"976897dd96db94c74209d0a0671d7a73aa02fab9","status":"affected","lessThan":"48af14fb0eaa63d9aa68f59fb0b205ec55a95636","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/memory/of_memory.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.5","versionType":"semver"},{"version":"5.10.150","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.75","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.19.17","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0.3","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/memory/of_memory.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1d312c12c91f831fcc48623c921f2d4560edb159"},{"url":"https://git.kernel.org/stable/c/7e053784c4c70df28324106d476778be7a4519b3"},{"url":"https://git.kernel.org/stable/c/daab421fc2dc7d6ae7eb20a3f565ae09652c68b9"},{"url":"https://git.kernel.org/stable/c/3b321bf7687968a090cf6b62bd8e67d692f59a16"},{"url":"https://git.kernel.org/stable/c/48af14fb0eaa63d9aa68f59fb0b205ec55a95636"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:19:19.520Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.150"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.15.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.19.17"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.0.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}