Skip to content
Heist/ feed
Back to feed
UnratedFix available

drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream' This commit adds a null check for 'stream_status' in the function 'planes_changed_for_existing_stream'. Previously, the code assumed 'stream_status' could be null, but did not handle the case where it was actually null. This could lead to a null pointer dereference. Reported by smatch: drivers/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)

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.113, 6.10.14, 6.11.3, 6.6.55
CVEs
CVE-2024-49912
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:15 UTC · Revision 1

Source evidence

drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'

core-osv · Original source

Published 21 Oct 2024, 18:01 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream' This commit adds a null check for 'stream_status' in the function 'planes_changed_for_existing_stream'. Previously, the code assumed 'stream_status' could be null, but did not handle the case where it was actually null. This could lead to a null pointer dereference. Reported by smatch: drivers/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)

osv:CVE-2024-49912

Kernel

Fixed versions: 6.1.113, 6.6.55, 6.10.14, 6.11.3

Complete source record
{
  "id": "d72fa8a39e8e88a4cad03b210abc9735d1ebe1ad64873d29e313341723c9cb8b",
  "url": "https://osv.dev/vulnerability/CVE-2024-49912",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream' This commit adds a null check for 'stream_status' in the function 'planes_changed_for_existing_stream'. Previously, the code assumed 'stream_status' could be null, but did not handle the case where it was actually null. This could lead to a null pointer dereference. Reported by smatch: drivers/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)",
    "evidence": "osv:CVE-2024-49912",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.55",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-49912",
      "aliases": [
        "CVE-2024-49912"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "6.1.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.55"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.11.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49912.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.531148187Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0ffd9fb03bbc99ed1eb5dc989d5c7da2faac0659",
        "https://git.kernel.org/stable/c/4778982c73d6c9f3fdbdbc6b6c8aa18df98251af",
        "https://git.kernel.org/stable/c/8141f21b941710ecebe49220b69822cab3abd23d",
        "https://git.kernel.org/stable/c/c4b699b93496c423b0e5b584d4eb4ab849313bcf",
        "https://git.kernel.org/stable/c/ec6c32b58e6c4e87760e797c525e99a460c82bcb",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49912.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-49912",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49912.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-49912",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 504573,
  "published_at": "2024-10-21T18:01:40.87+00:00"
}