usbnet:fix NPE during rx_complete
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 04e906839a053f092ef53f4fb2d610983412b904 · < fd9ee3f0d6a53844f65efde581c91bbb0ff749ac| No fix yet |
| Linux Linux |
|
|
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).
From the CVE record · Linux
A missing usbnet_going_away check in the Linux kernel's usbnet receive path creates a race condition. If a URB submission succeeds but its SKB is not queued, subsequent processing can dereference a NULL pointer and cause a kernel panic. The input does not specify attacker access or user-interaction requirements.
Operators running the Linux kernel should check their kernel version; affected versions are not specified.