CVE-2022-50415 parisc: led: Fix potential null-ptr-deref in start_task()
A null pointer dereference in the Linux kernel's parisc LED driver can cause a system crash when workqueue creation fails.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50415?
CVE-2022-50415 is a medium-severity vulnerability in Linux kernel, published on 18 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2022-50415?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50415?
Apply the vendor's patch.
Is CVE-2022-50415 being exploited?
There is no known exploitation of CVE-2022-50415 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50415, GHSA-8wrr-6rrg-3vch, UBUNTU-CVE-2022-50415.