← Back to CVE Explorer

CVE-2024-49921

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check null pointers before used [WHAT & HOW] Poniters, such as dc->clk_mgr, are null checked previously in the same function, so Coverity warns "implies that "dc->clk_mgr" might be null". As a result, these pointers need to be checked when used again. This fixes 10 FORWARD_NULL issues reported by Coverity.

Severity
MEDIUM
CVSS score
5.5 (v3.1)
Vulnerability status
Modified
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2024-10-21 18:15:14.260000
Last modified
2026-10-30 13:17:39.230000
View original CVE JSON
{
  "id": "CVE-2024-49921",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2024-10-21T18:15:14.260",
  "lastModified": "2026-10-30T13:17:39.230",
  "vulnStatus": "Modified",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Check null pointers before used\n\n[WHAT & HOW]\nPoniters, such as dc->clk_mgr, are null checked previously in the same\nfunction, so Coverity warns \"implies that \"dc->clk_mgr\" might be null\".\nAs a result, these pointers need to be checked when used again.\n\nThis fixes 10 FORWARD_NULL issues reported by Coverity."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: comprobar punteros nulos antes de usarlos [QUÉ Y CÓMO] Los punteros, como dc->clk_mgr, se comprueban antes en la misma función, por lo que Coverity advierte que \"implica que \"dc->clk_mgr\" podría ser nulo\". Como resultado, estos punteros deben comprobarse cuando se utilicen nuevamente. Esto soluciona 10 problemas de FORWARD_NULL informados por Coverity."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c",
            "drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c",
            "drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c",
            "drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c",
            "drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c",
            "drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c",
            "drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c",
            "drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c",
              "lessThan": "348f8668dfa77294a277946cb0231c29b5474e1d",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c",
              "lessThan": "692e9a20018da7aa225d8dced44803f9852aca81",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c",
              "lessThan": "5b35bf1a82eb29841b67ff5643ba83762250fc24",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c",
              "lessThan": "be1fb44389ca3038ad2430dac4234669bc177ee3",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c",
            "drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c",
            "drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c",
            "drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c",
            "drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c",
            "drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c",
            "drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c",
            "drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.15",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.15",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.11.3",
              "lessThanOrEqual": "6.11.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Primary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 5.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2024-10-22T13:40:21.671812Z",
          "id": "CVE-2024-49921",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-476"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionEndExcluding": "6.11.3",
              "matchCriteriaId": "6D5FF9C2-A011-4A64-B614-F9244ED2EA0D"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/348f8668dfa77294a277946cb0231c29b5474e1d",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/5b35bf1a82eb29841b67ff5643ba83762250fc24",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/692e9a20018da7aa225d8dced44803f9852aca81",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/be1fb44389ca3038ad2430dac4234669bc177ee3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    }
  ]
}