← Back to CVE Explorer

CVE-2022-50535

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix potential null-deref in dm_resume [Why] Fixing smatch error: dm_resume() error: we previously assumed 'aconnector->dc_link' could be null [How] Check if dc_link null at the beginning of the loop, so further checks can be dropped.

Severity
MEDIUM
CVSS score
5.5 (v3.1)
Vulnerability status
Analyzed
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-10-07 16:15:37.680000
Last modified
2026-11-05 21:17:04.297000
View original CVE JSON
{
  "id": "CVE-2022-50535",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2025-10-07T16:15:37.680",
  "lastModified": "2026-11-05T21:17:04.297",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix potential null-deref in dm_resume\n\n[Why]\nFixing smatch error:\ndm_resume() error: we previously assumed 'aconnector->dc_link' could be null\n\n[How]\nCheck if dc_link null at the beginning of the loop,\nso further checks can be dropped."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "e0082f71e5d2481ce59d49dbfd3677f5fdc85836",
              "lessThan": "fd79b61af2782f8875c78f50cdb8630ec43e2990",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "dd9b4b435a56a7a29c7d1ccc6479847354842255",
              "lessThan": "d236103782de25736996a45bd36ac2a89bdc93c6",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4b44cd5840577479ee6ed387371dd1d1252ca921",
              "lessThan": "9f73793b81637c60ccc83cc508645310b8ab7d80",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6a03581ccffa571bfa1a9f3a097e1a4d7164fd2d",
              "lessThan": "bb9a5562beb982aa5ebb73c521c49596ff8b8030",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f4346fb3edf7720db3f7f5e1cab1f667cd024280",
              "lessThan": "8e365f1bd672cc9320a936f6ae6f8087aa40e9bc",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f4346fb3edf7720db3f7f5e1cab1f667cd024280",
              "lessThan": "00b655fa96b4e941351cc4bf5ca755a65ae94a8e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f4346fb3edf7720db3f7f5e1cab1f667cd024280",
              "lessThan": "7a7175a2cd84b7874bebbf8e59f134557a34161b",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2983416458b2e09f7246e8e55df78ccf5968693b",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4.19.239",
              "lessThan": "4.19.276",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.4.190",
              "lessThan": "5.4.235",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.10.112",
              "lessThan": "5.10.173",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.15.35",
              "lessThan": "5.15.99",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.17.4",
              "lessThan": "5.18",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.18",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.18",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "4.19.276",
              "lessThanOrEqual": "4.19.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.4.235",
              "lessThanOrEqual": "5.4.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.173",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.99",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.16",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.2.3",
              "lessThanOrEqual": "6.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.3",
              "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": "2026-11-05T20:13:13.741518Z",
          "id": "CVE-2022-50535",
          "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:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.15",
              "versionEndExcluding": "4.19.276",
              "matchCriteriaId": "C902FC54-DDBD-4DA6-BFEF-26889A267464"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.20",
              "versionEndExcluding": "5.4.235",
              "matchCriteriaId": "13DD5E68-8CB4-46EE-9A8F-C7F6C1A84430"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "5.5",
              "versionEndExcluding": "5.10.173",
              "matchCriteriaId": "4D810CFB-B7C5-493C-B98A-0D5F0D8A47B6"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "5.11",
              "versionEndExcluding": "5.15.99",
              "matchCriteriaId": "5B8B2AC9-2F31-4A0F-96F5-7E26B50B27BB"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "5.16",
              "versionEndExcluding": "6.1.16",
              "matchCriteriaId": "0FD95FDA-6525-4B13-B3FB-49D9995FD8ED"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "6.2",
              "versionEndExcluding": "6.2.3",
              "matchCriteriaId": "88C67289-22AD-4CA9-B202-5F5A80E5BA4B"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/00b655fa96b4e941351cc4bf5ca755a65ae94a8e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/7a7175a2cd84b7874bebbf8e59f134557a34161b",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/8e365f1bd672cc9320a936f6ae6f8087aa40e9bc",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/9f73793b81637c60ccc83cc508645310b8ab7d80",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/bb9a5562beb982aa5ebb73c521c49596ff8b8030",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/d236103782de25736996a45bd36ac2a89bdc93c6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/fd79b61af2782f8875c78f50cdb8630ec43e2990",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    }
  ]
}