Linux
net: phy: clean the sfp upstream if phy probing fails
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 298e54fa810e027f1b0800d789eb862592721f08, < 18c7c311323b19a353c3042180982e0ce5fa7e5f
- >= 298e54fa810e027f1b0800d789eb862592721f08, < 12fb84dc4dc8eb47ebe2b27f7de6255a4a205e1b
- >= 298e54fa810e027f1b0800d789eb862592721f08, < 9326b654f90a09eadeb796c82801a5609d57f0c8
- >= 298e54fa810e027f1b0800d789eb862592721f08, < 3a254779c169954fe23328a1db51f67be374f913
- >= 298e54fa810e027f1b0800d789eb862592721f08, < 0b27701ce93161d7bbf4b25fa20ca59963b0e20c
- >= 298e54fa810e027f1b0800d789eb862592721f08, < 48774e87bbaa0056819d4b52301e4692e50e3252
Fixed in 18c7c311323b19a353c3042180982e0ce5fa7e5f, 12fb84dc4dc8eb47ebe2b27f7de6255a4a205e1b, 9326b654f90a09eadeb796c82801a5609d57f0c8, 3a254779c169954fe23328a1db51f67be374f913, 0b27701ce93161d7bbf4b25fa20ca59963b0e20c, 48774e87bbaa0056819d4b52301e4692e50e3252
- 5.5
Fixed in 0, 6.1.191, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1
Mitigation
Upgrade Linux to 18c7c311323b19a353c3042180982e0ce5fa7e5f or 12fb84dc4dc8eb47ebe2b27f7de6255a4a205e1b or 9326b654f90a09eadeb796c82801a5609d57f0c8 or 3a254779c169954fe23328a1db51f67be374f913 or 0b27701ce93161d7bbf4b25fa20ca59963b0e20c or 48774e87bbaa0056819d4b52301e4692e50e3252 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.143 or 6.12.94 or 6.18.36 or 7.0.13 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.