USB: HID: Fix race between disconnect and hiddev_ioctl
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | USB: HID: Fix race between disconnect and hiddev_ioctldrivers/ | +131 | 2 replies | |
| 2/2 | USB: HID: Consolidate device existence checks in hiddev_ioctldrivers/ | +103 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] USB: HID: Fix race between disconnect and hiddev_ioctl
If a USB HID device is disconneceted, the hiddev_ioctl could try to access invalid hiddev->hid pointer.
The following two patches attempt to fix race condition between disconnect and hiddev_ioctl and make hiddev_ioctl always return -ENODEV on a disconnected device.