Skip to contentSkip to conversation

CVE-2026-43180: net: usb: kaweth: remove TX queue manipulation in kaweth_set_rx_mode

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

net: usb: kaweth: remove TX queue manipulation in kaweth_set_rx_mode

kaweth_set_rx_mode(), the ndo_set_rx_mode callback, calls netif_stop_queue() and netif_wake_queue(). These are TX queue flow control functions unrelated to RX multicast configuration.

The premature netif_wake_queue() can re-enable TX while tx_urb is still in-flight, leading to a double usb_submit_urb() on the same URB:

kaweth_start_xmit() {
    netif_stop_queue();
    usb_submit_urb(kaweth->tx_urb);
}
kaweth_set_rx_mode() {
    netif_stop_queue();
    netif_wake_queue();             // wakes TX queue before URB is done
}
kaweth_start_xmit() {
    netif_stop_queue();
    usb_submit_urb(kaweth->tx_urb); // URB submitted while active
}

This triggers the WARN in usb_submit_urb():

"URB submitted while active"

This is a similar class of bug fixed in rtl8150 by

- commit 958baf5eaee3 ("net: usb: Remove disruptive netif_wake_queue in rtl8150_set_multicast").

Also kaweth_set_rx_mode() is already functionally broken, the real set_rx_mode action is performed by kaweth_async_set_rx_mode(), which in turn is not a no-op only at ndo_open() time.

The Linux kernel CVE team has assigned CVE-2026-43180 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.252 with commit 443a830b1dc4f85c7560da59d4494b629feee215
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.202 with commit 586318c2730433184c6f1d21183e346ddf25e81d
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.165 with commit a2cd4b4db315a845a5603d08c9d03b11ddfc799d
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.128 with commit ef9b10a020503888eb6c8ed85a3d901a624ede4c
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.75 with commit 9c79b839a63980c7da7ec5db895198045e154112
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.16 with commit fc393af769af845d9985e2845e49553d8f015a64
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.6 with commit 8367c0e90126426e60581e4c07e1ec4411a0f843
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0 with commit 64868f5ecadeb359a49bc4485bfa7c497047f13a

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-43180

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/usb/kaweth.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/443a830b1dc4f85c7560da59d4494b629feee215
	https://git.kernel.org/stable/c/586318c2730433184c6f1d21183e346ddf25e81d
	https://git.kernel.org/stable/c/a2cd4b4db315a845a5603d08c9d03b11ddfc799d
	https://git.kernel.org/stable/c/ef9b10a020503888eb6c8ed85a3d901a624ede4c
	https://git.kernel.org/stable/c/9c79b839a63980c7da7ec5db895198045e154112
	https://git.kernel.org/stable/c/fc393af769af845d9985e2845e49553d8f015a64
	https://git.kernel.org/stable/c/8367c0e90126426e60581e4c07e1ec4411a0f843
	https://git.kernel.org/stable/c/64868f5ecadeb359a49bc4485bfa7c497047f13a