CVE-2024-50097

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

Medium · published November 5, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
13.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00231 · 13.2th percentile
Published
2024-11-05T17:04Z
EPSS history
Timeline
  • 05 NOV 17:04Z
    net: fec: don't save PTP state if PTP is unsupported
    cvelistv5