CVE-2024-46767 net: phy: Fix missing of_node_put() for leds

Medium 5.5 Published Updated

A missing reference count decrement in the Linux kernel network PHY driver can lead to resource leaks and potential 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-46767?

CVE-2024-46767 is a medium-severity memory corruption vulnerability in Linux kernel, published on 18 Sep 2024. 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:

net: phy: Fix missing of_node_put() for leds

The call of of_get_child_by_name() will cause refcount incremented for leds, if it succeeds, it should call of_node_put() to decrease it, fix it.

Which versions are affected by CVE-2024-46767?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-46767?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-46767 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-46767, DEBIAN-CVE-2024-46767, GHSA-h85r-4358-hc66, UBUNTU-CVE-2024-46767.

Is CVE-2024-46767 in your software?

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

Check your SBOMs for free