CVE-2022-50220
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50220 is a use-after-free vulnerability discovered in the Linux kernel's usbnet driver. The issue affects USB Ethernet drivers including aqc111.c, asix_devices.c, ax88179_178a.c, ch9200.c, and smsc75xx.c. The vulnerability was identified in the handling of link change events during device disconnection (NVD, Wiz).

Technical details

The vulnerability occurs when a link change interrupt is received immediately before disconnect. The drivers raise EVENT_LINK_RESET in their non-sleepable ->status() callback and schedule usbnet_deferred_kevent(). The usbnet_deferred_kevent() function then invokes the driver's ->link_reset() callback, which calls netif_carrier_{on,off}(). Because usbnet_deferred_kevent() is awaited after unregister_netdev(), netif_carrier_{on,off}() may operate on an unregistered netdev and linkwatch_event() may run after free_netdev(), causing a use-after-free condition (NVD).

Impact

This vulnerability could lead to a use-after-free condition in the Linux kernel when disconnecting USB network devices, potentially resulting in system crashes or other undefined behavior (Wiz).

Mitigation and workarounds

The issue has been fixed in various Linux kernel versions. The fix involves moving the wait for usbnet_deferred_kevent() back to ->ndo_stop(). Debian has marked this as fixed in versions 5.10.223-1 for bullseye, 6.1.137-1 for bookworm, and 6.12.32-1 for trixie (Wiz).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management