# CVE-2022-49061: net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-02-26T01:54:31.142Z
- Modified: 2026-06-17T05:16:58.267Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4 before 7e59fdf9547c4f948d1d917ec7ffa5fb5ac53bdb; from fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4 before 08d5e3e954537931c8da7428034808d202e98299; from fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4 before 62a48383ebe2e159fd68425dd3e16d4c6bd6599a; from fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4 before 6c020f05253df04c3480b586fe188a3582740049; from fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4 before a6aaa00324240967272b451bfa772547bd576ee6; 4.8 (not affected: before 4.8; from 5.4.190 up to 5.4.*; from 5.10.112 up to 5.10.*; from 5.15.35 up to 5.15.*; from 5.17.4 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 4.8 before 5.4.190; from 5.5 before 5.10.112; from 5.11 before 5.15.35; from 5.16 before 5.17.4; 5.18

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/7e59fdf9547c4f948d1d917ec7ffa5fb5ac53bdb> (patch)
- <https://git.kernel.org/stable/c/08d5e3e954537931c8da7428034808d202e98299> (patch)
- <https://git.kernel.org/stable/c/62a48383ebe2e159fd68425dd3e16d4c6bd6599a> (patch)
- <https://git.kernel.org/stable/c/6c020f05253df04c3480b586fe188a3582740049> (patch)
- <https://git.kernel.org/stable/c/a6aaa00324240967272b451bfa772547bd576ee6> (patch)

## Sources

- CVE List: [CVE-2022-49061](https://www.cve.org/CVERecord?id=CVE-2022-49061), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49061](https://nvd.nist.gov/vuln/detail/CVE-2022-49061), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49061 · Whole record: https://cve.day/CVE-2022-49061.json · Rebuilt by cve.day 2026-11-25T22:58:20.131Z
