# CVE-2025-68215: ice: fix PTP cleanup on driver removal in error path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-29)
- **Published:** 2025-12-16T13:57:10.576Z
- **Modified:** 2026-10-15T22:19:10.750Z

## Who should check

- Anyone running Linux \>= 2f59743be4d9568cad2d9cf697d1b897975421ed, \< f5eb91f876ebecbcd90f9edcaea98dcb354603b3; \>= e800654e85b5b27966fc6493201f5f8cf658beb6, \< 765236f2c4fbba7650436b71a0e350500e9ec15f; \>= e800654e85b5b27966fc6493201f5f8cf658beb6, \< 23a5b9b12de9dcd15ebae4f1abc8814ec1c51ab0; \>= 6.12.11, \< 6.12.60
- Anyone running Linux 6.13

## Description

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 and fixed versions

- Linux: \>= 2f59743be4d9568cad2d9cf697d1b897975421ed, \< f5eb91f876ebecbcd90f9edcaea98dcb354603b3; \>= e800654e85b5b27966fc6493201f5f8cf658beb6, \< 765236f2c4fbba7650436b71a0e350500e9ec15f; \>= e800654e85b5b27966fc6493201f5f8cf658beb6, \< 23a5b9b12de9dcd15ebae4f1abc8814ec1c51ab0; \>= 6.12.11, \< 6.12.60 (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 6.12.60 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68215. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68215.md
Affected: Linux >= 2f59743be4d9568cad2d9cf697d1b897975421ed, < f5eb91f876ebecbcd90f9edcaea98dcb354603b3; >= e800654e85b5b27966fc6493201f5f8cf658beb6, < 765236f2c4fbba7650436b71a0e350500e9ec15f; >= e800654e85b5b27966fc6493201f5f8cf658beb6, < 23a5b9b12de9dcd15ebae4f1abc8814ec1c51ab0; >= 6.12.11, < 6.12.60; Lin…
Fixed in: Linux 765236f2c4fbba7650436b71a0e350500e9ec15f, Linux 23a5b9b12de9dcd15ebae4f1abc8814ec1c51ab0, Linux 6.12.60

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68215 being exploited?

There is no confirmed exploitation: CVE-2025-68215 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2025-68215?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-68215?

Linux \>= 2f59743be4d9568cad2d9cf697d1b897975421ed, \< f5eb91f876ebecbcd90f9edcaea98dcb354603b3; \>= e800654e85b5b27966fc6493201f5f8cf658beb6, \< 765236f2c4fbba7650436b71a0e350500e9ec15f; \>= e800654e85b5b27966fc6493201f5f8cf658beb6, \< 23a5b9b12de9dcd15ebae4f1abc8814ec1c51ab0; \>= 6.12.11, \< 6.12.60; Linux 6.13.

### Is there a fix for CVE-2025-68215?

Yes. Fixed in Linux 765236f2c4fbba7650436b71a0e350500e9ec15f, Linux 23a5b9b12de9dcd15ebae4f1abc8814ec1c51ab0, Linux 6.12.60. Upgrade Linux to 6.12.60 or later.

### How do I check if I'm affected by CVE-2025-68215?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f5eb91f876ebecbcd90f9edcaea98dcb354603b3>
- other: <https://git.kernel.org/stable/c/765236f2c4fbba7650436b71a0e350500e9ec15f>
- other: <https://git.kernel.org/stable/c/23a5b9b12de9dcd15ebae4f1abc8814ec1c51ab0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68215>

HTML: <https://flawdb.com/CVE-2025-68215> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68215>
