{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-58082","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-03-06T15:52:09.183Z","datePublished":"2025-03-06T16:13:44.896Z","dateUpdated":"2026-05-11T21:02:56.944Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:02:56.944Z"},"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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/nuvoton/npcm-video.c"],"versions":[{"version":"46c15a4ff1f4fe078c5b250fb2570020211eab38","lessThan":"bdd823b9d068284e1d998b962cfef29236365df3","status":"affected","versionType":"git"},{"version":"46c15a4ff1f4fe078c5b250fb2570020211eab38","lessThan":"c36b830754ae1dd1db41c27f57b29267878f9702","status":"affected","versionType":"git"},{"version":"46c15a4ff1f4fe078c5b250fb2570020211eab38","lessThan":"c4b7779abc6633677e6edb79e2809f4f61fde157","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/nuvoton/npcm-video.c"],"versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","status":"unaffected","versionType":"semver"},{"version":"6.12.14","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.3","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"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"}]}]}],"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"}],"title":"media: nuvoton: Fix an error check in npcm_video_ece_init()","x_generator":{"engine":"bippy-1.2.0"}}}}