CVE-2025-68215
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/12/2025
Last modified:
18/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ice: fix PTP cleanup on driver removal in error path<br />
<br />
Improve the cleanup on releasing PTP resources in error path.<br />
The error case might happen either at the driver probe and PTP<br />
feature initialization or on PTP restart (errors in reset handling, NVM<br />
update etc). In both cases, calls to PF PTP cleanup (ice_ptp_cleanup_pf<br />
function) and &#39;ps_lock&#39; mutex deinitialization were missed.<br />
Additionally, ptp clock was not unregistered in the latter case.<br />
<br />
Keep PTP state as &#39;uninitialized&#39; on init to distinguish between error<br />
scenarios and to avoid resource release duplication at driver removal.<br />
<br />
The consequence of missing ice_ptp_cleanup_pf call is the following call<br />
trace dumped when ice_adapter object is freed (port list is not empty,<br />
as it is required at this stage):<br />
<br />
[ T93022] ------------[ cut here ]------------<br />
[ T93022] WARNING: CPU: 10 PID: 93022 at<br />
ice/ice_adapter.c:67 ice_adapter_put+0xef/0x100 [ice]<br />
...<br />
[ T93022] RIP: 0010:ice_adapter_put+0xef/0x100 [ice]<br />
...<br />
[ T93022] Call Trace:<br />
[ T93022] <br />
[ T93022] ? ice_adapter_put+0xef/0x100 [ice<br />
33d2647ad4f6d866d41eefff1806df37c68aef0c]<br />
[ T93022] ? __warn.cold+0xb0/0x10e<br />
[ T93022] ? ice_adapter_put+0xef/0x100 [ice<br />
33d2647ad4f6d866d41eefff1806df37c68aef0c]<br />
[ T93022] ? report_bug+0xd8/0x150<br />
[ T93022] ? handle_bug+0xe9/0x110<br />
[ T93022] ? exc_invalid_op+0x17/0x70<br />
[ T93022] ? asm_exc_invalid_op+0x1a/0x20<br />
[ T93022] ? ice_adapter_put+0xef/0x100 [ice<br />
33d2647ad4f6d866d41eefff1806df37c68aef0c]<br />
[ T93022] pci_device_remove+0x42/0xb0<br />
[ T93022] device_release_driver_internal+0x19f/0x200<br />
[ T93022] driver_detach+0x48/0x90<br />
[ T93022] bus_remove_driver+0x70/0xf0<br />
[ T93022] pci_unregister_driver+0x42/0xb0<br />
[ T93022] ice_module_exit+0x10/0xdb0 [ice<br />
33d2647ad4f6d866d41eefff1806df37c68aef0c]<br />
...<br />
[ T93022] ---[ end trace 0000000000000000 ]---<br />
[ T93022] ice: module unloaded



