Skip to content
Heist/ feed
Back to feed
UnratedFix available

drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func This commit adds a null check for the set_output_gamma function pointer in the dcn20_set_output_transfer_func function. Previously, set_output_gamma was being checked for null at line 1030, but then it was being dereferenced without any null check at line 1048. This could potentially lead to a null pointer dereference error if set_output_gamma is null. To fix this, we now ensure that set_output_gamma is not null before dereferencing it. We do this by adding a null check for set_output_gamma before the call to set_output_gamma at line 1048.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.120, 6.10.14, 6.11.3, 6.6.64
CVEs
CVE-2024-49911
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:30 UTC · Revision 1

Source evidence

drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func

core-osv · Original source

Published 21 Oct 2024, 18:01 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func This commit adds a null check for the set_output_gamma function pointer in the dcn20_set_output_transfer_func function. Previously, set_output_gamma was being checked for null at line 1030, but then it was being dereferenced without any null check at line 1048. This could potentially lead to a null pointer dereference error if set_output_gamma is null. To fix this, we now ensure that set_output_gamma is not null before dereferencing it. We do this by adding a null check for set_output_gamma before the call to set_output_gamma at line 1048.

osv:CVE-2024-49911

Kernel

Fixed versions: 6.1.120, 6.6.64, 6.10.14, 6.11.3

Complete source record
{
  "id": "b8e1ce1f1374b503216e7ad12463abb13998301b588c3f463c0ce68d659435c8",
  "url": "https://osv.dev/vulnerability/CVE-2024-49911",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func This commit adds a null check for the set_output_gamma function pointer in the dcn20_set_output_transfer_func function. Previously, set_output_gamma was being checked for null at line 1030, but then it was being dereferenced without any null check at line 1048. This could potentially lead to a null pointer dereference error if set_output_gamma is null. To fix this, we now ensure that set_output_gamma is not null before dereferencing it. We do this by adding a null check for set_output_gamma before the call to set_output_gamma at line 1048.",
    "evidence": "osv:CVE-2024-49911",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.120",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.64",
            "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-49911",
      "aliases": [
        "CVE-2024-49911"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c"
                },
                {
                  "fixed": "e8a24767899c86f4c5f1e4d3b2608942d054900f"
                },
                {
                  "fixed": "8c854138b593efbbd8fa46a25f3288c121c1d1a1"
                },
                {
                  "fixed": "02411e9359297512946705b1cd8cf5e6b0806fa0"
                },
                {
                  "fixed": "827380b114f83c30b3e56d1a675980b6d65f7c88"
                },
                {
                  "fixed": "62ed6f0f198da04e884062264df308277628004f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49911.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "6.1.120"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.64"
                }
              ]
            },
            {
              "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-49911.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.269828074Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/02411e9359297512946705b1cd8cf5e6b0806fa0",
        "https://git.kernel.org/stable/c/62ed6f0f198da04e884062264df308277628004f",
        "https://git.kernel.org/stable/c/827380b114f83c30b3e56d1a675980b6d65f7c88",
        "https://git.kernel.org/stable/c/8c854138b593efbbd8fa46a25f3288c121c1d1a1",
        "https://git.kernel.org/stable/c/e8a24767899c86f4c5f1e4d3b2608942d054900f",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49911.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-49911",
        "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-49911.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-49911",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 492737,
  "published_at": "2024-10-21T18:01:40.2+00:00"
}