Linux kernel denial of service in Etnaviv driver unbinding
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Original description
In the Linux kernel, the following vulnerability has been resolved:
drm/etnaviv: Fix NULL dereference on unbind without PPU flop reset
flop_reset_data_ppu is only allocated on GPUs that need the PPU flop reset. However, etnaviv_unbind(..) frees it unconditionally, and etnaviv_cmdbuf_free(..) dereferences cmdbuf->suballoc before checking whether cmdbuf is NULL.
As a result, unloading the driver on GPUs that do not need the PPU flop reset causes a NULL pointer dereference at address 0.
From the CVE record · Linux