CVE-2023-53228 drm/amdgpu: drop redundant sched job cleanup when cs is aborted

Medium 5.5 Published Updated

A double free in the AMD GPU driver causes a NULL pointer dereference, leading to a denial of service when command submission fails.

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-2023-53228?

CVE-2023-53228 is a medium-severity vulnerability in Linux kernel, published on 15 Sep 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: drop redundant sched job cleanup when cs is aborted

Once command submission failed due to userptr invalidation in amdgpu_cs_submit, legacy code will perform cleanup of scheduler job. However, it's not needed at all, as former commit has integrated job cleanup stuff into amdgpu_job_free. Otherwise, because of double free, a NULL pointer dereference will occur in such scenario.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2457

Weakness: CWE-476

Which versions are affected by CVE-2023-53228?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53228?

Apply the vendor's patch.

Is CVE-2023-53228 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53228, DEBIAN-CVE-2023-53228, GHSA-jc3q-v54h-r8hh, UBUNTU-CVE-2023-53228.

Is CVE-2023-53228 in your software?

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

Check your SBOMs for free