{"id":"CVE-2022-49806","published":"2025-05-01T14:09:32Z","modified":"2026-05-11T19:07:09Z","title":"net: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start()\n\nsparx_stats_init() calls create_singlethread_workqueue() and not\nchecked the ret value, which may return NULL. And a null-ptr-deref may\nhappen:\n\nsparx_stats_init()\n    create_singlethread_workqueue() # failed, sparx5->stats_queue is NULL\n    queue_delayed_work()\n        queue_delayed_work_on()\n            __queue_delayed_work()  # warning here, but continue\n                __queue_work()      # access wq->flags, null-ptr-deref\n\nCheck the ret value and return -ENOMEM if it is NULL. So as\nsparx5_start().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00203,"percentile":0.10119,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/80e590aeb132887102c3fa79d99b338f099dc952","tags":[]},{"url":"https://git.kernel.org/stable/c/456327e565dc49d18b2f595f39f47df8a36f1057","tags":[]},{"url":"https://git.kernel.org/stable/c/639f5d006e36bb303f525d9479448c412b720c39","tags":[]}],"priority":{"score":2.0,"factors":[{"name":"EPSS percentile","points":2.02}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 80e590aeb132887102c3fa79d99b338f099dc952",">= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 456327e565dc49d18b2f595f39f47df8a36f1057",">= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 639f5d006e36bb303f525d9479448c412b720c39"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"euvd":{"id":"EUVD-2025-12976","exploited":false,"provenance":"source"}}