CVE-2026-53231 PUBLISHED

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

Assigner: Linux
Reserved: 09.06.2026 Published: 25.06.2026 Updated: 25.06.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from bad869b5e41a08424ff130fd6bb41b854be70095 to ef8d739eee6f85303cbecebc01eb72f063de74e0 (excl.)
  • affected from bad869b5e41a08424ff130fd6bb41b854be70095 to 5a0082ec20a05ef2378410323a5089a8f1786f4a (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 7.0 is affected
  • unaffected from 0 to 7.0 (excl.)
  • unaffected from 7.0.13 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References