NULL pointer dereference in Linux

CVE-2023-52984

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.003, 19.2th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 5dc39fd5ef35bc6919759fa99246581b1adc6b82, 5.10, 0
  • Linux Kernel — versions 6.2

Weakness classification (CWE)

References