CVE-2022-50509 (GCVE-0-2022-50509)
Vulnerability from cvelistv5
Published
2025-10-07 15:19
Modified
2025-10-07 15:19
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: media: coda: Add check for kmalloc As the kmalloc may return NULL pointer, it should be better to check the return value in order to avoid NULL poineter dereference, same as the others.
Impacted products
Vendor Product Version
Linux Linux Version: cb1d3a336371e35c3920cc50a701c5403c255644
Version: cb1d3a336371e35c3920cc50a701c5403c255644
Version: cb1d3a336371e35c3920cc50a701c5403c255644
Version: cb1d3a336371e35c3920cc50a701c5403c255644
Version: cb1d3a336371e35c3920cc50a701c5403c255644
Version: cb1d3a336371e35c3920cc50a701c5403c255644
Version: cb1d3a336371e35c3920cc50a701c5403c255644
Version: cb1d3a336371e35c3920cc50a701c5403c255644
Version: cb1d3a336371e35c3920cc50a701c5403c255644
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/chips-media/coda-bit.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d308c4a035b636756786af91e5f39f9d92d7d42a",
              "status": "affected",
              "version": "cb1d3a336371e35c3920cc50a701c5403c255644",
              "versionType": "git"
            },
            {
              "lessThan": "11e32126b3e56c3156fb610d793732acd2bdac4f",
              "status": "affected",
              "version": "cb1d3a336371e35c3920cc50a701c5403c255644",
              "versionType": "git"
            },
            {
              "lessThan": "ba9cc9e2035f7a45f5222543265daf7cd51f2530",
              "status": "affected",
              "version": "cb1d3a336371e35c3920cc50a701c5403c255644",
              "versionType": "git"
            },
            {
              "lessThan": "7a2c66429b04e85fee44d6d9f455327bf23cf49c",
              "status": "affected",
              "version": "cb1d3a336371e35c3920cc50a701c5403c255644",
              "versionType": "git"
            },
            {
              "lessThan": "d9b37ea8869e4e6da90c07a310d819a78cbd23d2",
              "status": "affected",
              "version": "cb1d3a336371e35c3920cc50a701c5403c255644",
              "versionType": "git"
            },
            {
              "lessThan": "441c05485cf1a29eef05c1fd8281716815283315",
              "status": "affected",
              "version": "cb1d3a336371e35c3920cc50a701c5403c255644",
              "versionType": "git"
            },
            {
              "lessThan": "aa17a252dbde432095e390e2092205d4debb12e1",
              "status": "affected",
              "version": "cb1d3a336371e35c3920cc50a701c5403c255644",
              "versionType": "git"
            },
            {
              "lessThan": "0209e70ad496c1fcd85c2ec70e6736fd09f95d14",
              "status": "affected",
              "version": "cb1d3a336371e35c3920cc50a701c5403c255644",
              "versionType": "git"
            },
            {
              "lessThan": "6e5e5defdb8b0186312c2f855ace175aee6daf9b",
              "status": "affected",
              "version": "cb1d3a336371e35c3920cc50a701c5403c255644",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/chips-media/coda-bit.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.19"
            },
            {
              "lessThan": "3.19",
              "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.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: coda: Add check for kmalloc\n\nAs the kmalloc may return NULL pointer,\nit should be better to check the return value\nin order to avoid NULL poineter dereference,\nsame as the others."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-07T15:19:06.661Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d308c4a035b636756786af91e5f39f9d92d7d42a"
        },
        {
          "url": "https://git.kernel.org/stable/c/11e32126b3e56c3156fb610d793732acd2bdac4f"
        },
        {
          "url": "https://git.kernel.org/stable/c/ba9cc9e2035f7a45f5222543265daf7cd51f2530"
        },
        {
          "url": "https://git.kernel.org/stable/c/7a2c66429b04e85fee44d6d9f455327bf23cf49c"
        },
        {
          "url": "https://git.kernel.org/stable/c/d9b37ea8869e4e6da90c07a310d819a78cbd23d2"
        },
        {
          "url": "https://git.kernel.org/stable/c/441c05485cf1a29eef05c1fd8281716815283315"
        },
        {
          "url": "https://git.kernel.org/stable/c/aa17a252dbde432095e390e2092205d4debb12e1"
        },
        {
          "url": "https://git.kernel.org/stable/c/0209e70ad496c1fcd85c2ec70e6736fd09f95d14"
        },
        {
          "url": "https://git.kernel.org/stable/c/6e5e5defdb8b0186312c2f855ace175aee6daf9b"
        }
      ],
      "title": "media: coda: Add check for kmalloc",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50509",
    "datePublished": "2025-10-07T15:19:06.661Z",
    "dateReserved": "2025-10-04T15:39:19.466Z",
    "dateUpdated": "2025-10-07T15:19:06.661Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50509\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-07T16:15:33.300\",\"lastModified\":\"2025-10-08T19:38:32.610\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: coda: Add check for kmalloc\\n\\nAs the kmalloc may return NULL pointer,\\nit should be better to check the return value\\nin order to avoid NULL poineter dereference,\\nsame as the others.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0209e70ad496c1fcd85c2ec70e6736fd09f95d14\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/11e32126b3e56c3156fb610d793732acd2bdac4f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/441c05485cf1a29eef05c1fd8281716815283315\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6e5e5defdb8b0186312c2f855ace175aee6daf9b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7a2c66429b04e85fee44d6d9f455327bf23cf49c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/aa17a252dbde432095e390e2092205d4debb12e1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ba9cc9e2035f7a45f5222543265daf7cd51f2530\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d308c4a035b636756786af91e5f39f9d92d7d42a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d9b37ea8869e4e6da90c07a310d819a78cbd23d2\",\"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…