What’s Vulnerable › Vulnerabilities

CVE-2024-35950: drm/client: Fully protect modes[] with dev->mode_config.mutex

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.216, 5.15.156, 5.4.275, 6.1.87. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35950 or the next vulnerability affects your stack