CVE-2022-50361: wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()
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.
Security readout for executives and security teams
Plain-English summary
CVE-2022-50361 is a Linux kernel issue in the Microchip WILC1000 Wi-Fi driver. If a driver initialization failure occurs, cleanup is incomplete and can trigger a kernel BUG, causing a local denial of service. This matters mainly for Linux systems using this specific Wi-Fi driver.
Executive priority
Treat as a targeted availability risk, not a broad internet-facing emergency. Prioritize embedded, IoT, or Linux endpoints that use WILC1000 Wi-Fi hardware and schedule kernel updates through normal vulnerability management.
Technical view
The wilc1000 driver’s wilc_netdev_ifc_init() error path missed cfg80211_unregister_netdevice() or unregister_netdev() when alloc_ordered_workqueue() failed. Fault injection showed a kernel BUG in net/core/dev.c. The upstream fix adds unregister_netdev handling in the failure path.
Likely exposure
Exposure appears limited to Linux kernels with the wilc1000 Wi-Fi driver present and used. The CVE data lists Linux 5.17, 6.1.16, 6.2.3, and 6.3 as affected, but version-range detail is limited in the provided record.
Exploitation context
The CVSS vector is local, low complexity, low privileges, no user interaction, with high availability impact. No KEV listing or cited source indicates active exploitation. The issue was identified through fault injection rather than a reported in-the-wild attack.
Researcher notes
The public description ties impact to an initialization failure path after alloc_ordered_workqueue() failure. The fix is cleanup correctness in driver probe handling. Public sources do not provide exploit evidence, affected distribution mappings, or detailed vulnerable version ranges beyond the CVE record.
Mitigation direction
Apply Linux kernel updates that include the referenced upstream stable fixes.
Check distribution or device-vendor advisories for backported fixed kernels.
Prioritize systems using the WILC1000 Wi-Fi driver.
If updates are unavailable, follow vendor guidance for temporary risk reduction.
Validation and detection
Inventory Linux systems for the wilc1000 driver or WILC1000 hardware.
Confirm deployed kernels include the referenced stable commits or vendor backports.
Review vendor kernel changelogs for CVE-2022-50361 coverage.
Track systems still running listed affected kernel versions.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.