# CVE-2022-50415: parisc: led: Fix potential null-ptr-deref in start_task()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-09-18T16:03:58.836Z
- Modified: 2026-06-17T05:23:30.020Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3499495205a676d85fcc2f3c28e35ec9b43c47e3 before c6db0c32f39684c89c97bc1ba1c9c4249ca09e48; from 3499495205a676d85fcc2f3c28e35ec9b43c47e3 before fc6d0f65f22040c6cc8a5ce032bf90252629de50; from 3499495205a676d85fcc2f3c28e35ec9b43c47e3 before fc307b2905a3dd75c50a53b4d87ac9c912fb7c4e; from 3499495205a676d85fcc2f3c28e35ec9b43c47e3 before 5e4500454d75dd249be4695d83afa3ba0724c37e; from 3499495205a676d85fcc2f3c28e35ec9b43c47e3 before 3505c187b86136250b39e62c72a3a70435277af6; from 3499495205a676d85fcc2f3c28e35ec9b43c47e3 before ac838c663ba1fd6bff35a817fd89a47ab55e88e0; from 3499495205a676d85fcc2f3c28e35ec9b43c47e3 before 77f8b628affaec692d83ad8bfa3520db8a0cc493; from 3499495205a676d85fcc2f3c28e35ec9b43c47e3 before 67c98fec87ed76b1feb2ae810051afd88dfa9df6; from 3499495205a676d85fcc2f3c28e35ec9b43c47e3 before 41f563ab3c33698bdfc3403c7c2e6c94e73681e4; 2.6.15 (not affected: before 2.6.15; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.87 up to 5.15.*; from 6.0.18 up to 6.0.*; from 6.1.4 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 2.6.15 before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.87; from 5.16 before 6.0.18; from 6.1 before 6.1.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c6db0c32f39684c89c97bc1ba1c9c4249ca09e48> (patch)
- <https://git.kernel.org/stable/c/fc6d0f65f22040c6cc8a5ce032bf90252629de50> (patch)
- <https://git.kernel.org/stable/c/fc307b2905a3dd75c50a53b4d87ac9c912fb7c4e> (patch)
- <https://git.kernel.org/stable/c/5e4500454d75dd249be4695d83afa3ba0724c37e> (patch)
- <https://git.kernel.org/stable/c/3505c187b86136250b39e62c72a3a70435277af6> (patch)
- <https://git.kernel.org/stable/c/ac838c663ba1fd6bff35a817fd89a47ab55e88e0> (patch)
- <https://git.kernel.org/stable/c/77f8b628affaec692d83ad8bfa3520db8a0cc493> (patch)
- <https://git.kernel.org/stable/c/67c98fec87ed76b1feb2ae810051afd88dfa9df6> (patch)
- <https://git.kernel.org/stable/c/41f563ab3c33698bdfc3403c7c2e6c94e73681e4> (patch)

## Sources

- CVE List: [CVE-2022-50415](https://www.cve.org/CVERecord?id=CVE-2022-50415), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50415](https://nvd.nist.gov/vuln/detail/CVE-2022-50415), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50415 · Whole record: https://cve.day/CVE-2022-50415.json · Rebuilt by cve.day 2026-11-25T22:58:21.208Z
