opnsense-src/sys/dev/usb
Hans Petter Selasky f8b998c730 usb(4): Fix for use after free in combination with EVDEV_SUPPORT.
When EVDEV_SUPPORT was introduced, the USB transfers may be running
after the main FIFO is closed. In connection to this a race may appear
which can lead to use-after-free scenarios. Fix this for all FIFO
consumers by initializing and resetting the FIFO queues under the
lock used by the client. Then the client driver will see an empty
queue in all cases a race may appear.

Found by:	pho@
Sponsored by:	NVIDIA Networking

(cherry picked from commit aad0c65d6b)
2021-11-02 09:37:25 +01:00
..
controller Fix a common typo in source code comments 2021-08-19 09:18:35 +02:00
gadget
input wmt(4): Adapt to recent KPI changes 2021-09-22 02:36:18 +03:00
misc hid: Chase for HID function name changes in existing USB HID drivers 2021-01-08 02:18:42 +03:00
net smsc(4): Fix a typo in a comment 2021-10-06 08:21:05 +02:00
quirk Add more USB quirks for Garmin devices. 2021-05-10 16:11:19 +02:00
serial umodem: Add Huawei E3372h-320 device id 2021-09-28 09:03:48 +02:00
storage Refactor CTL datamove KPI. 2021-03-14 22:34:08 -04:00
template
video
wlan run(4): add support for DLINK DWA-130 rev F1 wireless adaptor. 2021-06-06 14:23:43 +03:00
ufm_ioctl.h
uftdiio.h
uled_ioctl.h
usb.h Narrow down the probe range for if_ure(4) compatible devices 2021-07-10 21:17:29 +02:00
usb_bus.h
usb_busdma.c Fix busdma resource leak on usb device detach. 2021-10-06 09:36:02 -06:00
usb_busdma.h Fix busdma resource leak on usb device detach. 2021-10-06 09:36:02 -06:00
usb_cdc.h
usb_controller.h
usb_core.c
usb_core.h Use more standard types for manipulating pointers. 2020-12-16 00:27:28 +00:00
usb_debug.c Update usb_timings_sysctl_handler() to accept any value for timings between 2021-06-02 13:25:20 +02:00
usb_debug.h
usb_dev.c usb(4): Fix for use after free in combination with EVDEV_SUPPORT. 2021-11-02 09:37:25 +01:00
usb_dev.h
usb_device.c Improve handling of alternate settings in the USB stack. 2020-12-15 15:36:41 +00:00
usb_device.h
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_fdt_support.c
usb_fdt_support.h
usb_freebsd.h
usb_freebsd_loader.h
usb_generic.c
usb_generic.h
usb_handle_request.c
usb_hid.c Factor-out hardware-independent part of USB HID support to new module 2021-01-08 02:18:42 +03:00
usb_hub.c Propagate down USB explore error codes, so that failures to enumerate USB HUBs 2021-06-02 13:25:20 +02:00
usb_hub.h
usb_hub_acpi.c
usb_hub_private.h
usb_if.m
usb_ioctl.h hid: Import hidraw(4) - driver for access to raw HID device data 2021-01-08 02:18:43 +03:00
usb_lookup.c
usb_mbuf.c
usb_mbuf.h
usb_msctest.c
usb_msctest.h
usb_parse.c Improve handling of alternate settings in the USB stack. 2020-12-15 11:51:17 +00:00
usb_pci.h
usb_pf.c
usb_pf.h
usb_process.c
usb_process.h
usb_request.c Improve handling of alternate settings in the USB stack. 2020-12-15 12:05:07 +00:00
usb_request.h
usb_transfer.c
usb_transfer.h Cleanup unused USB enums. 2021-09-22 14:59:31 +02:00
usb_util.c
usb_util.h
usbdevs rtwn_usb(4): Add a USB ID for the TP-Link Archer T2U v3. 2021-06-10 09:14:22 +03:00
usbdi.h Improve handling of alternate settings in the USB stack. 2020-12-15 12:05:07 +00:00
usbdi_util.h
usbhid.h hid: Chase for HID function name changes in existing USB HID drivers 2021-01-08 02:18:42 +03:00