CVE-2025-38011 drm/amdgpu: csa unmap use uninterruptible lock

Medium 5.5 Published Updated

A race condition in the AMD GPU driver causes memory leaks and kernel warnings during process exit, potentially leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38011?

CVE-2025-38011 is a medium-severity memory corruption vulnerability in Linux kernel, published on 18 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

drm/amdgpu: csa unmap use uninterruptible lock

After process exit to unmap csa and free GPU vm, if signal is accepted and then waiting to take vm lock is interrupted and return, it causes memory leaking and below warning backtrace.

Change to use uninterruptible wait lock fix the issue.

WARNING: CPU: 69 PID: 167800 at amd/amdgpu/amdgpu_kms.c:1525 amdgpu_driver_postclose_kms+0x294/0x2a0 [amdgpu] Call Trace: <TASK> drm_file_free.part.0+0x1da/0x230 [drm] drm_close_helper.isra.0+0x65/0x70 [drm] drm_release+0x6a/0x120 [drm] amdgpu_drm_release+0x51/0x60 [amdgpu] __fput+0x9f/0x280 ____fput+0xe/0x20 task_work_run+0x67/0xa0 do_exit+0x217/0x3c0 do_group_exit+0x3b/0xb0 get_signal+0x14a/0x8d0 arch_do_signal_or_restart+0xde/0x100 exit_to_user_mode_loop+0xc1/0x1a0 exit_to_user_mode_prepare+0xf4/0x100 syscall_exit_to_user_mode+0x17/0x40 do_syscall_64+0x69/0xc0

(cherry picked from commit 7dbbfb3c171a6f63b01165958629c9c26abf38ab)

Weakness: CWE-401

Which versions are affected by CVE-2025-38011?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38011?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-38011 being exploited?

There is no known exploitation of CVE-2025-38011 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-64019, BELL-CVE-2025-38011, DEBIAN-CVE-2025-38011, GHSA-pc3q-7xfr-h5h3, ROOT-OS-DEBIAN-12-CVE-2025-38011, ROOT-OS-UBUNTU-2204-CVE-2025-38011 and 2 more.

Is CVE-2025-38011 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free