CVE-2024-42107

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42107
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42107.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42107
Downstream
Related
Published
2024-07-30T07:46:02Z
Modified
2025-10-22T00:29:51.065302Z
Summary
ice: Don't process extts if PTP is disabled
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

Git / 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
172db5f91d5f7b91670c68a7547798b0b5374158
Fixed
1c4e524811918600683b1ea87a5e0fc2db64fa9b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
172db5f91d5f7b91670c68a7547798b0b5374158
Fixed
996422e3230e41468f652d754fefd1bdbcd4604e

Affected versions

v5.*

v5.13
v5.13-rc7
v5.14
v5.14-rc1
v5.14-rc2
v5.14-rc3
v5.14-rc4
v5.14-rc5
v5.14-rc6
v5.14-rc7
v5.15
v5.15-rc1
v5.15-rc2
v5.15-rc3
v5.15-rc4
v5.15-rc5
v5.15-rc6
v5.15-rc7
v5.16
v5.16-rc1
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.17
v5.17-rc1
v5.17-rc2
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
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