{"id":"CVE-2024-50097","aliases":["CVE-2024-50097"],"related":[],"kind":"vulnerability","state":"published","title":"net: fec: don't save PTP state if PTP is unsupported","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fec: don't save PTP state if PTP is unsupported\n\nSome platforms (such as i.MX25 and i.MX27) do not support PTP, so on\nthese platforms fec_ptp_init() is not called and the related members\nin fep are not initialized. However, fec_ptp_save_state() is called\nunconditionally, which causes the kernel to panic. Therefore, add a\ncondition so that fec_ptp_save_state() is not called if PTP is not\nsupported.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fec: don't save PTP state if PTP is unsupported\n\nSome platforms (such as i.MX25 and i.MX27) do not support PTP, so on\nthese platforms fec_ptp_init() is not called and the related members\nin fep are not initialized. However, fec_ptp_save_state() is called\nunconditionally, which causes the kernel to panic. Therefore, add a\ncondition so that fec_ptp_save_state() is not called if PTP is not\nsupported.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-11-05T17:04:59.345Z","modified":"2026-06-17T08:03:34.553Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dc5fb264168c3aa8842b2db547c2b5c7df346454","fixed":"7745e14f4c036ce94a5eb05d06e49b0d84b306f9","status":"affected"},{"type":"git","introduced":"5763541f24d8ab2053d80fddb8479a2d0df8fd4f","fixed":"3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6","status":"affected"},{"type":"git","introduced":"a1477dc87dc4996dcf65a4893d4e2c3a6b593002","fixed":"6be063071a457767ee229db13f019c2ec03bfe44","status":"affected"},{"type":"git","version":"cf53d7e76f1fb751b12ceda6a49942414d2f9ea9","status":"affected"},{"type":"semver","introduced":"6.10.14","fixed":"6.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.6.55","fixed":"6.6.57","status":"affected"},{"type":"semver","introduced":"6.11.3","fixed":"6.11.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6.55","fixed":"6.6.57"},{"status":"affected","introduced":"6.7","fixed":"6.11.4"},{"status":"affected","introduced":"6.10.4","fixed":"6.11"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7745e14f4c036ce94a5eb05d06e49b0d84b306f9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6be063071a457767ee229db13f019c2ec03bfe44","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:22:45.802Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50097","url":"https://www.cve.org/CVERecord?id=CVE-2024-50097","licence":"CVE Terms of Use","modified":"2026-05-23T15:54:29.904Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50097","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50097","licence":"Public domain","modified":"2026-06-17T08:03:34.553Z"}],"updatedAt":"2026-11-25T22:58:47.771Z","epss":{"score":0.00231,"percentile":0.14971,"date":"2026-12-01T12:00:22.000Z"}}