CVE-2022-50361
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
17/09/2025
Last modified:
18/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()<br />
<br />
Fault injection test reports this issue:<br />
<br />
kernel BUG at net/core/dev.c:10731!<br />
invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI<br />
Call Trace:<br />
<br />
wilc_netdev_ifc_init+0x19f/0x220 [wilc1000 884bf126e9e98af6a708f266a8dffd53f99e4bf5]<br />
wilc_cfg80211_init+0x30c/0x380 [wilc1000 884bf126e9e98af6a708f266a8dffd53f99e4bf5]<br />
wilc_bus_probe+0xad/0x2b0 [wilc1000_spi 1520a7539b6589cc6cde2ae826a523a33f8bacff]<br />
spi_probe+0xe4/0x140<br />
really_probe+0x17e/0x3f0<br />
__driver_probe_device+0xe3/0x170<br />
driver_probe_device+0x49/0x120<br />
<br />
The root case here is alloc_ordered_workqueue() fails, but<br />
cfg80211_unregister_netdevice() or unregister_netdev() not be called in<br />
error handling path. To fix add unregister_netdev goto lable to add the<br />
unregister operation in error handling path.