{"id":"CVE-2022-50361","published":"2025-09-17T14:56:13Z","modified":"2026-05-11T19:18:04Z","title":"wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()\n\nFault injection test reports this issue:\n\nkernel BUG at net/core/dev.c:10731!\ninvalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI\nCall Trace:\n  <TASK>\n  wilc_netdev_ifc_init+0x19f/0x220 [wilc1000 884bf126e9e98af6a708f266a8dffd53f99e4bf5]\n  wilc_cfg80211_init+0x30c/0x380 [wilc1000 884bf126e9e98af6a708f266a8dffd53f99e4bf5]\n  wilc_bus_probe+0xad/0x2b0 [wilc1000_spi 1520a7539b6589cc6cde2ae826a523a33f8bacff]\n  spi_probe+0xe4/0x140\n  really_probe+0x17e/0x3f0\n  __driver_probe_device+0xe3/0x170\n  driver_probe_device+0x49/0x120\n\nThe root case here is alloc_ordered_workqueue() fails, but\ncfg80211_unregister_netdevice() or unregister_netdev() not be called in\nerror handling path. To fix add unregister_netdev goto lable to add the\nunregister operation in error handling path.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00235,"percentile":0.1472,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/a1bdecedc7ad0512365267cd1a26bfc2ae455c59","tags":[]},{"url":"https://git.kernel.org/stable/c/6da6ce086221803ed6c3b1db11096cecd3e58ec8","tags":[]},{"url":"https://git.kernel.org/stable/c/2b88974ecb358990e1c33fabcd0b9e142bab7f21","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":2.94},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 09ed8bfc5215ad5aac91c50008277b5586b9ef24, < a1bdecedc7ad0512365267cd1a26bfc2ae455c59",">= 09ed8bfc5215ad5aac91c50008277b5586b9ef24, < 6da6ce086221803ed6c3b1db11096cecd3e58ec8",">= 09ed8bfc5215ad5aac91c50008277b5586b9ef24, < 2b88974ecb358990e1c33fabcd0b9e142bab7f21"]},{"vendor":"Linux","product":"Linux","versions":["5.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T18:33:30.342692Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-55637","exploited":false,"provenance":"source"}}