Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ARM: OMAP2+: Fix refcount leak in omapdss_init_of omapdss_find_dss_of_node() calls of_find_compatible_node() to get device node. of_find_compatible_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() in later error path and normal path.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e0c827aca0730b51f38081aa4e8ecf0912aab55f before 935035cf97c8cd6794044b500fb0a44a6d30ffa1; affected e0c827aca0730b51f38081aa4e8ecf0912aab55f before 14bac0c7035bf920e190a63c7e1b113c72eadbf4; affected e0c827aca0730b51f38081aa4e8ecf0912aab55f before 230ad40a59c9a9ee8f3822b9a7bec09404102ebc; affected e0c827aca0730b51f38081aa4e8ecf0912aab55f before a32dc6829e33c54e751346aa3e08ddb6d0e1a6a0; affected e0c827aca0730b51f38081aa4e8ecf0912aab55f before 507159facf002d113c4878fec67f37d62f187887; affected e0c827aca0730b51f38081aa4e8ecf0912aab55f before 9705db1eff38d6b9114121f9e253746199b759c9 |
| Linux / Linux | affected 4.20; unaffected 0 before 4.20; unaffected 5.4.211 through 5.4.*; unaffected 5.10.137 through 5.10.*; unaffected 5.15.61 through 5.15.*; unaffected 5.18.18 through 5.18.*; unaffected 5.19.2 through 5.19.*; unaffected 6.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/935035cf97c8cd6794044b500fb0a44a6d30ffa1
- https://git.kernel.org/stable/c/14bac0c7035bf920e190a63c7e1b113c72eadbf4
- https://git.kernel.org/stable/c/230ad40a59c9a9ee8f3822b9a7bec09404102ebc
- https://git.kernel.org/stable/c/a32dc6829e33c54e751346aa3e08ddb6d0e1a6a0
- https://git.kernel.org/stable/c/507159facf002d113c4878fec67f37d62f187887
- https://git.kernel.org/stable/c/9705db1eff38d6b9114121f9e253746199b759c9