CVE-2022-48990·Kernel vulnerability
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
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.0.13
- Published
- 2024-10-21
Affected versions
Until: 6.0.13
Fixed in: 6.0.13
How to fix this CVE
Update your Linux kernel to version 6.0.13 or later to resolve a use-after-free vulnerability in AMD GPU driver recovery logic. This flaw can cause kernel crashes and memory corruption during GPU error recovery scenarios. Apply the patch through your distribution's package manager and reboot the system to complete the remediation.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Verify if AMD GPU drivers are loaded: lspci -k | grep -A 2 VGA
- Monitor kernel logs for refcount errors: sudo dmesg | grep -i 'refcount_t\|use-after-free\|amdgpu_job_free'
- Confirm patch installation by comparing kernel version against 6.0.13: if [ $(uname -r | cut -d. -f1,2,3) \< 6.0.13 ]; then echo 'Vulnerable'; else echo 'Patched'; fi
FAQ
What is CVE-2022-48990?
CVE-2022-48990 is a use-after-free vulnerability in the Linux kernel's AMD GPU (amdgpu) driver that occurs when the GPU recovery process attempts to free job structures without verifying if the fence object was properly initialized, potentially causing memory corruption and kernel panics.
Is CVE-2022-48990 being actively exploited?
No, CVE-2022-48990 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, it can be triggered through GPU error conditions on systems with AMD graphics hardware.
What versions of Kernel are affected by CVE-2022-48990?
All Linux kernel versions prior to 6.0.13 are affected. The vulnerability exists in the amdgpu driver's job cleanup callback during GPU recovery operations.
How do I check if my server is vulnerable to CVE-2022-48990?
Run 'uname -r' to check your kernel version. If it is below 6.0.13 and your system has AMD GPU hardware (check with 'lspci | grep VGA'), you are vulnerable. Additionally, check 'dmesg' for refcount underflow errors related to amdgpu_job_free_cb.
Does Defensia detect CVE-2022-48990?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If a vulnerable kernel version is detected on a monitored server, CVE-2022-48990 will appear in your dashboard with remediation steps and patch recommendations.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48990. Free for 1 server.
Get started free