{"id":"CVE-2024-58082","summary":"media: nuvoton: Fix an error check in npcm_video_ece_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: nuvoton: Fix an error check in npcm_video_ece_init()\n\nWhen function of_find_device_by_node() fails, it returns NULL instead of\nan error code. So the corresponding error check logic should be modified\nto check whether the return value is NULL and set the error code to be\nreturned as -ENODEV.","modified":"2026-04-02T12:25:31.062597Z","published":"2025-03-06T16:13:44.896Z","related":["USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58082.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/bdd823b9d068284e1d998b962cfef29236365df3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c36b830754ae1dd1db41c27f57b29267878f9702"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c4b7779abc6633677e6edb79e2809f4f61fde157"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58082.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58082"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"46c15a4ff1f4fe078c5b250fb2570020211eab38"},{"fixed":"bdd823b9d068284e1d998b962cfef29236365df3"},{"fixed":"c36b830754ae1dd1db41c27f57b29267878f9702"},{"fixed":"c4b7779abc6633677e6edb79e2809f4f61fde157"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58082.json"}}],"schema_version":"1.7.5"}