CVE-2023-52984 net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel DP83822 PHY driver can cause a system crash on specific hardware models.

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-2023-52984?

CVE-2023-52984 is a medium-severity vulnerability in Linux kernel, published on 27 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:

net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices

The probe() function is only used for the DP83822 PHY, leaving the private data pointer uninitialized for the smaller DP83825/26 models. While all uses of the private data structure are hidden in 82822 specific callbacks, configuring the interrupt is shared across all models. This causes a NULL pointer dereference on the smaller PHYs as it accesses the private data unchecked. Verifying the pointer avoids that.

Weakness: CWE-476

Which versions are affected by CVE-2023-52984?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52984?

Apply the vendor's patch.

Is CVE-2023-52984 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52984, DEBIAN-CVE-2023-52984, GHSA-7r4r-7wg2-96vj, UBUNTU-CVE-2023-52984.

Is CVE-2023-52984 in your software?

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

Check your SBOMs for free