summaryrefslogtreecommitdiff
path: root/drivers/usb/usbip/stub_dev.c
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2018-02-04 02:06:27 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-25 11:03:38 +0100
commit74d1cc277e8bdb3d6ee6e12a989ba059e8be9431 (patch)
treeb15c91b0a9255bc997ae5ef81f5866b7e60aa630 /drivers/usb/usbip/stub_dev.c
parent32faf7d68aab33956a522624d0ed8fc8fdf13150 (diff)
staging: android: ashmem: Fix a race condition in pin ioctls
commit ce8a3a9e76d0193e2e8d74a06d275b3c324ca652 upstream. ashmem_pin_unpin() reads asma->file and asma->size before taking the ashmem_mutex, so it can race with other operations that modify them. Build-tested only. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/stub_dev.c')
0 files changed, 0 insertions, 0 deletions