{"id":"CVE-2024-42101","summary":"drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes","details":"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.","modified":"2026-04-16T04:39:02.608984392Z","published":"2024-07-30T07:45:57.384Z","related":["SUSE-SU-2024:3189-1","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3251-1","SUSE-SU-2024:3252-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42101.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1f32535238493008587a8c5cb17eb2ca097592ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/744b229f09134ccd091427a6f9ea6d97302cfdd9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80bec6825b19d95ccdfd3393cf8ec15ff2a749b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9baf60323efa992b7c915094529f0a1882c34e7e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e36364f5f3785d054a94e57e971385284886d41a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f48dd3f19614022f2e1b794fbd169d2b4c398c07"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42101.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42101"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6ee738610f41b59733f63718f0bdbcba7d3a3f12"},{"fixed":"9baf60323efa992b7c915094529f0a1882c34e7e"},{"fixed":"e36364f5f3785d054a94e57e971385284886d41a"},{"fixed":"274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d"},{"fixed":"f48dd3f19614022f2e1b794fbd169d2b4c398c07"},{"fixed":"1f32535238493008587a8c5cb17eb2ca097592ef"},{"fixed":"744b229f09134ccd091427a6f9ea6d97302cfdd9"},{"fixed":"7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e"},{"fixed":"80bec6825b19d95ccdfd3393cf8ec15ff2a749b4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42101.json"}}],"schema_version":"1.7.5"}