CVEvulnerability
CVE-2024-26942
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-05-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-362, CWE-476
Description
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.
Affected configurations
• linux linux kernel (> 6.8 < 6.8.3)
• linux linux kernel 6.9
Related
References
- https://git.kernel.org/stable/c/6a4aee277740d04ac0fd54cfa17cc28261932ddc Patch
- https://git.kernel.org/stable/c/a8a296ad9957b845b89bcf48be1cf8c74875ecc3 Patch
- https://git.kernel.org/stable/c/6a4aee277740d04ac0fd54cfa17cc28261932ddc Patch
- https://git.kernel.org/stable/c/a8a296ad9957b845b89bcf48be1cf8c74875ecc3 Patch