# CVE-2024-26942: net: phy: qcom: at803x: fix kernel panic with at8031_probe

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2024-05-01T05:17:56.555Z
- Modified: 2026-06-17T07:18:45.027Z
- Weaknesses: CWE-362, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 25d2ba94005fac18fe68878cddff59a67e115554 before a8a296ad9957b845b89bcf48be1cf8c74875ecc3; from 25d2ba94005fac18fe68878cddff59a67e115554 before 6a4aee277740d04ac0fd54cfa17cc28261932ddc; 6.8 (not affected: before 6.8; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: 25d2ba94005f; 6.8; from >6.8 before 6.8.3; 6.9 (not affected: 0; 6.8.3; 6.9)

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/a8a296ad9957b845b89bcf48be1cf8c74875ecc3> (patch)
- <https://git.kernel.org/stable/c/6a4aee277740d04ac0fd54cfa17cc28261932ddc> (patch)

## Sources

- CVE List: [CVE-2024-26942](https://www.cve.org/CVERecord?id=CVE-2024-26942), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26942](https://nvd.nist.gov/vuln/detail/CVE-2024-26942), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26942 · Whole record: https://cve.day/CVE-2024-26942.json · Rebuilt by cve.day 2026-11-25T22:58:39.727Z
