CVE-2022-48990 drm/amdgpu: fix use-after-free during gpu recovery

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel's amdgpu driver during GPU recovery allows attackers to potentially execute code or cause a system crash.

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-2022-48990?

CVE-2022-48990 is a high-severity use after free vulnerability in Linux kernel, published on 21 Oct 2024. 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: fix use-after-free during gpu recovery

[Why] [ 754.862560] refcount_t: underflow; use-after-free. [ 754.862898] Call Trace: [ 754.862903] <TASK> [ 754.862913] amdgpu_job_free_cb+0xc2/0xe1 [amdgpu] [ 754.863543] drm_sched_main.cold+0x34/0x39 [amd_sched]

[How] The fw_fence may be not init, check whether dma_fence_init is performed before job free

Weakness: CWE-416

Which versions are affected by CVE-2022-48990?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-48990?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-48990 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-51348, DEBIAN-CVE-2022-48990, GHSA-h539-fm3j-34j4, ROOT-OS-UBUNTU-2204-CVE-2022-48990, UBUNTU-CVE-2022-48990.

Is CVE-2022-48990 in your software?

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

Check your SBOMs for free