{"id":"CVE-2024-49913","summary":"drm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream\n\nThis commit addresses a null pointer dereference issue in the\n`commit_planes_for_stream` function at line 4140. The issue could occur\nwhen `top_pipe_to_program` is null.\n\nThe fix adds a check to ensure `top_pipe_to_program` is not null before\naccessing its stream_res. This prevents a null pointer dereference.\n\nReported by smatch:\ndrivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:4140 commit_planes_for_stream() error: we previously assumed 'top_pipe_to_program' could be null (see line 3906)","modified":"2026-04-02T12:21:08.075373Z","published":"2024-10-21T18:01:41.551Z","related":["MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:4314-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49913.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1ebfa6663807c144be8c8b6727375012409d2356"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3929e382e4758aff42da0102a60d13337c99d3b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40193ff73630adf76bc0d82398f7d90fb576dba4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66d71a72539e173a9b00ca0b1852cbaa5f5bf1ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/73efd2a611b62fee71a7b7f27d9d08bb60da8a72"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ab59527852a6f7780aad6185729550ca0569122"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e47e563c6f0db7d792a559301862c19ead0dfc2f"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49913.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49913"},{"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":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c"},{"fixed":"1ebfa6663807c144be8c8b6727375012409d2356"},{"fixed":"8ab59527852a6f7780aad6185729550ca0569122"},{"fixed":"40193ff73630adf76bc0d82398f7d90fb576dba4"},{"fixed":"e47e563c6f0db7d792a559301862c19ead0dfc2f"},{"fixed":"3929e382e4758aff42da0102a60d13337c99d3b8"},{"fixed":"73efd2a611b62fee71a7b7f27d9d08bb60da8a72"},{"fixed":"66d71a72539e173a9b00ca0b1852cbaa5f5bf1ad"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49913.json"}}],"schema_version":"1.7.5"}