CVE-2024-58082 media: nuvoton: Fix an error check in npcm_video_ece_init()

Medium 5.5 Published Updated

A missing null check in the Nuvoton video driver can cause a kernel crash when device lookup fails, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-58082?

CVE-2024-58082 is a medium-severity vulnerability in Linux kernel, published on 6 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2024-58082?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-58082?

Apply the vendor's patch.

Is CVE-2024-58082 being exploited?

There is no known exploitation of CVE-2024-58082 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-58082, DEBIAN-CVE-2024-58082, GHSA-p7x2-rhr6-gw9m, ROOT-OS-UBUNTU-2404-CVE-2024-58082, UBUNTU-CVE-2024-58082.

Is CVE-2024-58082 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free