net: phy: qcom: at803x: fix kernel panic with at8031_probe
In the Linux kernel, the following vulnerability has been resolved: net: phy: qcom: at803x: fix kernel panic with at8031_probe On reworking and splitting the at803x driver, in splitting function of at803x PHYs it was added a NULL dereference bug where priv is referenced before it's actually allocated and then is tried to write to for the is_1000basex and is_fiber variables in the case of at8031, writing on the wrong address. Fix this by correctly setting priv local variable only after at803x_probe is called and actually allocates priv in the phydev struct.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.8.3
- CVEs
- CVE-2024-26942
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 03:35 UTC · Revision 1
Source evidence
net: phy: qcom: at803x: fix kernel panic with at8031_probe
core-osv · Original sourcePublished 1 May 2024, 05:17 UTC
In the Linux kernel, the following vulnerability has been resolved: net: phy: qcom: at803x: fix kernel panic with at8031_probe On reworking and splitting the at803x driver, in splitting function of at803x PHYs it was added a NULL dereference bug where priv is referenced before it's actually allocated and then is tried to write to for the is_1000basex and is_fiber variables in the case of at8031, writing on the wrong address. Fix this by correctly setting priv local variable only after at803x_probe is called and actually allocates priv in the phydev struct.
osv:CVE-2024-26942
Kernel
Fixed versions: 6.8.3
Complete source record
{
"id": "a253d4dc8776c84931f103d8afa9296abb99044d785937b59f4e33460b782df1",
"url": "https://osv.dev/vulnerability/CVE-2024-26942",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: phy: qcom: at803x: fix kernel panic with at8031_probe",
"summary": "In the Linux kernel, the following vulnerability has been resolved: net: phy: qcom: at803x: fix kernel panic with at8031_probe On reworking and splitting the at803x driver, in splitting function of at803x PHYs it was added a NULL dereference bug where priv is referenced before it's actually allocated and then is tried to write to for the is_1000basex and is_fiber variables in the case of at8031, writing on the wrong address. Fix this by correctly setting priv local variable only after at803x_probe is called and actually allocates priv in the phydev struct.",
"evidence": "osv:CVE-2024-26942",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.8.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2024-26942",
"aliases": [
"CVE-2024-26942"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "25d2ba94005fac18fe68878cddff59a67e115554"
},
{
"fixed": "a8a296ad9957b845b89bcf48be1cf8c74875ecc3"
},
{
"fixed": "6a4aee277740d04ac0fd54cfa17cc28261932ddc"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26942.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.8.0"
},
{
"fixed": "6.8.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26942.json"
}
}
],
"modified": "2026-10-28T02:30:46.740219603Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/6a4aee277740d04ac0fd54cfa17cc28261932ddc",
"https://git.kernel.org/stable/c/a8a296ad9957b845b89bcf48be1cf8c74875ecc3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26942.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-26942",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26942.json"
}
},
"related_cves": [
{
"value": "CVE-2024-26942",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514504,
"published_at": "2024-05-01T05:17:56.555+00:00"
}