drm/rockchip: analogix_dp: Fix OF node reference leak via auto cleanup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.527.2.67.3In the Linux kernel, the following vulnerability has been resolved:
drm/rockchip: analogix_dp: Fix OF node reference leak via auto cleanup
Sashiko reported a reference leak in rockchip_dp_drm_encoder_enable(), the of_get_child_by_name() function does not call of_node_put() in a symmetrical way [1].
Fix the device node reference leak by using __free(device_node) to automatically manage of_node_put() for all device nodes.
From the CVE record · Linux
The Linux kernel's Rockchip Analogix DP driver leaks a device-node reference in rockchip_dp_drm_encoder_enable(). The input does not describe an attacker impact or specify whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running Linux kernels with the Rockchip Analogix DP driver should check their versions; affected versions are not specified.