accel/ivpu: Fix deadlock in ivpu_ms_cleanup()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
accel/ivpu: Fix deadlock in ivpu_ms_cleanup()
Fix deadlock in ivpu_ms_cleanup() by preventing runtime resume after file_priv->ms_lock is acquired.
During a failure in runtime resume, a cold boot is executed, which calls ivpu_ms_cleanup_all(). This function calls ivpu_ms_cleanup() that acquires file_priv->ms_lock and causes the deadlock.
From the CVE record · Linux
The Linux kernel's accel/ivpu driver can deadlock in ivpu_ms_cleanup() if runtime resume fails after file_priv->ms_lock is acquired. The input does not establish whether an attacker can trigger this condition or specify any network, authentication, or user-interaction requirements.
Engineers running Linux kernels with the accel/ivpu driver should check whether their kernel is affected; affected versions are not specified.