{"id":"CVE-2024-58082","state":"PUBLISHED","title":"media: nuvoton: Fix an error check in npcm_video_ece_init()","description":"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.","publishedAt":"2025-03-06T16:13:44.896Z","updatedAt":"2026-05-11T21:02:56.944Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"46c15a4ff1f4fe078c5b250fb2570020211eab38","status":"affected","lessThan":"bdd823b9d068284e1d998b962cfef29236365df3","versionType":"git"},{"version":"46c15a4ff1f4fe078c5b250fb2570020211eab38","status":"affected","lessThan":"c36b830754ae1dd1db41c27f57b29267878f9702","versionType":"git"},{"version":"46c15a4ff1f4fe078c5b250fb2570020211eab38","status":"affected","lessThan":"c4b7779abc6633677e6edb79e2809f4f61fde157","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/nuvoton/npcm-video.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.14","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.3","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/nuvoton/npcm-video.c"]}],"references":["https://git.kernel.org/stable/c/bdd823b9d068284e1d998b962cfef29236365df3","https://git.kernel.org/stable/c/c36b830754ae1dd1db41c27f57b29267878f9702","https://git.kernel.org/stable/c/c4b7779abc6633677e6edb79e2809f4f61fde157"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/58xxx/CVE-2024-58082.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-58082","state":"PUBLISHED","datePublished":"2025-03-06T16:13:44.896Z","dateUpdated":"2026-05-11T21:02:56.944Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-03-06T15:52:09.183Z"},"containers":{"cna":{"title":"media: nuvoton: Fix an error check in npcm_video_ece_init()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"46c15a4ff1f4fe078c5b250fb2570020211eab38","status":"affected","lessThan":"bdd823b9d068284e1d998b962cfef29236365df3","versionType":"git"},{"version":"46c15a4ff1f4fe078c5b250fb2570020211eab38","status":"affected","lessThan":"c36b830754ae1dd1db41c27f57b29267878f9702","versionType":"git"},{"version":"46c15a4ff1f4fe078c5b250fb2570020211eab38","status":"affected","lessThan":"c4b7779abc6633677e6edb79e2809f4f61fde157","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/nuvoton/npcm-video.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.14","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.3","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/nuvoton/npcm-video.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/bdd823b9d068284e1d998b962cfef29236365df3"},{"url":"https://git.kernel.org/stable/c/c36b830754ae1dd1db41c27f57b29267878f9702"},{"url":"https://git.kernel.org/stable/c/c4b7779abc6633677e6edb79e2809f4f61fde157"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:02:56.944Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.13.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.14"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}