net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 08d5e3e954537931c8da7428034808d202e98299, Kernel 62a48383ebe2e159fd68425dd3e16d4c6bd6599a, Kernel 6c020f05253df04c3480b586fe188a3582740049 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link When using a fixed-link, the altr_tse_pcs driver crashes due to null-pointer dereference as no phy_device is provided to tse_pcs_fix_mac_speed function. Fix this by adding a check for phy_dev before calling the tse_pcs_fix_mac_speed() function. Also clean up the tse_pcs_fix_mac_speed function a bit. There is no need to check for splitter_base and sgmii_adapter_base because the driver will fail if these 2 variables are not derived from the device tree.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.8, >=fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4 <08d5e3e954537931c8da7428034808d202e98299, >=fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4 <62a48383ebe2e159fd68425dd3e16d4c6bd6599a, >=fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4 <6c020f05253df04c3480b586fe188a3582740049, >=fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4 <7e59fdf9547c4f948d1d917ec7ffa5fb5ac53bdb, >=fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4 <a6aaa00324240967272b451bfa772547bd576ee6 | 08d5e3e954537931c8da7428034808d202e98299, 62a48383ebe2e159fd68425dd3e16d4c6bd6599a, 6c020f05253df04c3480b586fe188a3582740049, 7e59fdf9547c4f948d1d917ec7ffa5fb5ac53bdb, a6aaa00324240967272b451bfa772547bd576ee6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket