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 fecptpinit() is not called and the related members in fep are not initialized. However, fecptpsavestate() is called unconditionally, which causes the kernel to panic. Therefore, add a condition so that fecptpsavestate() is not called if PTP is not supported.
{ "vanir_signatures": [ { "target": { "file": "drivers/net/ethernet/freescale/fec_main.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "280995708946847501345228772802591958140", "231160605183170829407542496345664955972", "68541429211043768322152392277303438153", "166589247034757549731253779954668276085", "261079438680913395223512064937744171261", "188263120234433709930662269494962791934", "39553853856962301093032053820489980013", "136603718653994203252188354399913721651" ] }, "id": "CVE-2024-50097-2a00e3aa", "signature_version": "v1", "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6be063071a457767ee229db13f019c2ec03bfe44" }, { "target": { "file": "drivers/net/ethernet/freescale/fec_main.c", "function": "fec_restart" }, "digest": { "length": 4048.0, "function_hash": "220823982287177924474525554361740239306" }, "id": "CVE-2024-50097-3879838f", "signature_version": "v1", "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6" }, { "target": { "file": "drivers/net/ethernet/freescale/fec_main.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "280995708946847501345228772802591958140", "231160605183170829407542496345664955972", "68541429211043768322152392277303438153", "166589247034757549731253779954668276085", "261079438680913395223512064937744171261", "188263120234433709930662269494962791934", "39553853856962301093032053820489980013", "136603718653994203252188354399913721651" ] }, "id": "CVE-2024-50097-57ded35f", "signature_version": "v1", "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7745e14f4c036ce94a5eb05d06e49b0d84b306f9" }, { "target": { "file": "drivers/net/ethernet/freescale/fec_main.c", "function": "fec_stop" }, "digest": { "length": 1274.0, "function_hash": "174102759602548145892718248467199484655" }, "id": "CVE-2024-50097-8f071a48", "signature_version": "v1", "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7745e14f4c036ce94a5eb05d06e49b0d84b306f9" }, { "target": { "file": "drivers/net/ethernet/freescale/fec_main.c", "function": "fec_restart" }, "digest": { "length": 4048.0, "function_hash": "220823982287177924474525554361740239306" }, "id": "CVE-2024-50097-99d04f3c", "signature_version": "v1", "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6be063071a457767ee229db13f019c2ec03bfe44" }, { "target": { "file": "drivers/net/ethernet/freescale/fec_main.c", "function": "fec_restart" }, "digest": { "length": 4042.0, "function_hash": "304922205767389787582781078922049657573" }, "id": "CVE-2024-50097-a605e5f9", "signature_version": "v1", "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7745e14f4c036ce94a5eb05d06e49b0d84b306f9" }, { "target": { "file": "drivers/net/ethernet/freescale/fec_main.c", "function": "fec_stop" }, "digest": { "length": 1274.0, "function_hash": "174102759602548145892718248467199484655" }, "id": "CVE-2024-50097-adcfcad9", "signature_version": "v1", "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6" }, { "target": { "file": "drivers/net/ethernet/freescale/fec_main.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "280995708946847501345228772802591958140", "231160605183170829407542496345664955972", "68541429211043768322152392277303438153", "166589247034757549731253779954668276085", "261079438680913395223512064937744171261", "188263120234433709930662269494962791934", "39553853856962301093032053820489980013", "136603718653994203252188354399913721651" ] }, "id": "CVE-2024-50097-b8e1cfcb", "signature_version": "v1", "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6" }, { "target": { "file": "drivers/net/ethernet/freescale/fec_main.c", "function": "fec_stop" }, "digest": { "length": 1274.0, "function_hash": "174102759602548145892718248467199484655" }, "id": "CVE-2024-50097-f7fff28a", "signature_version": "v1", "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6be063071a457767ee229db13f019c2ec03bfe44" } ] }