CVE-2025-39740: Linux kernel - Use After Free
- Cve: CVE-2025-39740
- Name: Linux kernel - Use After Free
- Description: In the Linux kernel, the following vulnerability has been resolved: drm/xe/migrate: prevent potential UAF If we hit the error path, the previous fence (if there is one) has already been put() prior to this, so doing a fence_wait could lead to UAF. Tweak the flow to do to the put() until after we do the wait. (cherry picked from commit 9b7ca35ed28fe5fad86e9d9c24ebd1271e4c9c3e)
- Impact: Attackers can cause memory corruption or denial of service by triggering use-after-free conditions.
- Remediation: Update to the latest Linux kernel version containing the fix for commit 9b7ca35ed28fe5fad86e9d9c24ebd1271e4c9c3e
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service
- Requirements: Attacker must trigger specific error path in drm/xe/migrate component
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00157
- Epss percentile: 0.04831
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2025-09-11T17:15:36Z
- Age in days: 439
- Modified at: 2026-10-19T21:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-39740
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
References
| Url | Source | Tags |
|---|---|---|
| https://git.kernel.org/stable/c/145832fbdd17b1d77ffd6cdd1642259e101d1b7e | nvd | Patch |
| https://git.kernel.org/stable/c/7e46fa64a4b94208563c3a5bf1d7f4346f94abea | nvd | Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | = 6.17 rc1; >= 6.16, < 6.16.2 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports