What’s Vulnerable › Vulnerabilities
CVE-2024-26942: net: phy: qcom: at803x: fix kernel panic with at8031_probe
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-01 · updated 2026-06-17
- Weakness: 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 products
- Linux kernel: from 6.8 (excl.) before 6.8.3; 6.9-rc1 — fixed in 6.8.3
How to fix
Upgrade to a fixed version: Linux kernel 6.8.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/6a4aee277740d04ac0fd54cfa17cc28261932ddc
- https://git.kernel.org/stable/c/a8a296ad9957b845b89bcf48be1cf8c74875ecc3
- https://git.kernel.org/stable/c/6a4aee277740d04ac0fd54cfa17cc28261932ddc
- https://git.kernel.org/stable/c/a8a296ad9957b845b89bcf48be1cf8c74875ecc3
Get alerted when CVE-2024-26942 or the next vulnerability affects your stack