Cloudanix VulnDB

CVE-2025-68215

None

CVSS

—

EPSS

0.1%

Published

Dec 16, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A cleanup mistake in certain network hardware drivers could leave behind resources and trigger warnings when the driver is removed under error conditions.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Moderate
Impact
Denial Of Service
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Missing calls to ice_ptp_cleanup_pf and ps_lock mutex deinitialization plus ptp clock unregistration in error paths during probe, PTP init, or reset handling cause the ice_adapter object to be freed with a non-empty port list, triggering a kernel WARNING in ice_adapter_put.

Why it matters to the business

Systems using Intel ice network adapters may experience driver unload warnings or instability during error recovery, PTP restarts, or module removal, increasing operational risk in high-availability or cloud environments until patched kernels are deployed.

How an attack unfolds

An attacker with local access triggers an error path in PTP initialization or reset handling within the ice driver, after which normal driver removal or module unload leaves PTP resources uncleaned, resulting in the observed warning and potential resource accounting issues.

How to fix it

Upgrade to fixed kernel version 6.12.60 or apply commit f5eb91f876ebecbcd90f9edcaea98dcb354603b3. For affected Chainguard packages update to 1.29.8-r1 or newer. Keep PTP state marked uninitialized on init to prevent duplicate release.

How to confirm the fix worked

Confirm kernel version or package release matches a fixed version, then reproduce probe or reset error paths followed by driver removal and verify absence of the ice_adapter_put WARNING in dmesg.

Typical attack path

  1. Gain local access or trigger PTP feature initialization/reset error
  2. Force driver probe failure or PTP restart error path
  3. Unload or detach the ice driver module
  4. ice_adapter_put detects non-empty port list and emits WARNING

How to detect it

Search kernel logs for the exact WARNING signature containing ice_adapter_put+0xef and the call trace ending in ice_module_exit; correlate with ice driver load/unload events around PTP initialization or NVM updates.

What your security team should do

  • Prioritize patching systems with ice NICs that use PTP within the next maintenance window
  • Monitor dmesg for ice_adapter_put warnings on driver unload
  • Test driver removal and PTP restart error scenarios in staging before production rollout

The record

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

Affected packages

Ecosystem Package Introduced Fixed
Linux Kernel 0 6.12.60
openSUSE:Leap 16.0 dtb-aarch64 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-64kb 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-azure 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-default 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-default-base 0 6.12.0-160000.9.1.160000.2.6
openSUSE:Leap 16.0 kernel-docs 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-kvmsmall 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-obs-build 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-obs-qa 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-rt 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-source 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-syms 0 6.12.0-160000.9.1
openSUSE:Leap 16.0 kernel-zfcpdump 0 6.12.0-160000.9.1

Related vulnerabilities