CVE-2025-22050 usbnet:fix NPE during rx_complete

Medium 4.7 Published Updated

A race condition in the Linux kernel's usbnet driver causes a NULL pointer dereference, leading to a kernel panic and denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-22050?

CVE-2025-22050 is a medium-severity vulnerability in Linux kernel, published on 16 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

usbnet:fix NPE during rx_complete

Missing usbnet_going_away Check in Critical Path. The usb_submit_urb function lacks a usbnet_going_away validation, whereas __usbnet_queue_skb includes this check.

This inconsistency creates a race condition where: A URB request may succeed, but the corresponding SKB data fails to be queued.

Subsequent processes: (e.g., rx_complete → defer_bh → __skb_unlink(skb, list)) attempt to access skb->next, triggering a NULL pointer dereference (Kernel Panic).

Weakness: CWE-476

Which versions are affected by CVE-2025-22050?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-22050?

Apply the vendor's patch.

Is CVE-2025-22050 being exploited?

There is no known exploitation of CVE-2025-22050 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-22050, DEBIAN-CVE-2025-22050, GHSA-w6v4-56gc-2jmg, ROOT-OS-UBUNTU-2404-CVE-2025-22050, UBUNTU-CVE-2025-22050.

Is CVE-2025-22050 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free