In the Linux kernel, the following vulnerability has been resolved: net: phy: clean the sfp upstream if phy probing fails Sashiko reported that we don't call sfp_bus_del_upstream() in the probe failure path, so let's add it, otherwise the sfp-bus is left with a dangling 'upstream' field, that may be used later on during SFP events. This issue existed before the generic phylib sfp support, back when drivers were calling phy_sfp_probe themselves.
https://git.kernel.org/stable/c/9326b654f90a09eadeb796c82801a5609d57f0c8
https://git.kernel.org/stable/c/48774e87bbaa0056819d4b52301e4692e50e3252
https://git.kernel.org/stable/c/3a254779c169954fe23328a1db51f67be374f913
https://git.kernel.org/stable/c/12fb84dc4dc8eb47ebe2b27f7de6255a4a205e1b
https://git.kernel.org/stable/c/0b27701ce93161d7bbf4b25fa20ca59963b0e20c