{"id":"CVE-2022-49752","summary":"device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()","details":"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().","modified":"2026-03-20T11:47:12.809587Z","published":"2025-03-27T16:43:00.584Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49752.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/39af728649b05e88a2b40e714feeee6451c3f18e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7701a4bd45c11f9a289d8f262fad05705a012339"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e75485fc589ec729cc182aa9b41dfb6c15ae6f6e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49752.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49752"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b5b41ab6b0c1bb70fe37a0d193006c969e3b5909"},{"fixed":"7701a4bd45c11f9a289d8f262fad05705a012339"},{"fixed":"e75485fc589ec729cc182aa9b41dfb6c15ae6f6e"},{"fixed":"39af728649b05e88a2b40e714feeee6451c3f18e"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49752.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}