{"id":"CVE-2024-41089","summary":"drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes\n\nIn nv17_tv_get_hd_modes(), the return value of drm_mode_duplicate() is\nassigned to mode, which will lead to a possible NULL pointer dereference\non failure of drm_mode_duplicate(). The same applies to drm_cvt_mode().\nAdd a check to avoid null pointer dereference.","modified":"2026-03-14T12:35:07.008745Z","published":"2024-07-29T15:48:04.875Z","related":["SUSE-SU-2024:2892-1","SUSE-SU-2024:2901-1","SUSE-SU-2024:2940-1","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41089.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c9f2e60150b4f13789064370e37f39e6e060f50"},{"type":"WEB","url":"https://git.kernel.org/stable/c/30cbf6ffafbbdd8a6e4e5f0a2e9a9827ee83f3ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/56fc4d3b0bdef691831cd95715a7ca3ebea98b2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5eecb49a6c268dc229005bf6e8167d4001dc09a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d411c8ccc0137a612e0044489030a194ff5c843"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e49a157d541e7e97b815a56f4bdfcbc89844a59"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ece609b0ce7a7ea8acdf512a77d1fee26621637"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ffabad4aa91e33ced3c6ae793fb37771b3e9cb51"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41089.json"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41089"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6ee738610f41b59733f63718f0bdbcba7d3a3f12"},{"fixed":"ffabad4aa91e33ced3c6ae793fb37771b3e9cb51"},{"fixed":"1c9f2e60150b4f13789064370e37f39e6e060f50"},{"fixed":"56fc4d3b0bdef691831cd95715a7ca3ebea98b2d"},{"fixed":"5eecb49a6c268dc229005bf6e8167d4001dc09a0"},{"fixed":"30cbf6ffafbbdd8a6e4e5f0a2e9a9827ee83f3ad"},{"fixed":"7ece609b0ce7a7ea8acdf512a77d1fee26621637"},{"fixed":"6e49a157d541e7e97b815a56f4bdfcbc89844a59"},{"fixed":"6d411c8ccc0137a612e0044489030a194ff5c843"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41089.json"}}],"schema_version":"1.7.5"}