5.5medium
net: fec: don't save PTP state if PTP is unsupported
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: fec: don't save PTP state if PTP is unsupported Some platforms (such as i.MX25 and i.MX27) do not support PTP, so on these platforms fec_ptp_init() is not called and the related members in fep are not initialized. However, fec_ptp_save_state() is called unconditionally, which causes the kernel to panic. Therefore, add a condition so that fec_ptp_save_state() is not called if PTP is not supported.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from dc5fb264168c3aa8842b2db547c2b5c7df346454 before 7745e14f4c036ce94a5eb05d06e49b0d84b306f9, from 5763541f24d8ab2053d80fddb8479a2d0df8fd4f before 3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6, from a1477dc87dc4996dcf65a4893d4e2c3a6b593002 before 6be063071a457767ee229db13f019c2ec03bfe44, cf53d7e76f1fb751b12ceda6a49942414d2f9ea9, from 6.10.14 before 6.11, from 6.6.55 before 6.6.57, from 6.11.3 before 6.11.4 | CVE List |
| linux linux_kernel | from 6.6.55 before 6.6.57, from 6.7 before 6.11.4, from 6.10.4 before 6.11, 6.12 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net: fec: don't save PTP state if PTP is unsupported Some platforms (such as i.MX25 and i.MX27) do not support PTP, so on these platforms fec_ptp_init() is not called and the related members in fep are not initialized. However, fec_ptp_save_state() is called unconditionally, which causes the kernel to panic. Therefore, add a condition so that fec_ptp_save_state() is not called if PTP is not supported.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: fec: no guardar el estado de PTP si PTP no es compatible. Algunas plataformas (como i.MX25 e i.MX27) no son compatibles con PTP, por lo que en estas plataformas no se llama a fec_ptp_init() y los miembros relacionados en fep no se inicializan. Sin embargo, se llama a fec_ptp_save_state() de forma incondicional, lo que hace que el kernel entre en pánico. Por lo tanto, agregue una condición para que no se llame a fec_ptp_save_state() si PTP no es compatible.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50097 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2024-50097 changed 2026-06-17 | Public domain |