
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49133 affects the Linux kernel, specifically in the drm/amdkfd component. The vulnerability involves a deadlock condition that occurs when a process exits while handling svm range restore work. This issue was discovered in the kfd_process_notifier_release function which flushes svm_range_restore_work, potentially leading to a deadlock situation when deferred_list work releases the last user (Kernel Git).
The vulnerability occurs in the kfd_process_notifier_release function when it attempts to flush svm_range_restore_work. The deadlock happens because if deferred_list work mmput releases the last user, it triggers a call sequence through exit_mmap -> notifier_release. The issue manifests in the following call trace: wait_for_completion -> __flush_work -> __cancel_work_timer -> cancel_delayed_work_sync -> kfd_process_notifier_release -> __mmu_notifier_release -> exit_mmap -> mmput -> svm_range_deferred_list_work -> process_one_work (Kernel Git).
The vulnerability can result in a system deadlock when a process exits while handling svm range restore work, potentially affecting system stability and performance (Ubuntu Security).
This vulnerability requires local access to the system and specific conditions involving process termination and memory management operations to trigger the deadlock condition (Ubuntu Security).
The issue has been fixed by moving the flush svm_range_restore_work operation to kfd_process_wq_release to avoid the deadlock. Additionally, svm_range_restore_work now takes a task->mm reference to prevent the memory management structure from being released while validating and mapping ranges to GPU (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."