CVE-2022-50535 (GCVE-0-2022-50535)
Vulnerability from cvelistv5
Published
2025-10-07 15:21
Modified
2026-08-15 12:23
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: e0082f71e5d2481ce59d49dbfd3677f5fdc85836
Version: dd9b4b435a56a7a29c7d1ccc6479847354842255
Version: 4b44cd5840577479ee6ed387371dd1d1252ca921
Version: 6a03581ccffa571bfa1a9f3a097e1a4d7164fd2d
Version: f4346fb3edf7720db3f7f5e1cab1f667cd024280
Version: f4346fb3edf7720db3f7f5e1cab1f667cd024280
Version: f4346fb3edf7720db3f7f5e1cab1f667cd024280
Version: 2983416458b2e09f7246e8e55df78ccf5968693b
Version: 4.19.239   
Version: 5.4.190   
Version: 5.10.112   
Version: 5.15.35   
Version: 5.17.4   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "fd79b61af2782f8875c78f50cdb8630ec43e2990",
              "status": "affected",
              "version": "e0082f71e5d2481ce59d49dbfd3677f5fdc85836",
              "versionType": "git"
            },
            {
              "lessThan": "d236103782de25736996a45bd36ac2a89bdc93c6",
              "status": "affected",
              "version": "dd9b4b435a56a7a29c7d1ccc6479847354842255",
              "versionType": "git"
            },
            {
              "lessThan": "9f73793b81637c60ccc83cc508645310b8ab7d80",
              "status": "affected",
              "version": "4b44cd5840577479ee6ed387371dd1d1252ca921",
              "versionType": "git"
            },
            {
              "lessThan": "bb9a5562beb982aa5ebb73c521c49596ff8b8030",
              "status": "affected",
              "version": "6a03581ccffa571bfa1a9f3a097e1a4d7164fd2d",
              "versionType": "git"
            },
            {
              "lessThan": "8e365f1bd672cc9320a936f6ae6f8087aa40e9bc",
              "status": "affected",
              "version": "f4346fb3edf7720db3f7f5e1cab1f667cd024280",
              "versionType": "git"
            },
            {
              "lessThan": "00b655fa96b4e941351cc4bf5ca755a65ae94a8e",
              "status": "affected",
              "version": "f4346fb3edf7720db3f7f5e1cab1f667cd024280",
              "versionType": "git"
            },
            {
              "lessThan": "7a7175a2cd84b7874bebbf8e59f134557a34161b",
              "status": "affected",
              "version": "f4346fb3edf7720db3f7f5e1cab1f667cd024280",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "2983416458b2e09f7246e8e55df78ccf5968693b",
              "versionType": "git"
            },
            {
              "lessThan": "4.19.276",
              "status": "affected",
              "version": "4.19.239",
              "versionType": "semver"
            },
            {
              "lessThan": "5.4.235",
              "status": "affected",
              "version": "5.4.190",
              "versionType": "semver"
            },
            {
              "lessThan": "5.10.173",
              "status": "affected",
              "version": "5.10.112",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.99",
              "status": "affected",
              "version": "5.15.35",
              "versionType": "semver"
            },
            {
              "lessThan": "5.18",
              "status": "affected",
              "version": "5.17.4",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.18"
            },
            {
              "lessThan": "5.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.276",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.235",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.173",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.99",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.276",
                  "versionStartIncluding": "4.19.239",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.235",
                  "versionStartIncluding": "5.4.190",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.173",
                  "versionStartIncluding": "5.10.112",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.99",
                  "versionStartIncluding": "5.15.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.17.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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 \u0027aconnector-\u003edc_link\u0027 could be null\n\n[How]\nCheck if dc_link null at the beginning of the loop,\nso further checks can be dropped."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-15T12:23:36.276Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/fd79b61af2782f8875c78f50cdb8630ec43e2990"
        },
        {
          "url": "https://git.kernel.org/stable/c/d236103782de25736996a45bd36ac2a89bdc93c6"
        },
        {
          "url": "https://git.kernel.org/stable/c/9f73793b81637c60ccc83cc508645310b8ab7d80"
        },
        {
          "url": "https://git.kernel.org/stable/c/bb9a5562beb982aa5ebb73c521c49596ff8b8030"
        },
        {
          "url": "https://git.kernel.org/stable/c/8e365f1bd672cc9320a936f6ae6f8087aa40e9bc"
        },
        {
          "url": "https://git.kernel.org/stable/c/00b655fa96b4e941351cc4bf5ca755a65ae94a8e"
        },
        {
          "url": "https://git.kernel.org/stable/c/7a7175a2cd84b7874bebbf8e59f134557a34161b"
        }
      ],
      "title": "drm/amd/display: Fix potential null-deref in dm_resume",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50535",
    "datePublished": "2025-10-07T15:21:02.347Z",
    "dateReserved": "2025-10-07T15:15:38.666Z",
    "dateUpdated": "2026-08-15T12:23:36.276Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…