# CVE-2024-50097: net: fec: don't save PTP state if PTP is unsupported

- 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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-11-05T17:04:59.345Z
- Modified: 2026-06-17T08:03:34.553Z
- 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: 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.

(As written by CVE List.)

## Affected

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

## 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/7745e14f4c036ce94a5eb05d06e49b0d84b306f9> (patch)
- <https://git.kernel.org/stable/c/3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6> (patch)
- <https://git.kernel.org/stable/c/6be063071a457767ee229db13f019c2ec03bfe44> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-50097 · Whole record: https://cve.day/CVE-2024-50097.json · Rebuilt by cve.day 2026-11-25T22:58:47.771Z
