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.
https://git.kernel.org/stable/c/d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949
https://git.kernel.org/stable/c/8ceb873d816786a7c8058f50d903574aff8d3764
https://git.kernel.org/stable/c/5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e
https://git.kernel.org/stable/c/41586487769eede64ab1aa6c65c74cbf76c12ef0
https://git.kernel.org/stable/c/3eadd887dbac1df8f25f701e5d404d1b90fd0fea
https://git.kernel.org/stable/c/18c8cc6680ce938d0458859b6a08b4d34f7d8055
https://git.kernel.org/stable/c/04e018bd913d3d3336ab7d21c2ad31a9175fe984