CVE-2023-52984
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 5dc39fd5ef35bc6919759fa99246581b1adc6b82 before 362a2f5531dc0e5b0b5b3e3a541000dbffa75461, from 5dc39fd5ef35bc6919759fa99246581b1adc6b82 before 2cd1e9c013ec56421c58921b1ddf1d2d53bd47fa, from 5dc39fd5ef35bc6919759fa99246581b1adc6b82 before 78901b10522cdf6badf24acf65a892637596bccc, from 5dc39fd5ef35bc6919759fa99246581b1adc6b82 before 422ae7d9c7221e8d4c8526d0f54106307d69d2dc, 5.10
Not affected: before 5.10, from 5.10.168 up to 5.10.*, from 5.15.93 up to 5.15.*, from 6.1.11 up to 6.1.*, from 6.2 up to *
CVE List
linux linux_kernelfrom 5.10 before 5.10.168, from 5.11 before 5.15.93, from 5.16 before 6.1.11, 6.2NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: phy: dp83822: Se corrige el acceso a puntero nulo en dispositivos DP83825/DP83826. La función probe() solo se utiliza para la estructura física (PHY) DP83822, lo que deja el puntero de datos privados sin inicializar para los modelos DP83825/26 más pequeños. Si bien todos los usos de la estructura de datos privados están ocultos en las devoluciones de llamada específicas de 82822, la configuración de la interrupción se comparte entre todos los modelos. Esto provoca una desreferencia de puntero nulo en las estructuras físicas (PHY) más pequeñas, ya que accede a los datos privados sin verificar. Verificar el puntero evita esto.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52984 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52984 changed 2026-06-17Public domain