{"id":"CVE-2024-42107","state":"PUBLISHED","title":"ice: Don't process extts if PTP is disabled","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: Don't process extts if PTP is disabled\n\nThe ice_ptp_extts_event() function can race with ice_ptp_release() and\nresult in a NULL pointer dereference which leads to a kernel panic.\n\nPanic occurs because the ice_ptp_extts_event() function calls\nptp_clock_event() with a NULL pointer. The ice driver has already\nreleased the PTP clock by the time the interrupt for the next external\ntimestamp event occurs.\n\nTo fix this, modify the ice_ptp_extts_event() function to check the\nPTP state and bail early if PTP is not ready.","publishedAt":"2024-07-30T07:46:02.834Z","updatedAt":"2026-10-30T12:18:50.668Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"172db5f91d5f7b91670c68a7547798b0b5374158","status":"affected","lessThan":"2ab26aeec3de0a677e02d6bc4dc85d49cd1ec4ac","versionType":"git"},{"version":"172db5f91d5f7b91670c68a7547798b0b5374158","status":"affected","lessThan":"9aa83a5eb013f8aff20e701aa25ba6b0eaad0b65","versionType":"git"},{"version":"172db5f91d5f7b91670c68a7547798b0b5374158","status":"affected","lessThan":"1c4e524811918600683b1ea87a5e0fc2db64fa9b","versionType":"git"},{"version":"172db5f91d5f7b91670c68a7547798b0b5374158","status":"affected","lessThan":"996422e3230e41468f652d754fefd1bdbcd4604e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_ptp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.14","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.9","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_ptp.c"]}],"references":["https://git.kernel.org/stable/c/2ab26aeec3de0a677e02d6bc4dc85d49cd1ec4ac","https://git.kernel.org/stable/c/9aa83a5eb013f8aff20e701aa25ba6b0eaad0b65","https://git.kernel.org/stable/c/1c4e524811918600683b1ea87a5e0fc2db64fa9b","https://git.kernel.org/stable/c/996422e3230e41468f652d754fefd1bdbcd4604e"],"weaknesses":[],"ingestedAt":"2026-10-30T12:34:06.950Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/42xxx/CVE-2024-42107.json","commit":"db8103c5921aac81d5d90efcf3745980dafabf49","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-42107","state":"PUBLISHED","datePublished":"2024-07-30T07:46:02.834Z","dateUpdated":"2026-10-30T12:18:50.668Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-07-29T15:50:41.176Z"},"containers":{"cna":{"title":"ice: Don't process extts if PTP is disabled","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: Don't process extts if PTP is disabled\n\nThe ice_ptp_extts_event() function can race with ice_ptp_release() and\nresult in a NULL pointer dereference which leads to a kernel panic.\n\nPanic occurs because the ice_ptp_extts_event() function calls\nptp_clock_event() with a NULL pointer. The ice driver has already\nreleased the PTP clock by the time the interrupt for the next external\ntimestamp event occurs.\n\nTo fix this, modify the ice_ptp_extts_event() function to check the\nPTP state and bail early if PTP is not ready."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"172db5f91d5f7b91670c68a7547798b0b5374158","status":"affected","lessThan":"2ab26aeec3de0a677e02d6bc4dc85d49cd1ec4ac","versionType":"git"},{"version":"172db5f91d5f7b91670c68a7547798b0b5374158","status":"affected","lessThan":"9aa83a5eb013f8aff20e701aa25ba6b0eaad0b65","versionType":"git"},{"version":"172db5f91d5f7b91670c68a7547798b0b5374158","status":"affected","lessThan":"1c4e524811918600683b1ea87a5e0fc2db64fa9b","versionType":"git"},{"version":"172db5f91d5f7b91670c68a7547798b0b5374158","status":"affected","lessThan":"996422e3230e41468f652d754fefd1bdbcd4604e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_ptp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.14","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.9","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_ptp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2ab26aeec3de0a677e02d6bc4dc85d49cd1ec4ac"},{"url":"https://git.kernel.org/stable/c/9aa83a5eb013f8aff20e701aa25ba6b0eaad0b65"},{"url":"https://git.kernel.org/stable/c/1c4e524811918600683b1ea87a5e0fc2db64fa9b"},{"url":"https://git.kernel.org/stable/c/996422e3230e41468f652d754fefd1bdbcd4604e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:18:50.668Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.9.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/1c4e524811918600683b1ea87a5e0fc2db64fa9b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/996422e3230e41468f652d754fefd1bdbcd4604e","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:54:32.575Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-42107","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:17:43.025350Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:07.604Z"}}]}}}