5.5medium
drm/logicvc: Fix device node reference leak in logicvc_drm_config_parse()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from efeeaefe9be56e8ae5e5b4e9ff6d2275ec977ec5 before b88f49910be147b7974098b9172b0d3873142d6a, from efeeaefe9be56e8ae5e5b4e9ff6d2275ec977ec5 before 0bd326dffd9e103335d77d9c31275c0d5a7979eb, from efeeaefe9be56e8ae5e5b4e9ff6d2275ec977ec5 before 871630255ecd2d9b64ad1d75a7dfc0567d7d9989, from efeeaefe9be56e8ae5e5b4e9ff6d2275ec977ec5 before f8a6eba20edb938166b26e133cc61306e1bc6de9, from efeeaefe9be56e8ae5e5b4e9ff6d2275ec977ec5 before 78e91e49d28e05ccaa6b445bafb5e367d57c9583, from efeeaefe9be56e8ae5e5b4e9ff6d2275ec977ec5 before fef0e649f8b42bdffe4a916dd46e1b1e9ad2f207, 6.0 Not affected: before 6.0, from 6.1.167 up to 6.1.*, from 6.6.130 up to 6.6.*, from 6.12.77 up to 6.12.*, from 6.18.17 up to 6.18.*, from 6.19.7 up to 6.19.* | CVE List |
| linux linux_kernel | from 6.0.1 before 6.1.167, from 6.2 before 6.6.130, from 6.7 before 6.12.77, from 6.13 before 6.18.17, from 6.19 before 6.19.7, 6.0, 7.0 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/logicvc: Corrige la fuga de referencia del nodo de dispositivo en logicvc_drm_config_parse() La función logicvc_drm_config_parse() llama a of_get_child_by_name() para encontrar el nodo 'layers' pero no libera la referencia, lo que lleva a una fuga de referencia del nodo de dispositivo. Soluciona esto usando el atributo de limpieza __free(device_node) para liberar automáticamente la referencia cuando la variable sale de ámbito.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23426 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-23426 changed 2026-07-24 | Public domain |