video: fbdev: amba-clcd: Fix refcount leak bugs
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d10715be03bd8bad59ddc50236cb140c3bd73c7b · < a51519ebd0fdad3546463018b8f6bc3b0f4d3032| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
video: fbdev: amba-clcd: Fix refcount leak bugs
In clcdfb_of_init_display(), we should call of_node_put() for the references returned by of_graph_get_next_endpoint() and of_graph_get_remote_port_parent() which have increased the refcount.
Besides, we should call of_node_put() both in fail path or when the references are not used anymore.
From the CVE record · Linux
The Linux kernel's amba-clcd framebuffer driver leaks device-tree node references during display initialization, including on failure paths. The input does not describe how an attacker could trigger or exploit the leak, or specify access or user-interaction requirements.
Engineers running Linux kernels with the amba-clcd framebuffer driver should check whether their kernel is affected; no affected versions are specified.