# CVE-2026-80993: net: phylink: correctly validate returned PCS in phylink_inband_caps

- Severity: not scored yet
- 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.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2026-09-11T19:42:49.521Z
- Modified: 2026-10-19T09:17:32.180Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: phylink: correctly validate returned PCS in phylink_inband_caps

In phylink_inband_caps(), the PCS returned by mac_select_pcs is only
checked if NULL but mac_select_pcs can also return an error pointer.

This can cause a kernel panic as phylink_pcs_inband_caps() only checks
if passed PCS is not NULL and directly dereference ops from the phylink_pcs
struct.

Use the IS_ERR_OR_NULL macro to address both case where the returned
PCS can be NULL or an error pointer and prevent a kernel panic.

(As written by CVE List.)

## Affected

- Linux Linux: from df874f9e52c340cc6f0a0014a97b778f67d46849 before b6b533f83461c3730875cf3ed5ff6362dcb67be9; from df874f9e52c340cc6f0a0014a97b778f67d46849 before fb4d77553841ae85bed9b2cf03351c401e871d85; from df874f9e52c340cc6f0a0014a97b778f67d46849 before f2849b1fd059ec9b3281b771e6ac5aad9feee851; 6.14 (not affected: before 6.14; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b6b533f83461c3730875cf3ed5ff6362dcb67be9>
- <https://git.kernel.org/stable/c/fb4d77553841ae85bed9b2cf03351c401e871d85>
- <https://git.kernel.org/stable/c/f2849b1fd059ec9b3281b771e6ac5aad9feee851>

## Sources

- CVE List: [CVE-2026-80993](https://www.cve.org/CVERecord?id=CVE-2026-80993), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-80993](https://nvd.nist.gov/vuln/detail/CVE-2026-80993), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-80993 · Whole record: https://cve.day/CVE-2026-80993.json · Rebuilt by cve.day 2026-11-25T22:59:38.007Z
