Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: lan966x: Fix potential null-ptr-deref in lan966x_stats_init() lan966x_stats_init() calls create_singlethread_workqueue() and not checked the ret value, which may return NULL. And a null-ptr-deref may happen: lan966x_stats_init() create_singlethread_workqueue() # failed, lan966x->stats_queue 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.17, < 6.0.10 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/4a43c1c6040e848e1344c7b16ac696b68fbc439cPatch
- https://git.kernel.org/stable/c/ba86af3733aece88dbcee0dfebf7e2dcfefb2be4Patch
FAQ
What is CVE-2022-49805?
CVE-2022-49805 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: net: lan966x: Fix potential null-ptr-deref in lan966x_stats_init() lan966x_stats_init() calls create_singlethread_workqueue() and ...
How severe is CVE-2022-49805?
CVE-2022-49805 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49805?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.