drm/panfrost: Fix shrinker list corruption by madvise IOCTL
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/panfrost: Fix shrinker list corruption by madvise IOCTL
Calling madvise IOCTL twice on BO causes memory shrinker list corruption and crashes kernel because BO is already on the list and it's added to the list again, while BO should be removed from the list before it's re-added. Fix it.
From the CVE record · Linux
The Linux kernel’s Panfrost driver can corrupt its memory shrinker list when the madvise IOCTL is called twice on the same buffer object. A local caller able to use that IOCTL can trigger a kernel crash; authentication requirements are not specified.
Engineers running Linux kernels with the Panfrost driver should check their deployments; affected versions are not specified.