PT-2024-29748 · Linux+4 · Linux Kernel+4
CVSS v3.1
4.7
Medium
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue arises from a race condition between the
ice ptp extts event() function and ice ptp release(), leading to a NULL pointer dereference and resulting in a kernel panic. This occurs because ice ptp extts event() calls ptp clock event() with a NULL pointer after the ice driver has released the PTP clock. The problem can be resolved by modifying the ice ptp extts event() function to check the PTP state and exit early if PTP is not ready.Recommendations
To fix this issue, modify the
ice ptp extts event() function to check the PTP state and bail early if PTP is not ready. As a temporary workaround, consider disabling the ice ptp extts event() function until a patch is available. Restrict access to the PTP clock to minimize the risk of exploitation. Avoid using the ptp clock event() function with a NULL pointer in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
NULL Pointer Dereference
Time Of Check To Time Of Use
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linux Kernel
Suse