CVE-2024-42107

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42107
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42107.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42107
Downstream
Related
Published
2024-07-30T08:15:03Z
Modified
2025-08-09T20:01:27Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

ice: Don't process extts if PTP is disabled

The iceptpexttsevent() function can race with iceptp_release() and result in a NULL pointer dereference which leads to a kernel panic.

Panic occurs because the iceptpexttsevent() function calls ptpclock_event() with a NULL pointer. The ice driver has already released the PTP clock by the time the interrupt for the next external timestamp event occurs.

To fix this, modify the iceptpextts_event() function to check the PTP state and bail early if PTP is not ready.

References

Affected packages