{"id":"CVE-2022-49805","published":"2025-05-01T14:09:32Z","modified":"2026-05-11T19:07:07Z","title":"net: lan966x: Fix potential null-ptr-deref in lan966x_stats_init()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: Fix potential null-ptr-deref in lan966x_stats_init()\n\nlan966x_stats_init() calls create_singlethread_workqueue() and not\nchecked the ret value, which may return NULL. And a null-ptr-deref may\nhappen:\n\nlan966x_stats_init()\n    create_singlethread_workqueue() # failed, lan966x->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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00174,"percentile":0.06783,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4a43c1c6040e848e1344c7b16ac696b68fbc439c","tags":[]},{"url":"https://git.kernel.org/stable/c/ba86af3733aece88dbcee0dfebf7e2dcfefb2be4","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.36}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 12c2d0a5b8e2a1afc8c7738e19a0d1dd7f3d4007, < 4a43c1c6040e848e1344c7b16ac696b68fbc439c",">= 12c2d0a5b8e2a1afc8c7738e19a0d1dd7f3d4007, < ba86af3733aece88dbcee0dfebf7e2dcfefb2be4"]},{"vendor":"Linux","product":"Linux","versions":["5.17"]}],"euvd":{"id":"EUVD-2025-12961","exploited":false,"provenance":"source"}}