{"id":"CVE-2022-49061","aliases":["CVE-2022-49061"],"related":[],"kind":"vulnerability","state":"published","title":"net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: ethernet: stmmac: corregir la función altr_tse_pcs al usar un enlace fijo Al usar un enlace fijo, el controlador altr_tse_pcs se bloquea debido a la desreferencia de puntero nulo ya que no se proporciona ningún phy_device a la función tse_pcs_fix_mac_speed. Solucione esto agregando una verificación para phy_dev antes de llamar a la función tse_pcs_fix_mac_speed(). También limpie un poco la función tse_pcs_fix_mac_speed. No es necesario verificar splitter_base y sgmii_adapter_base porque el controlador fallará si estas 2 variables no se derivan del árbol de dispositivos.","source":"nvd"}],"published":"2025-02-26T01:54:31.142Z","modified":"2026-06-17T05:16:58.267Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4","fixed":"7e59fdf9547c4f948d1d917ec7ffa5fb5ac53bdb","status":"affected"},{"type":"git","introduced":"fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4","fixed":"08d5e3e954537931c8da7428034808d202e98299","status":"affected"},{"type":"git","introduced":"fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4","fixed":"62a48383ebe2e159fd68425dd3e16d4c6bd6599a","status":"affected"},{"type":"git","introduced":"fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4","fixed":"6c020f05253df04c3480b586fe188a3582740049","status":"affected"},{"type":"git","introduced":"fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4","fixed":"a6aaa00324240967272b451bfa772547bd576ee6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.4.190","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.112","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.35","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.4","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.8","fixed":"5.4.190"},{"status":"affected","introduced":"5.5","fixed":"5.10.112"},{"status":"affected","introduced":"5.11","fixed":"5.15.35"},{"status":"affected","introduced":"5.16","fixed":"5.17.4"},{"status":"affected","version":"5.18"},{"status":"affected","version":"5.18"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7e59fdf9547c4f948d1d917ec7ffa5fb5ac53bdb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08d5e3e954537931c8da7428034808d202e98299","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/62a48383ebe2e159fd68425dd3e16d4c6bd6599a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c020f05253df04c3480b586fe188a3582740049","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6aaa00324240967272b451bfa772547bd576ee6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:49:50.480Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49061","url":"https://www.cve.org/CVERecord?id=CVE-2022-49061","licence":"CVE Terms of Use","modified":"2026-05-11T18:52:16.391Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49061","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49061","licence":"Public domain","modified":"2026-06-17T05:16:58.267Z"}],"updatedAt":"2026-11-25T22:58:20.131Z","epss":{"score":0.00261,"percentile":0.19129,"date":"2026-12-01T12:00:22.000Z"}}