# CVE-2026-53231: net: phy: don't try to setup PHY-driven SFP cages when using genphy

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.08%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-06-25T08:39:29.871Z
- Modified: 2026-07-02T20:44:05.353Z
- Weaknesses: CWE-667
- Assigned by: Linux

## Description

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

net: phy: don't try to setup PHY-driven SFP cages when using genphy

We don't have support for PHY-driver SFP cages with the genphy code.

On top of that, it was found by sashiko that running
sfp_bus_add_upstream() for genphy deadlocks, as for genphy the PHY
probing runs under RTNL, which isn't the case for non-genphy drivers.

This problem was reproduced, and does lead to a deadlock on RTNL.

Before the blamed commit, the phy_sfp_probe() call was made by
individual PHY drivers, so there was no way to get to the SFP probing
path when using genphy.

Let's therefore only run phy_sfp_probe when not using genphy.

(As written by CVE List.)

## Affected

- Linux Linux: from bad869b5e41a08424ff130fd6bb41b854be70095 before ef8d739eee6f85303cbecebc01eb72f063de74e0; from bad869b5e41a08424ff130fd6bb41b854be70095 before 5a0082ec20a05ef2378410323a5089a8f1786f4a; 7.0 (not affected: before 7.0; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 7.0 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/ef8d739eee6f85303cbecebc01eb72f063de74e0> (patch)
- <https://git.kernel.org/stable/c/5a0082ec20a05ef2378410323a5089a8f1786f4a> (patch)

## Sources

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

---

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