WSL2-Linux-Kernel/drivers/usb/usbip
Oliver Neukum e8c1e606da usb: vhci-hcd: Do not drop references before new references are gained
commit afdcfd3d6fcdeca2735ca8d994c5f2d24a368f0a upstream.

At a few places the driver carries stale pointers
to references that can still be used. Make sure that does not happen.
This strictly speaking closes ZDI-CAN-22273, though there may be
similar races in the driver.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@kernel.org>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240709113851.14691-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-08-19 05:45:43 +02:00
..
Kconfig
Makefile
stub.h
stub_dev.c
stub_main.c
stub_rx.c
stub_tx.c
usbip_common.c
usbip_common.h
usbip_event.c
vhci.h
vhci_hcd.c
vhci_rx.c
vhci_sysfs.c
vhci_tx.c
vudc.h
vudc_dev.c
vudc_main.c
vudc_rx.c
vudc_sysfs.c
vudc_transfer.c
vudc_tx.c