accel/ivpu: Fix page fault in ivpu_bo_unbind_all_bos_from_context()
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 page fault in ivpu_bo_unbind_all_bos_from_context()
Don't add BO to the vdev->bo_list in ivpu_gem_create_object(). When failure happens inside drm_gem_shmem_create(), the BO is not fully created and ivpu_gem_bo_free() callback will not be called causing a deleted BO to be left on the list.
From the CVE record · Linux
The Linux kernel’s accel/ivpu driver can leave a deleted buffer object on an internal list if buffer-object creation fails. This can cause a page fault in ivpu_bo_unbind_all_bos_from_context(). The input does not establish whether an attacker can trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with the accel/ivpu driver should check their versions; affected versions are not specified.