drm/etnaviv: Fix NULL dereference on unbind without PPU flop reset
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1fc4d88bb5398d9687993220effd7d79364e7a13, Kernel a0560a12d8c1a03e925c5d9be8479da75663a40f and Kernel 7.3.5.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.0, >=85ba57ad88cf96b2fb4cf6c81639c7907bf3cd94 <1fc4d88bb5398d9687993220effd7d79364e7a13, >=85ba57ad88cf96b2fb4cf6c81639c7907bf3cd94 <a0560a12d8c1a03e925c5d9be8479da75663a40f | 1fc4d88bb5398d9687993220effd7d79364e7a13, a0560a12d8c1a03e925c5d9be8479da75663a40f |
| linux-kernel: Kernel | >=7.0.0 <7.3.5 | 7.3.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket