video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d10715be03bd8bad59ddc50236cb140c3bd73c7b · < f2dfb4ab887d67be7d0892ba041d3c8d738d3356| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup
of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.
From the CVE record · Linux
The Linux kernel's clcdfb_of_vram_setup function leaks a device-tree node reference by not releasing a pointer returned by of_parse_phandle(). The input does not establish how an attacker could trigger the leak or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the clcdfb video driver should check their deployments; affected versions are not specified.