CVE-2022-50574
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/omap: dss: Fix refcount leak bugs
In dss_init_ports() and __dss_uninit_ports(), we should call of_node_put() for the reference returned by of_graph_get_port_by_id() in fail path or when it is not used anymore.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Refcount leak in Linux kernel's omapdrm driver due to missing of_node_put() in error paths; patched in stable updates.
Vulnerability
Description
In the Linux kernel's DRM subsystem for OMAP, the functions dss_init_ports() and __dss_uninit_ports() fail to release references obtained via of_graph_get_port_by_id(). This results in a reference count leak when error conditions occur or when the references are no longer needed [1][2][3].
Exploitation and
Impact
An attacker with local access could potentially trigger the leak by repeatedly causing device tree parsing errors, leading to memory exhaustion over time. The vulnerability requires no special privileges beyond the ability to trigger driver initialization or deinitialization, such as through hot-plug events or system resume. While not directly exploitable for code execution or privilege escalation, the leak degrades system reliability and could contribute to denial-of-service conditions.
Mitigation
The issue is fixed by adding calls to of_node_put() in the appropriate error and cleanup paths. Patches have been submitted and accepted into the Linux kernel stable tree, as seen in commits referenced by [1], [2], and [3]. Users are advised to apply the latest stable kernel updates from their distribution vendor.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
68f7c4114db848b42057e62129d7af9b1624d1f340e1c1c74a5ce83e85d79e55261beb86aVulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6- git.kernel.org/stable/c/1f340e1c1c74d11c45a6e32663829b26acd4f47bnvd
- git.kernel.org/stable/c/8b42057e62120813ebe9274f508fa785b7cab33anvd
- git.kernel.org/stable/c/8f7c4114db841497e1148598e22548dd1f700b22nvd
- git.kernel.org/stable/c/9d7af9b1624dd70b67354972d7297429e6372091nvd
- git.kernel.org/stable/c/a5ce83e85d795ec98697039ecc518b21d5810adcnvd
- git.kernel.org/stable/c/e55261beb86a15c190b2ff9090cb47bc06765353nvd
News mentions
0No linked articles in our index yet.