{"id":"CVE-2023-52571","state":"PUBLISHED","title":"power: supply: rk817: Fix node refcount leak","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: rk817: Fix node refcount leak\n\nDan Carpenter reports that the Smatch static checker warning has found\nthat there is another refcount leak in the probe function. While\nof_node_put() was added in one of the return paths, it should in\nfact be added for ALL return paths that return an error and at driver\nremoval time.","publishedAt":"2024-03-02T21:59:41.348Z","updatedAt":"2026-05-23T15:26:18.541Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7d1e3961725e69774871b081a065c2b3640c5f0e","status":"affected","lessThan":"fe6406238d5a24e9fb0286c71edd67b99d8db58d","versionType":"git"},{"version":"54c03bfd094fb74f9533a9c28250219afe182382","status":"affected","lessThan":"70326b46b6a043f7e7404b2ff678b033c06d6577","versionType":"git"},{"version":"54c03bfd094fb74f9533a9c28250219afe182382","status":"affected","lessThan":"488ef44c068e79752dba8eda0b75f524f111a695","versionType":"git"},{"version":"6.1.2","status":"affected","lessThan":"6.1.56","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/power/supply/rk817_charger.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.1.56","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.5.6","status":"unaffected","lessThanOrEqual":"6.5.*","versionType":"semver"},{"version":"6.6","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/power/supply/rk817_charger.c"]}],"references":["https://git.kernel.org/stable/c/fe6406238d5a24e9fb0286c71edd67b99d8db58d","https://git.kernel.org/stable/c/70326b46b6a043f7e7404b2ff678b033c06d6577","https://git.kernel.org/stable/c/488ef44c068e79752dba8eda0b75f524f111a695"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/52xxx/CVE-2023-52571.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52571","state":"PUBLISHED","datePublished":"2024-03-02T21:59:41.348Z","dateUpdated":"2026-05-23T15:26:18.541Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-03-02T21:55:42.567Z"},"containers":{"cna":{"title":"power: supply: rk817: Fix node refcount leak","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: rk817: Fix node refcount leak\n\nDan Carpenter reports that the Smatch static checker warning has found\nthat there is another refcount leak in the probe function. While\nof_node_put() was added in one of the return paths, it should in\nfact be added for ALL return paths that return an error and at driver\nremoval time."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7d1e3961725e69774871b081a065c2b3640c5f0e","status":"affected","lessThan":"fe6406238d5a24e9fb0286c71edd67b99d8db58d","versionType":"git"},{"version":"54c03bfd094fb74f9533a9c28250219afe182382","status":"affected","lessThan":"70326b46b6a043f7e7404b2ff678b033c06d6577","versionType":"git"},{"version":"54c03bfd094fb74f9533a9c28250219afe182382","status":"affected","lessThan":"488ef44c068e79752dba8eda0b75f524f111a695","versionType":"git"},{"version":"6.1.2","status":"affected","lessThan":"6.1.56","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/power/supply/rk817_charger.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.1.56","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.5.6","status":"unaffected","lessThanOrEqual":"6.5.*","versionType":"semver"},{"version":"6.6","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/power/supply/rk817_charger.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/fe6406238d5a24e9fb0286c71edd67b99d8db58d"},{"url":"https://git.kernel.org/stable/c/70326b46b6a043f7e7404b2ff678b033c06d6577"},{"url":"https://git.kernel.org/stable/c/488ef44c068e79752dba8eda0b75f524f111a695"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:26:18.541Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.2","versionEndExcluding":"6.1.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.5.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.1,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-03-05T20:24:56.961928Z","id":"CVE-2023-52571","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-06T16:42:26.167Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/fe6406238d5a24e9fb0286c71edd67b99d8db58d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/70326b46b6a043f7e7404b2ff678b033c06d6577","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/488ef44c068e79752dba8eda0b75f524f111a695","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:03:20.874Z"}}]}}}