7.8

CVE-2025-39859: linux Use After Free

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2025-39859DEBIAN-CVE-2025-39859CGA-28rv-vrq4-4vj7
Published 19-09-2025Last modified 21-10-2026

Vulnerability summary

CVE-2025-39859 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 3.7% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.15%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 16 · Related 17

Timeline

  1. 19-09-2025
    PublishedVulnerability first disclosed.
  2. 21-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: ptp: ocp: fix use-after-free bugs causing by ptp_ocp_watchdog The ptp_ocp_detach() only shuts down the watchdog timer if it is pending. However, if the timer handler is already running, the timer_delete_sync() is not called. This leads to race conditions where the devlink that contains the ptp_ocp is deallocated while the timer handler is still accessing it, resulting in use-after-free bugs. The following details one of the race scenarios. (thread 1) | (thread 2) ptp_ocp_remove() | ptp_ocp_detach() | ptp_ocp_watchdog() if (timer_pending(&bp->watchdog))| bp = timer_container_of() timer_delete_sync() | | devlink_free(devlink) //free | | bp-> //use Resolve this by unconditionally calling timer_delete_sync() to ensure the timer is reliably deactivated, preventing any access after free.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

0.00 pp

From 0.15% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.15%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu139 products
  • linuxAll versions (No fix recorded)
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
  • linux-aws-6.12< 6.12.74-r1 | < 6.12.63-r0 | < 6.12.66-r0 | < 6.12.72-r1 | < 6.12.77-r0 | < 6.12.68-r1 | < 6.12.72-r0 | < 6.12.78-r0 | < 6.12.62-r2 | < 6.12.62-r1 | < 6.12.70-r0 | < 6.12.65-r2 | < 6.12.77-r1 | < 6.12.76-r0 | < 6.12.65-r1 | < 6.12.67-r0 | < 6.12.74-r0 | < 6.12.71-r0 | < 6.12.65-r0 | < 6.12.80-r0 | < 6.12.68-r0 | < 6.12.69-r0 | < 6.12.77-r2
  • linux-azure-6.12< 6.12.77-r2 | < 6.12.77-r1 | < 6.12.62-r2 | < 6.12.78-r0 | < 6.12.72-r0 | < 6.12.67-r0 | < 6.12.65-r3 | < 6.12.65-r1 | < 6.12.74-r0 | < 6.12.74-r1 | < 6.12.69-r0 | < 6.12.76-r0 | < 6.12.63-r0 | < 6.12.68-r0 | < 6.12.77-r0 | < 6.12.80-r0 | < 6.12.62-r1 | < 6.12.70-r0 | < 6.12.65-r2 | < 6.12.71-r0 | < 6.12.65-r4 | < 6.12.66-r0
  • linux-gcp-6.12< 6.12.69-r0 | < 6.12.71-r0 | < 6.12.66-r0 | < 6.12.72-r0 | < 6.12.76-r0 | < 6.12.65-r2 | < 6.12.68-r0 | < 6.12.74-r1 | < 6.12.67-r0 | < 6.12.65-r0 | < 6.12.74-r0 | < 6.12.77-r2 | < 6.12.63-r0 | < 6.12.77-r0 | < 6.12.78-r0 | < 6.12.77-r1 | < 6.12.80-r0 | < 6.12.68-r1 | < 6.12.70-r0 | < 6.12.62-r2 | < 6.12.65-r1 | < 6.12.62-r0 | < 6.12.62-r1
  • linux-qemu-6.12< 6.12.66-r0 | < 6.12.78-r0 | < 6.12.72-r0 | < 6.12.74-r1 | < 6.12.65-r1 | < 6.12.77-r0 | < 6.12.80-r0 | < 6.12.68-r0 | < 6.12.70-r0 | < 6.12.67-r0 | < 6.12.74-r0 | < 6.12.77-r1 | < 6.12.65-r2 | < 6.12.77-r2 | < 6.12.69-r0 | < 6.12.71-r0 | < 6.12.76-r0
  • linux-vmware-6.12< 6.12.65-r1 | < 6.12.68-r0 | < 6.12.65-r2 | < 6.12.78-r0 | < 6.12.77-r0 | < 6.12.74-r0 | < 6.12.74-r1 | < 6.12.77-r2 | < 6.12.70-r0 | < 6.12.66-r0 | < 6.12.76-r0 | < 6.12.69-r0 | < 6.12.80-r0 | < 6.12.71-r0 | < 6.12.68-r1 | < 6.12.77-r1 | < 6.12.67-r0 | < 6.12.72-r0
Linux2 products
  • linux≥ 773bda96492153e11d21eb63ac814669b51fc701, < e2a6eabe5304a789b7d40ce2576cd80154255e51 | ≥ 773bda96492153e11d21eb63ac814669b51fc701, < aad70bdfc8244616e48c434310cab241a3f17781 | ≥ 773bda96492153e11d21eb63ac814669b51fc701, < f10d3c7267ac7387a5129d5506c3c5f2460cfd9b | ≥ 773bda96492153e11d21eb63ac814669b51fc701, < 8bf935cf789872350b04c1a6468b0a509f67afb2 | 5.15
  • linux_kernel≥ 5.15, < 6.16.6 | 6.17:rc1 | 6.17:rc2 | 6.17:rc3 | 6.17:rc4
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.16.6-1

4 vendors · 147 products

References

12 links
Show all 12 references