drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bbbe775ec5b5dace43a35886da9924837da09ddd · < 8dec38e19f6928235d4009ce55f7add8af34e5c7| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
In this function, there are two refcount leak bugs: (1) when breaking out of for_each_endpoint_of_node(), we need call the of_node_put() for the 'ep'; (2) we should call of_node_put() for the reference returned by of_graph_get_remote_port() when it is not used anymore.
From the CVE record · Linux
The Linux kernel’s drm/meson connector check leaks node references on two code paths. The input does not specify whether an attacker can trigger the leaks or what access or interaction would be required.
Engineers running the Linux kernel with drm/meson should check their deployments; affected versions were not provided.