CVE-2024-46856
JSON

5.5medium

net: phy: dp83822: Fix NULL pointer dereference on DP83825 devices

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 7% 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 dereference on DP83825 devices The probe() function is only used for DP83822 and DP83826 PHY, leaving the private data pointer uninitialized for the DP83825 models which causes a NULL pointer dereference in the recently introduced/changed functions dp8382x_config_init() and dp83822_set_wol(). Add the dp8382x_probe() function, so all PHY models will have a valid private data pointer to fix this issue and also prevent similar issues in the future.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 9ef9ecfa9e9f0472adf5b254bda1e0788bc8eaad before 67b61e2f4c9c5df97a9a2ef7a1fe35eae00531f4, from 9ef9ecfa9e9f0472adf5b254bda1e0788bc8eaad before 3f62ea572b3e8e3f10c39a9cb4f04ca9ae5f2952, 6.10
Not affected: before 6.10, from 6.10.11 up to 6.10.*, from 6.11 up to *
CVE List
linux linux_kernelfrom 6.10 before 6.10.11, 6.11NVD

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 dereference on DP83825 devices The probe() function is only used for DP83822 and DP83826 PHY, leaving the private data pointer uninitialized for the DP83825 models which causes a NULL pointer dereference in the recently introduced/changed functions dp8382x_config_init() and dp83822_set_wol(). Add the dp8382x_probe() function, so all PHY models will have a valid private data pointer to fix this issue and also prevent similar issues in the future.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: phy: dp83822: Se corrige la desreferencia del puntero NULL en los dispositivos DP83825 La función probe() solo se usa para DP83822 y DP83826 PHY, lo que deja el puntero de datos privados sin inicializar para los modelos DP83825, lo que provoca una desreferencia del puntero NULL en las funciones recientemente introducidas/cambiadas dp8382x_config_init() y dp83822_set_wol(). Agregue la función dp8382x_probe(), para que todos los modelos PHY tengan un puntero de datos privados válido para solucionar este problema y también evitar problemas similares en el futuro.

References

Sources

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