CVE-2022-49061

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49061
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49061.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49061
Downstream
Related
Published
2025-02-26T07:00:43Z
Modified
2025-10-01T20:15:44Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: stmmac: fix altrtsepcs function when using a fixed-link

When using a fixed-link, the altrtsepcs driver crashes due to null-pointer dereference as no phydevice is provided to tsepcsfixmacspeed function. Fix this by adding a check for phydev before calling the tsepcsfixmacspeed() function.

Also clean up the tsepcsfixmacspeed function a bit. There is no need to check for splitterbase and sgmiiadapter_base because the driver will fail if these 2 variables are not derived from the device tree.

References

Affected packages