CVE-2022-50503 (GCVE-0-2022-50503)
Vulnerability from cvelistv5
Published
2025-10-04 15:43
Modified
2025-10-04 15:43
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: mtd: lpddr2_nvm: Fix possible null-ptr-deref It will cause null-ptr-deref when resource_size(add_range) invoked, if platform_get_resource() returns NULL.
Impacted products
Vendor Product Version
Linux Linux Version: 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Version: 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Version: 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Version: 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Version: 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Version: 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Version: 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Version: 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Version: 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mtd/lpddr/lpddr2_nvm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4d10bd7416e8383340b5524b8d616b8ad01ef1e1",
              "status": "affected",
              "version": "96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25",
              "versionType": "git"
            },
            {
              "lessThan": "bb9ccb6121ec4140d366147aa866ceb5a21a8d3d",
              "status": "affected",
              "version": "96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25",
              "versionType": "git"
            },
            {
              "lessThan": "e6aafb57d90ff2c1e18554f3a3c36247a59825ce",
              "status": "affected",
              "version": "96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25",
              "versionType": "git"
            },
            {
              "lessThan": "8eb64dc5a790a529ef49ec94b3337af09dac15d3",
              "status": "affected",
              "version": "96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25",
              "versionType": "git"
            },
            {
              "lessThan": "0919982a1744346269320615615c7deb14106661",
              "status": "affected",
              "version": "96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25",
              "versionType": "git"
            },
            {
              "lessThan": "e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2",
              "status": "affected",
              "version": "96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25",
              "versionType": "git"
            },
            {
              "lessThan": "f82f63b3911f1b2da68a14d9c4babf3b55feca55",
              "status": "affected",
              "version": "96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25",
              "versionType": "git"
            },
            {
              "lessThan": "c4cc41e94d8357f5f02b8ef40257bb23931d8438",
              "status": "affected",
              "version": "96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25",
              "versionType": "git"
            },
            {
              "lessThan": "6bdd45d795adf9e73b38ced5e7f750cd199499ff",
              "status": "affected",
              "version": "96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mtd/lpddr/lpddr2_nvm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.16"
            },
            {
              "lessThan": "3.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.337",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.337",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: lpddr2_nvm: Fix possible null-ptr-deref\n\nIt will cause null-ptr-deref when resource_size(add_range) invoked,\nif platform_get_resource() returns NULL."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-04T15:43:52.845Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4d10bd7416e8383340b5524b8d616b8ad01ef1e1"
        },
        {
          "url": "https://git.kernel.org/stable/c/bb9ccb6121ec4140d366147aa866ceb5a21a8d3d"
        },
        {
          "url": "https://git.kernel.org/stable/c/e6aafb57d90ff2c1e18554f3a3c36247a59825ce"
        },
        {
          "url": "https://git.kernel.org/stable/c/8eb64dc5a790a529ef49ec94b3337af09dac15d3"
        },
        {
          "url": "https://git.kernel.org/stable/c/0919982a1744346269320615615c7deb14106661"
        },
        {
          "url": "https://git.kernel.org/stable/c/e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2"
        },
        {
          "url": "https://git.kernel.org/stable/c/f82f63b3911f1b2da68a14d9c4babf3b55feca55"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4cc41e94d8357f5f02b8ef40257bb23931d8438"
        },
        {
          "url": "https://git.kernel.org/stable/c/6bdd45d795adf9e73b38ced5e7f750cd199499ff"
        }
      ],
      "title": "mtd: lpddr2_nvm: Fix possible null-ptr-deref",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50503",
    "datePublished": "2025-10-04T15:43:52.845Z",
    "dateReserved": "2025-10-04T15:39:19.465Z",
    "dateUpdated": "2025-10-04T15:43:52.845Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50503\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-04T16:15:47.497\",\"lastModified\":\"2025-10-06T14:56:21.733\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmtd: lpddr2_nvm: Fix possible null-ptr-deref\\n\\nIt will cause null-ptr-deref when resource_size(add_range) invoked,\\nif platform_get_resource() returns NULL.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0919982a1744346269320615615c7deb14106661\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4d10bd7416e8383340b5524b8d616b8ad01ef1e1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6bdd45d795adf9e73b38ced5e7f750cd199499ff\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8eb64dc5a790a529ef49ec94b3337af09dac15d3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bb9ccb6121ec4140d366147aa866ceb5a21a8d3d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c4cc41e94d8357f5f02b8ef40257bb23931d8438\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e6aafb57d90ff2c1e18554f3a3c36247a59825ce\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f82f63b3911f1b2da68a14d9c4babf3b55feca55\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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…