# CVE-2022-50361: wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-09-17T14:56:13.510Z
- Modified: 2026-06-17T05:23:19.780Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()

Fault injection test reports this issue:

kernel BUG at net/core/dev.c:10731!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
Call Trace:
  <TASK>
  wilc_netdev_ifc_init+0x19f/0x220 [wilc1000 884bf126e9e98af6a708f266a8dffd53f99e4bf5]
  wilc_cfg80211_init+0x30c/0x380 [wilc1000 884bf126e9e98af6a708f266a8dffd53f99e4bf5]
  wilc_bus_probe+0xad/0x2b0 [wilc1000_spi 1520a7539b6589cc6cde2ae826a523a33f8bacff]
  spi_probe+0xe4/0x140
  really_probe+0x17e/0x3f0
  __driver_probe_device+0xe3/0x170
  driver_probe_device+0x49/0x120

The root case here is alloc_ordered_workqueue() fails, but
cfg80211_unregister_netdevice() or unregister_netdev() not be called in
error handling path. To fix add unregister_netdev goto lable to add the
unregister operation in error handling path.

(As written by CVE List.)

## Affected

- Linux Linux: from 09ed8bfc5215ad5aac91c50008277b5586b9ef24 before a1bdecedc7ad0512365267cd1a26bfc2ae455c59; from 09ed8bfc5215ad5aac91c50008277b5586b9ef24 before 6da6ce086221803ed6c3b1db11096cecd3e58ec8; from 09ed8bfc5215ad5aac91c50008277b5586b9ef24 before 2b88974ecb358990e1c33fabcd0b9e142bab7f21; 5.17 (not affected: before 5.17; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 5.17 before 6.1.16; from 6.2 before 6.2.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/a1bdecedc7ad0512365267cd1a26bfc2ae455c59> (patch)
- <https://git.kernel.org/stable/c/6da6ce086221803ed6c3b1db11096cecd3e58ec8> (patch)
- <https://git.kernel.org/stable/c/2b88974ecb358990e1c33fabcd0b9e142bab7f21> (patch)

## Sources

- CVE List: [CVE-2022-50361](https://www.cve.org/CVERecord?id=CVE-2022-50361), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50361](https://nvd.nist.gov/vuln/detail/CVE-2022-50361), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50361 · Whole record: https://cve.day/CVE-2022-50361.json · Rebuilt by cve.day 2026-11-25T22:58:21.180Z
