drm/panthor: Lock XArray when getting entries for the VM
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:
drm/panthor: Lock XArray when getting entries for the VM
Similar to commit cac075706f29 ("drm/panthor: Fix race when converting group handle to group object") we need to use the XArray's internal locking when retrieving a vm pointer from there.
v2: Removed part of the patch that was trying to protect fetching the heap pointer from XArray, as that operation is protected by the @pool->lock.
From the CVE record · Linux
The Linux kernel's drm/panthor driver retrieves a VM pointer from an XArray without using the XArray's internal locking, creating a race condition. The input does not specify what an attacker could achieve or whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the drm/panthor driver should check their installations; affected versions are not specified.