{"id":"CVE-2024-49912","summary":"drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'\n\nThis commit adds a null check for 'stream_status' in the function\n'planes_changed_for_existing_stream'. Previously, the code assumed\n'stream_status' could be null, but did not handle the case where it was\nactually null. This could lead to a null pointer dereference.\n\nReported by smatch:\ndrivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:3784 planes_changed_for_existing_stream() error: we previously assumed 'stream_status' could be null (see line 3774)","modified":"2026-04-02T12:21:06.535889Z","published":"2024-10-21T18:01:40.870Z","related":["MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3983-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:4314-1","SUSE-SU-2024:4316-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-49912.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ffd9fb03bbc99ed1eb5dc989d5c7da2faac0659"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4778982c73d6c9f3fdbdbc6b6c8aa18df98251af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8141f21b941710ecebe49220b69822cab3abd23d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c4b699b93496c423b0e5b584d4eb4ab849313bcf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec6c32b58e6c4e87760e797c525e99a460c82bcb"},{"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/49xxx/CVE-2024-49912.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49912"},{"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":"c4b699b93496c423b0e5b584d4eb4ab849313bcf"},{"fixed":"4778982c73d6c9f3fdbdbc6b6c8aa18df98251af"},{"fixed":"ec6c32b58e6c4e87760e797c525e99a460c82bcb"},{"fixed":"0ffd9fb03bbc99ed1eb5dc989d5c7da2faac0659"},{"fixed":"8141f21b941710ecebe49220b69822cab3abd23d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49912.json"}}],"schema_version":"1.7.5"}