{
  "id": "CVE-2025-68215",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-68215",
  "published_at": "2025-12-16T13:57:10.576Z",
  "title": "ice: fix PTP cleanup on driver removal in error path",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nice: fix PTP cleanup on driver removal in error path\n\nImprove the cleanup on releasing PTP resources in error path.\nThe error case might happen either at the driver probe and PTP\nfeature initialization or on PTP restart (errors in reset handling, NVM\nupdate etc). In both cases, calls to PF PTP cleanup (ice_ptp_cleanup_pf\nfunction) and 'ps_lock' mutex deinitialization were missed.\nAdditionally, ptp clock was not unregistered in the latter case.\n\nKeep PTP state as 'uninitialized' on init to distinguish between error\nscenarios and to avoid resource release duplication at driver removal.\n\nThe consequence of missing ice_ptp_cleanup_pf call is the following call\ntrace dumped when ice_adapter object is freed (port list is not empty,\nas it is required at this stage):\n\n[  T93022] ------------[ cut here ]------------\n[  T93022] WARNING: CPU: 10 PID: 93022 at\nice/ice_adapter.c:67 ice_adapter_put+0xef/0x100 [ice]\n...\n[  T93022] RIP: 0010:ice_adapter_put+0xef/0x100 [ice]\n...\n[  T93022] Call Trace:\n[  T93022]  \u003cTASK\u003e\n[  T93022]  ? ice_adapter_put+0xef/0x100 [ice\n33d2647ad4f6d866d41eefff1806df37c68aef0c]\n[  T93022]  ? __warn.cold+0xb0/0x10e\n[  T93022]  ? ice_adapter_put+0xef/0x100 [ice\n33d2647ad4f6d866d41eefff1806df37c68aef0c]\n[  T93022]  ? report_bug+0xd8/0x150\n[  T93022]  ? handle_bug+0xe9/0x110\n[  T93022]  ? exc_invalid_op+0x17/0x70\n[  T93022]  ? asm_exc_invalid_op+0x1a/0x20\n[  T93022]  ? ice_adapter_put+0xef/0x100 [ice\n33d2647ad4f6d866d41eefff1806df37c68aef0c]\n[  T93022]  pci_device_remove+0x42/0xb0\n[  T93022]  device_release_driver_internal+0x19f/0x200\n[  T93022]  driver_detach+0x48/0x90\n[  T93022]  bus_remove_driver+0x70/0xf0\n[  T93022]  pci_unregister_driver+0x42/0xb0\n[  T93022]  ice_module_exit+0x10/0xdb0 [ice\n33d2647ad4f6d866d41eefff1806df37c68aef0c]\n...\n[  T93022] ---[ end trace 0000000000000000 ]---\n[  T93022] ice: module unloaded",
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 2f59743be4d9568cad2d9cf697d1b897975421ed, \u003c f5eb91f876ebecbcd90f9edcaea98dcb354603b3",
          "\u003e= e800654e85b5b27966fc6493201f5f8cf658beb6, \u003c 765236f2c4fbba7650436b71a0e350500e9ec15f",
          "\u003e= e800654e85b5b27966fc6493201f5f8cf658beb6, \u003c 23a5b9b12de9dcd15ebae4f1abc8814ec1c51ab0",
          "\u003e= 6.12.11, \u003c 6.12.60"
        ],
        "fixed_in": [
          "f5eb91f876ebecbcd90f9edcaea98dcb354603b3",
          "765236f2c4fbba7650436b71a0e350500e9ec15f",
          "23a5b9b12de9dcd15ebae4f1abc8814ec1c51ab0",
          "6.12.60"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.13"
        ],
        "fixed_in": [
          "0",
          "6.12.60",
          "6.17.10",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to f5eb91f876ebecbcd90f9edcaea98dcb354603b3 or 765236f2c4fbba7650436b71a0e350500e9ec15f or 23a5b9b12de9dcd15ebae4f1abc8814ec1c51ab0 or 6.12.60 or later.",
      "Upgrade Linux to 0 or 6.12.60 or 6.17.10 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
