CVE-2022-50415

parisc: led: Fix potential null-ptr-deref in start_task()

State
Published
Severity
5.5 Medium
Published
Sep 18, 2025
Updated
May 11, 2026
Reserved
Sep 17, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 3499495205a676d85fcc2f3c28e35ec9b43c47e3 to before c6db0c32f39684c89c97bc1ba1c9c4249ca09e48Affected
  • 3499495205a676d85fcc2f3c28e35ec9b43c47e3 to before fc6d0f65f22040c6cc8a5ce032bf90252629de50Affected
  • 3499495205a676d85fcc2f3c28e35ec9b43c47e3 to before fc307b2905a3dd75c50a53b4d87ac9c912fb7c4eAffected
  • 3499495205a676d85fcc2f3c28e35ec9b43c47e3 to before 5e4500454d75dd249be4695d83afa3ba0724c37eAffected
  • 3499495205a676d85fcc2f3c28e35ec9b43c47e3 to before 3505c187b86136250b39e62c72a3a70435277af6Affected
  • 3499495205a676d85fcc2f3c28e35ec9b43c47e3 to before ac838c663ba1fd6bff35a817fd89a47ab55e88e0Affected
  • 3499495205a676d85fcc2f3c28e35ec9b43c47e3 to before 77f8b628affaec692d83ad8bfa3520db8a0cc493Affected
  • 3499495205a676d85fcc2f3c28e35ec9b43c47e3 to before 67c98fec87ed76b1feb2ae810051afd88dfa9df6Affected
  • 3499495205a676d85fcc2f3c28e35ec9b43c47e3 to before 41f563ab3c33698bdfc3403c7c2e6c94e73681e4Affected
LinuxLinux
  • 2.6.15Affected
  • before 2.6.15Not affected
  • 4.9.337 through 4.9.*Not affected
  • 4.14.303 through 4.14.*Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.87 through 5.15.*Not affected
  • 6.0.18 through 6.0.*Not affected
  • 6.1.4 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.