What’s Vulnerable › Vulnerabilities

CVE-2024-42101: drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes

Description

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes In nouveau_connector_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a possible NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.318, 5.10.222, 5.15.163, 5.4.280. Check the vendor advisory for mitigations.

References

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