{"id":"CVE-2024-50097","summary":"net: fec: don't save PTP state if PTP is unsupported","details":"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.","modified":"2026-11-17T07:03:35.140345203Z","published":"2024-11-05T17:04:59.345Z","related":["openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50097.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6be063071a457767ee229db13f019c2ec03bfe44"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7745e14f4c036ce94a5eb05d06e49b0d84b306f9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50097.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50097"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dc5fb264168c3aa8842b2db547c2b5c7df346454"},{"fixed":"7745e14f4c036ce94a5eb05d06e49b0d84b306f9"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5763541f24d8ab2053d80fddb8479a2d0df8fd4f"},{"fixed":"3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a1477dc87dc4996dcf65a4893d4e2c3a6b593002"},{"fixed":"6be063071a457767ee229db13f019c2ec03bfe44"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cf53d7e76f1fb751b12ceda6a49942414d2f9ea9"}]}],"versions":["v6.6.56","v6.6.55","v6.11.3","v6.10.14"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50097.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.14"},{"fixed":"6.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.6.55"},{"fixed":"6.6.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.11.3"},{"fixed":"6.11.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50097.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}