{"id":"CVE-2022-49061","summary":"net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link\n\nWhen using a fixed-link, the altr_tse_pcs driver crashes\ndue to null-pointer dereference as no phy_device is provided to\ntse_pcs_fix_mac_speed function. Fix this by adding a check for\nphy_dev before calling the tse_pcs_fix_mac_speed() function.\n\nAlso clean up the tse_pcs_fix_mac_speed function a bit. There is\nno need to check for splitter_base and sgmii_adapter_base\nbecause the driver will fail if these 2 variables are not\nderived from the device tree.","modified":"2026-05-18T05:55:49.930569559Z","published":"2025-02-26T01:54:31.142Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49061.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/08d5e3e954537931c8da7428034808d202e98299"},{"type":"WEB","url":"https://git.kernel.org/stable/c/62a48383ebe2e159fd68425dd3e16d4c6bd6599a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c020f05253df04c3480b586fe188a3582740049"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e59fdf9547c4f948d1d917ec7ffa5fb5ac53bdb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6aaa00324240967272b451bfa772547bd576ee6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49061.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49061"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4"},{"fixed":"7e59fdf9547c4f948d1d917ec7ffa5fb5ac53bdb"},{"fixed":"08d5e3e954537931c8da7428034808d202e98299"},{"fixed":"62a48383ebe2e159fd68425dd3e16d4c6bd6599a"},{"fixed":"6c020f05253df04c3480b586fe188a3582740049"},{"fixed":"a6aaa00324240967272b451bfa772547bd576ee6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49061.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"5.4.190"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.35"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.17.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49061.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}