5.5medium
media: nuvoton: Fix an error check in npcm_video_ece_init()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: media: nuvoton: Fix an error check in npcm_video_ece_init() When function of_find_device_by_node() fails, it returns NULL instead of an error code. So the corresponding error check logic should be modified to check whether the return value is NULL and set the error code to be returned as -ENODEV.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 46c15a4ff1f4fe078c5b250fb2570020211eab38 before bdd823b9d068284e1d998b962cfef29236365df3, from 46c15a4ff1f4fe078c5b250fb2570020211eab38 before c36b830754ae1dd1db41c27f57b29267878f9702, from 46c15a4ff1f4fe078c5b250fb2570020211eab38 before c4b7779abc6633677e6edb79e2809f4f61fde157, 6.7 Not affected: before 6.7, from 6.12.14 up to 6.12.*, from 6.13.3 up to 6.13.*, from 6.14 up to * | CVE List |
| linux linux_kernel | from 6.7 before 6.12.14, from 6.13 before 6.13.3 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: media: nuvoton: Fix an error check in npcm_video_ece_init() When function of_find_device_by_node() fails, it returns NULL instead of an error code. So the corresponding error check logic should be modified to check whether the return value is NULL and set the error code to be returned as -ENODEV.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: nuvoton: Se corrige una comprobación de errores en npcm_video_ece_init(). Cuando la función of_find_device_by_node() falla, devuelve NULL en lugar de un código de error. Por lo tanto, se debe modificar la lógica de comprobación de errores correspondiente para verificar si el valor de retorno es NULL y establecer el código de error que se devolverá como -ENODEV.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-58082 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-58082 changed 2026-06-17 | Public domain |