drm/logicvc: Fix device node reference leak in logicvc_drm_config_parse()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ efeeaefe9be56e8ae5e5b4e9ff6d2275ec977ec5 · < fef0e649f8b42bdffe4a916dd46e1b1e9ad2f207| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/logicvc: Fix device node reference leak in logicvc_drm_config_parse()
The logicvc_drm_config_parse() function calls of_get_child_by_name() to find the "layers" node but fails to release the reference, leading to a device node reference leak.
Fix this by using the __free(device_node) cleanup attribute to automatic release the reference when the variable goes out of scope.
From the CVE record · Linux
The Linux kernel's logicvc_drm_config_parse() fails to release a reference to the "layers" device node, causing a reference leak. The input does not specify how an attacker could trigger the leak or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the drm/logicvc component should check their versions; affected versions are not specified.