← CVE Intelligence

CVE-2024-58082

media: nuvoton: Fix an error check in npcm_video_ece_init() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 46c15a4ff1f4fe078c5b250fb2570020211eab38 before bdd823b9d068284e1d998b962cfef29236365df3; affected 46c15a4ff1f4fe078c5b250fb2570020211eab38 before c36b830754ae1dd1db41c27f57b29267878f9702; affected 46c15a4ff1f4fe078c5b250fb2570020211eab38 before c4b7779abc6633677e6edb79e2809f4f61fde157
Linux / Linuxaffected 6.7; unaffected 0 before 6.7; unaffected 6.12.14 through 6.12.*; unaffected 6.13.3 through 6.13.*; unaffected 6.14 through *

CWE

No CWE identifiers supplied.

References