Linux · Linux Kernel · CVE-2022-49133
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
A deadlock issue has been identified in the Linux kernel, specifically in the drm/amdkfd component. The problem occurs when the svm range restore work is flushed during process exit, leading to a potential deadlock. This happens because the `kfd process notifier release` function calls `svm range list lock and flush work` to flush deferred list work, but if the `deferred list` work `mmput` releases the last user, it will call `exit mmap` -> `notifier release`, resulting in a deadlock. The issue is resolved by moving the flush of `svm range restore work` to `kfd process wq release` to avoid the deadlock. Additionally, `svm range restore work` takes a task->mm ref to prevent the mm from being gone while validating and mapping ranges to the GPU.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.