IT

Tracker / CVE-2022-49061

CVE-2022-49061

Medium 5.5

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 products and versions

linux linux_kernel
linux linux_kernel · 4.8 → 5.4.190
linux linux_kernel · 5.11 → 5.15.35
linux linux_kernel · 5.16 → 5.17.4
linux linux_kernel · 5.5 → 5.10.112

Analysis

This page is not indexable yet.Until it carries original analysis — what it actually exposes, how to check in two minutes whether a system was touched, what to do if it was — the page stays noindex. The database decides that, not the template.

References