CVE-2022-50415 (GCVE-0-2022-50415)
Vulnerability from cvelistv5
Published
2025-09-18 16:03
Modified
2025-09-18 16:03
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: parisc: led: Fix potential null-ptr-deref in start_task() start_task() calls create_singlethread_workqueue() and not checked the ret value, which may return NULL. And a null-ptr-deref may happen: start_task() create_singlethread_workqueue() # failed, led_wq is NULL queue_delayed_work() queue_delayed_work_on() __queue_delayed_work() # warning here, but continue __queue_work() # access wq->flags, null-ptr-deref Check the ret value and return -ENOMEM if it is NULL.
Impacted products
Vendor Product Version
Linux Linux Version: 3499495205a676d85fcc2f3c28e35ec9b43c47e3
Version: 3499495205a676d85fcc2f3c28e35ec9b43c47e3
Version: 3499495205a676d85fcc2f3c28e35ec9b43c47e3
Version: 3499495205a676d85fcc2f3c28e35ec9b43c47e3
Version: 3499495205a676d85fcc2f3c28e35ec9b43c47e3
Version: 3499495205a676d85fcc2f3c28e35ec9b43c47e3
Version: 3499495205a676d85fcc2f3c28e35ec9b43c47e3
Version: 3499495205a676d85fcc2f3c28e35ec9b43c47e3
Version: 3499495205a676d85fcc2f3c28e35ec9b43c47e3
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/parisc/led.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c6db0c32f39684c89c97bc1ba1c9c4249ca09e48",
              "status": "affected",
              "version": "3499495205a676d85fcc2f3c28e35ec9b43c47e3",
              "versionType": "git"
            },
            {
              "lessThan": "fc6d0f65f22040c6cc8a5ce032bf90252629de50",
              "status": "affected",
              "version": "3499495205a676d85fcc2f3c28e35ec9b43c47e3",
              "versionType": "git"
            },
            {
              "lessThan": "fc307b2905a3dd75c50a53b4d87ac9c912fb7c4e",
              "status": "affected",
              "version": "3499495205a676d85fcc2f3c28e35ec9b43c47e3",
              "versionType": "git"
            },
            {
              "lessThan": "5e4500454d75dd249be4695d83afa3ba0724c37e",
              "status": "affected",
              "version": "3499495205a676d85fcc2f3c28e35ec9b43c47e3",
              "versionType": "git"
            },
            {
              "lessThan": "3505c187b86136250b39e62c72a3a70435277af6",
              "status": "affected",
              "version": "3499495205a676d85fcc2f3c28e35ec9b43c47e3",
              "versionType": "git"
            },
            {
              "lessThan": "ac838c663ba1fd6bff35a817fd89a47ab55e88e0",
              "status": "affected",
              "version": "3499495205a676d85fcc2f3c28e35ec9b43c47e3",
              "versionType": "git"
            },
            {
              "lessThan": "77f8b628affaec692d83ad8bfa3520db8a0cc493",
              "status": "affected",
              "version": "3499495205a676d85fcc2f3c28e35ec9b43c47e3",
              "versionType": "git"
            },
            {
              "lessThan": "67c98fec87ed76b1feb2ae810051afd88dfa9df6",
              "status": "affected",
              "version": "3499495205a676d85fcc2f3c28e35ec9b43c47e3",
              "versionType": "git"
            },
            {
              "lessThan": "41f563ab3c33698bdfc3403c7c2e6c94e73681e4",
              "status": "affected",
              "version": "3499495205a676d85fcc2f3c28e35ec9b43c47e3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/parisc/led.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.15"
            },
            {
              "lessThan": "2.6.15",
              "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.87",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.4",
              "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": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.87",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.18",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.4",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nparisc: led: Fix potential null-ptr-deref in start_task()\n\nstart_task() calls create_singlethread_workqueue() and not checked the\nret value, which may return NULL. And a null-ptr-deref may happen:\n\nstart_task()\n    create_singlethread_workqueue() # failed, led_wq is NULL\n    queue_delayed_work()\n        queue_delayed_work_on()\n            __queue_delayed_work()  # warning here, but continue\n                __queue_work()      # access wq-\u003eflags, null-ptr-deref\n\nCheck the ret value and return -ENOMEM if it is NULL."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-18T16:03:58.836Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c6db0c32f39684c89c97bc1ba1c9c4249ca09e48"
        },
        {
          "url": "https://git.kernel.org/stable/c/fc6d0f65f22040c6cc8a5ce032bf90252629de50"
        },
        {
          "url": "https://git.kernel.org/stable/c/fc307b2905a3dd75c50a53b4d87ac9c912fb7c4e"
        },
        {
          "url": "https://git.kernel.org/stable/c/5e4500454d75dd249be4695d83afa3ba0724c37e"
        },
        {
          "url": "https://git.kernel.org/stable/c/3505c187b86136250b39e62c72a3a70435277af6"
        },
        {
          "url": "https://git.kernel.org/stable/c/ac838c663ba1fd6bff35a817fd89a47ab55e88e0"
        },
        {
          "url": "https://git.kernel.org/stable/c/77f8b628affaec692d83ad8bfa3520db8a0cc493"
        },
        {
          "url": "https://git.kernel.org/stable/c/67c98fec87ed76b1feb2ae810051afd88dfa9df6"
        },
        {
          "url": "https://git.kernel.org/stable/c/41f563ab3c33698bdfc3403c7c2e6c94e73681e4"
        }
      ],
      "title": "parisc: led: Fix potential null-ptr-deref in start_task()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50415",
    "datePublished": "2025-09-18T16:03:58.836Z",
    "dateReserved": "2025-09-17T14:53:07.003Z",
    "dateUpdated": "2025-09-18T16:03:58.836Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50415\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-18T16:15:44.863\",\"lastModified\":\"2025-09-19T16:00:27.847\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nparisc: led: Fix potential null-ptr-deref in start_task()\\n\\nstart_task() calls create_singlethread_workqueue() and not checked the\\nret value, which may return NULL. And a null-ptr-deref may happen:\\n\\nstart_task()\\n    create_singlethread_workqueue() # failed, led_wq is NULL\\n    queue_delayed_work()\\n        queue_delayed_work_on()\\n            __queue_delayed_work()  # warning here, but continue\\n                __queue_work()      # access wq-\u003eflags, null-ptr-deref\\n\\nCheck the ret value and return -ENOMEM if it is NULL.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3505c187b86136250b39e62c72a3a70435277af6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/41f563ab3c33698bdfc3403c7c2e6c94e73681e4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5e4500454d75dd249be4695d83afa3ba0724c37e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/67c98fec87ed76b1feb2ae810051afd88dfa9df6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/77f8b628affaec692d83ad8bfa3520db8a0cc493\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ac838c663ba1fd6bff35a817fd89a47ab55e88e0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c6db0c32f39684c89c97bc1ba1c9c4249ca09e48\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fc307b2905a3dd75c50a53b4d87ac9c912fb7c4e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fc6d0f65f22040c6cc8a5ce032bf90252629de50\",\"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…