In the Linux kernel, the following vulnerability has been resolved:
drm/client: Fully protect modes[] with dev->mode_config.mutex
The modes[] array contains pointers to modes on the connectors' mode lists, which are protected by dev->mode_config.mutex. Thus we need to extend modes[] the same protection or by the time we use it the elements may already be pointing to freed/reused memory.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | - | 5.4.275 |
| linux / linux_kernel | 5.5 | 5.10.216 |
| linux / linux_kernel | 5.11 | 5.15.156 |
| linux / linux_kernel | 5.16 | 6.1.87 |
| linux / linux_kernel | 6.2 | 6.6.28 |
| linux / linux_kernel | 6.7 | 6.8.7 |
| linux / linux_kernel | 6.9-rc1 | 6.9-rc1.x |
| linux / linux_kernel | 6.9-rc2 | 6.9-rc2.x |
| linux / linux_kernel | 6.9-rc3 | 6.9-rc3.x |
| debian / debian_linux | 10.0 | 10.0.x |