CVE-2025-38598
BaseFortify
Publication date: 2025-08-19
Last updated on: 2025-11-26
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.16 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free bug in the Linux kernel's AMD GPU driver (amdgpu), specifically in the function amdgpu_userq_suspend. A use-after-free occurs when the system tries to access memory that has already been freed, which can lead to crashes or unpredictable behavior.
How can this vulnerability impact me? :
The vulnerability can cause system instability or crashes when the affected AMD GPU driver code accesses freed memory. This could potentially lead to denial of service or other unintended behavior on systems using the vulnerable driver.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability manifests as a use-after-free error in the amdgpu driver, which can be detected by monitoring kernel logs for KASAN (Kernel Address Sanitizer) slab-use-after-free warnings related to amdgpu_userq_suspend. You can check the kernel log using the command: dmesg | grep -i amdgpu | grep -i kasan. Additionally, monitoring for BUG or WARN messages in the kernel logs related to amdgpu may help detect the issue.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation involves updating the Linux kernel to a version where this use-after-free vulnerability in the amdgpu driver has been fixed. Until then, avoid actions that trigger amdgpu_userq_suspend, such as unloading or suspending the amdgpu driver or unplugging AMD PCI devices. Monitoring and restricting operations that cause the amdgpu driver to suspend may reduce exposure.