CVE-2024-46856

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46856
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46856.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-46856
Downstream
Published
2024-09-27T12:42:47.908Z
Modified
2025-12-05T06:42:11.104852Z
Summary
net: phy: dp83822: Fix NULL pointer dereference on DP83825 devices
Details

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 dp8382xconfiginit() and dp83822setwol().

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46856.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9ef9ecfa9e9f0472adf5b254bda1e0788bc8eaad
Fixed
67b61e2f4c9c5df97a9a2ef7a1fe35eae00531f4
Fixed
3f62ea572b3e8e3f10c39a9cb4f04ca9ae5f2952

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.1
v6.10.10
v6.10.2
v6.10.3
v6.10.4
v6.10.5
v6.10.6
v6.10.7
v6.10.8
v6.10.9
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.9
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.10.11