accel/ivpu: Disallow re-exporting imported GEM objects
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: Disallow re-exporting imported GEM objects
Prevent re-exporting of imported GEM buffers by adding a custom prime_handle_to_fd callback that checks if the object is imported and returns -EOPNOTSUPP if so.
Re-exporting imported GEM buffers causes loss of buffer flags settings, leading to incorrect device access and data corruption.
From the CVE record · Linux
The Linux kernel’s accel/ivpu component permits re-exporting imported GEM buffers. When an imported buffer is re-exported, its flags can be lost, causing incorrect device access and data corruption. The input does not specify whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the accel/ivpu component should check whether their kernel is affected; affected versions are not specified.