CVE-2024-50097

net: fec: don't save PTP state if PTP is unsupported

State
Published
Severity
5.5 Medium
Published
Nov 5, 2024
Updated
May 23, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dc5fb264168c3aa8842b2db547c2b5c7df346454 to before 7745e14f4c036ce94a5eb05d06e49b0d84b306f9Affected
  • 5763541f24d8ab2053d80fddb8479a2d0df8fd4f to before 3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6Affected
  • a1477dc87dc4996dcf65a4893d4e2c3a6b593002 to before 6be063071a457767ee229db13f019c2ec03bfe44Affected
  • cf53d7e76f1fb751b12ceda6a49942414d2f9ea9Affected
  • 6.10.14 to before 6.11Affected
LinuxLinux
  • 6.6.55 to before 6.6.57Affected
  • 6.11.3 to before 6.11.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.