Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.8, < 5.4.190 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/08d5e3e954537931c8da7428034808d202e98299Patch
- https://git.kernel.org/stable/c/62a48383ebe2e159fd68425dd3e16d4c6bd6599aPatch
- https://git.kernel.org/stable/c/6c020f05253df04c3480b586fe188a3582740049Patch
- https://git.kernel.org/stable/c/7e59fdf9547c4f948d1d917ec7ffa5fb5ac53bdbPatch
- https://git.kernel.org/stable/c/a6aaa00324240967272b451bfa772547bd576ee6Patch
FAQ
What is CVE-2022-49061?
CVE-2022-49061 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 ...
How severe is CVE-2022-49061?
CVE-2022-49061 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49061?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.