{"id":"CVE-2024-42101","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: fix null pointer dereference in nouveau_connector_get_modes\n\nIn nouveau_connector_get_modes(), the return value of drm_mode_duplicate()\nis assigned to mode, which will lead to a possible NULL pointer\ndereference on failure of drm_mode_duplicate(). Add a check to avoid npd.","ai_summary":null,"severity":"medium","cvss":{"score":5.5,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},"scores":[{"score":5.5,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd"}],"cwe":["CWE-476"],"remote":false,"remote_unauth":false,"epss":{"score":0.00261,"percentile":0.19003,"date":"2026-12-04"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"Linux","product":"Linux","versions":">= 6ee738610f41b59733f63718f0bdbcba7d3a3f12, < 9baf60323efa992b7c915094529f0a1882c34e7e; >= 6ee738610f41b59733f63718f0bdbcba7d3a3f12, < e36364f5f3785d054a94e57e971385284886d41a; >= 6ee738610f41b59733f63718f0bdbcba7d3a3f12, < 274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d; >= 6ee738610f41b59733f63718f0bdbcba7d3a3f12, < f48dd3f19614022f2e1b794fbd169d2b4c398c07; >= 6ee738610f41b59733f63718f0bdbcba7d3a3f12, < 1f32535238493008587a8c5cb17eb2ca097592ef; >= 6ee738610f41b59733f63718f0bdbcba7d3a3f12, < 744b229f09134ccd091427a6f9ea6d97302cfdd9; >= 6ee738610f41b59733f63718f0bdbcba7d3a3f12, < 7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e; >= 6ee738610f41b59733f63718f0bdbcba7d3a3f12, < 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4","source":"cvelist"},{"vendor":"Linux","product":"Linux","versions":"2.6.33","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade Linux to 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4 or later.","technologies":[],"references":[{"url":"https://git.kernel.org/stable/c/9baf60323efa992b7c915094529f0a1882c34e7e","kind":"patch"},{"url":"https://git.kernel.org/stable/c/e36364f5f3785d054a94e57e971385284886d41a","kind":"patch"},{"url":"https://git.kernel.org/stable/c/274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d","kind":"patch"},{"url":"https://git.kernel.org/stable/c/f48dd3f19614022f2e1b794fbd169d2b4c398c07","kind":"patch"},{"url":"https://git.kernel.org/stable/c/1f32535238493008587a8c5cb17eb2ca097592ef","kind":"patch"},{"url":"https://git.kernel.org/stable/c/744b229f09134ccd091427a6f9ea6d97302cfdd9","kind":"patch"},{"url":"https://git.kernel.org/stable/c/7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e","kind":"patch"},{"url":"https://git.kernel.org/stable/c/80bec6825b19d95ccdfd3393cf8ec15ff2a749b4","kind":"patch"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","kind":"other"}],"workarounds":null,"vendors":["linux"],"products":["linux","linux_kernel"],"cpes":["cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"],"published_at":"2024-07-30T07:45:57.384Z","modified_at":"2026-06-17T07:48:50.023Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42101"}],"links":{"html":"https://flawdb.com/CVE-2024-42101","markdown":"https://flawdb.com/CVE-2024-42101.md","json":"https://flawdb.com/api/v1/entries/CVE-2024-42101"}}