CVE-2024-42101

published 30 Jul 2024 · updated 11 May 2026

drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1f32535238493008587a8c5cb17eb2ca097592ef, Kernel 274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d, Kernel 744b229f09134ccd091427a6f9ea6d97302cfdd9 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.33, >=6ee738610f41b59733f63718f0bdbcba7d3a3f12 <1f32535238493008587a8c5cb17eb2ca097592ef, >=6ee738610f41b59733f63718f0bdbcba7d3a3f12 <274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d, >=6ee738610f41b59733f63718f0bdbcba7d3a3f12 <744b229f09134ccd091427a6f9ea6d97302cfdd9, >=6ee738610f41b59733f63718f0bdbcba7d3a3f12 <7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e, >=6ee738610f41b59733f63718f0bdbcba7d3a3f12 <80bec6825b19d95ccdfd3393cf8ec15ff2a749b4, >=6ee738610f41b59733f63718f0bdbcba7d3a3f12 <9baf60323efa992b7c915094529f0a1882c34e7e, >=6ee738610f41b59733f63718f0bdbcba7d3a3f12 <e36364f5f3785d054a94e57e971385284886d41a, >=6ee738610f41b59733f63718f0bdbcba7d3a3f12 <f48dd3f19614022f2e1b794fbd169d2b4c398c071f32535238493008587a8c5cb17eb2ca097592ef, 274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d, 744b229f09134ccd091427a6f9ea6d97302cfdd9, 7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e, 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4, 9baf60323efa992b7c915094529f0a1882c34e7e, e36364f5f3785d054a94e57e971385284886d41a, f48dd3f19614022f2e1b794fbd169d2b4c398c07

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-42101 severity on Zeptric[![CVE-2024-42101](https://zeptric.io/badge/cve/CVE-2024-42101.svg)](https://zeptric.io/cve/CVE-2024-42101)