Menu

Star on GitHub · 3.2k

CVE-2025-38731

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix vm_bind_ioctl double free bug If the argument check during an array bind fails, the bind_ops are freed twice as see…

Published Sep 5, 2025CWE-415EPSS 0.16%

Overview

CVE-2025-38731 is a high-severity vulnerability. It was published on September 5, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

drm/xe: Fix vm_bind_ioctl double free bug

If the argument check during an array bind fails, the bind_ops are freed

twice as seen below. Fix this by setting bind_ops to NULL after freeing.

==================================================================

BUG: KASAN: double-free in xe_vm_bind_ioctl+0x1b2/0x21f0 [xe]

Free of addr ffff88813bb9b800 by task xe_vm/14198

CPU: 5 UID: 0 PID: 14198 Comm: xe_vm Not tainted 6.16.0-xe-eudebug-cmanszew+ #520 PREEMPT(full)

Hardware name: Intel Corporation Alder Lake Client Platform/AlderLake-P DDR5 RVP, BIOS ADLPFWI1.R00.2411.A02.2110081023 10/08/2021

Call Trace:

<TASK>

dump_stack_lvl+0x82/0xd0

print_report+0xcb/0x610

? __virt_addr_valid+0x19a/0x300

? xe_vm_bind_ioctl+0x1b2/0x21f0 [xe]

kasan_report_invalid_free+0xc8/0xf0

? xe_vm_bind_ioctl+0x1b2/0x21f0 [xe]

? xe_vm_bind_ioctl+0x1b2/0x21f0 [xe]

check_slab_allocation+0x102/0x130

kfree+0x10d/0x440

? should_fail_ex+0x57/0x

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-38731?

CVE-2025-38731 is a high-severity vulnerability. It was published on September 5, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-38731?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38731?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38731?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-38731 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all