What’s Vulnerable › Vulnerabilities
CVE-2022-49752: device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-27 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: device property: fix of node refcount leak in fwnode_graph_get_next_endpoint() The 'parent' returned by fwnode_graph_get_port_parent() with refcount incremented when 'prev' is not NULL, it needs be put when finish using it. Because the parent is const, introduce a new variable to store the returned fwnode, then put it before returning from fwnode_graph_get_next_endpoint().
Affected products
- Linux kernel: from 5.15 before 5.15.91; from 5.16 before 6.1.9; 6.2-rc1, 6.2-rc2, 6.2-rc3, 6.2-rc4 — fixed in 5.15.91, 6.1.9
How to fix
Upgrade to a fixed version: Linux kernel 5.15.91, 6.1.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/39af728649b05e88a2b40e714feeee6451c3f18e
- https://git.kernel.org/stable/c/7701a4bd45c11f9a289d8f262fad05705a012339
- https://git.kernel.org/stable/c/e0472947bead3af94cc968ce35fc0414803a2f65
- https://git.kernel.org/stable/c/e75485fc589ec729cc182aa9b41dfb6c15ae6f6e
Get alerted when CVE-2022-49752 or the next vulnerability affects your stack