{"id":"CVE-2022-49752","state":"PUBLISHED","title":"device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndevice property: fix of node refcount leak in fwnode_graph_get_next_endpoint()\n\nThe 'parent' returned by fwnode_graph_get_port_parent()\nwith refcount incremented when 'prev' is not NULL, it\nneeds be put when finish using it.\n\nBecause the parent is const, introduce a new variable to\nstore the returned fwnode, then put it before returning\nfrom fwnode_graph_get_next_endpoint().","publishedAt":"2025-03-27T16:43:00.584Z","updatedAt":"2026-05-11T19:06:05.639Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"91b31ca76300fd36d5049c5879e68dfb3edc7a5c","status":"affected","lessThan":"e0472947bead3af94cc968ce35fc0414803a2f65","versionType":"git"},{"version":"b5b41ab6b0c1bb70fe37a0d193006c969e3b5909","status":"affected","lessThan":"7701a4bd45c11f9a289d8f262fad05705a012339","versionType":"git"},{"version":"b5b41ab6b0c1bb70fe37a0d193006c969e3b5909","status":"affected","lessThan":"e75485fc589ec729cc182aa9b41dfb6c15ae6f6e","versionType":"git"},{"version":"b5b41ab6b0c1bb70fe37a0d193006c969e3b5909","status":"affected","lessThan":"39af728649b05e88a2b40e714feeee6451c3f18e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/property.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.91","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.9","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/property.c"]}],"references":["https://git.kernel.org/stable/c/e0472947bead3af94cc968ce35fc0414803a2f65","https://git.kernel.org/stable/c/7701a4bd45c11f9a289d8f262fad05705a012339","https://git.kernel.org/stable/c/e75485fc589ec729cc182aa9b41dfb6c15ae6f6e","https://git.kernel.org/stable/c/39af728649b05e88a2b40e714feeee6451c3f18e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49752.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49752","state":"PUBLISHED","datePublished":"2025-03-27T16:43:00.584Z","dateUpdated":"2026-05-11T19:06:05.639Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-03-27T16:39:17.988Z"},"containers":{"cna":{"title":"device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndevice property: fix of node refcount leak in fwnode_graph_get_next_endpoint()\n\nThe 'parent' returned by fwnode_graph_get_port_parent()\nwith refcount incremented when 'prev' is not NULL, it\nneeds be put when finish using it.\n\nBecause the parent is const, introduce a new variable to\nstore the returned fwnode, then put it before returning\nfrom fwnode_graph_get_next_endpoint()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"91b31ca76300fd36d5049c5879e68dfb3edc7a5c","status":"affected","lessThan":"e0472947bead3af94cc968ce35fc0414803a2f65","versionType":"git"},{"version":"b5b41ab6b0c1bb70fe37a0d193006c969e3b5909","status":"affected","lessThan":"7701a4bd45c11f9a289d8f262fad05705a012339","versionType":"git"},{"version":"b5b41ab6b0c1bb70fe37a0d193006c969e3b5909","status":"affected","lessThan":"e75485fc589ec729cc182aa9b41dfb6c15ae6f6e","versionType":"git"},{"version":"b5b41ab6b0c1bb70fe37a0d193006c969e3b5909","status":"affected","lessThan":"39af728649b05e88a2b40e714feeee6451c3f18e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/property.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.91","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.9","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/property.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e0472947bead3af94cc968ce35fc0414803a2f65"},{"url":"https://git.kernel.org/stable/c/7701a4bd45c11f9a289d8f262fad05705a012339"},{"url":"https://git.kernel.org/stable/c/e75485fc589ec729cc182aa9b41dfb6c15ae6f6e"},{"url":"https://git.kernel.org/stable/c/39af728649b05e88a2b40e714feeee6451c3f18e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:06:05.639Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-49752","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T19:24:50.417464Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T19:26:35.733Z"}}]}}}