diff options
| author | Shuah Khan <[email protected]> | 2021-03-30 01:36:50 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-04-05 07:05:42 +0000 |
| commit | bd8b82042269a95db48074b8bb400678dbac1815 (patch) | |
| tree | 43af66f344afc0a2222eaad8cf7b1b99642e3f9b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | usbip: stub-dev synchronize sysfs code paths (diff) | |
| download | kernel-bd8b82042269a95db48074b8bb400678dbac1815.tar.gz kernel-bd8b82042269a95db48074b8bb400678dbac1815.zip | |
usbip: vudc synchronize sysfs code paths
Fuzzing uncovered race condition between sysfs code paths in usbip
drivers. Device connect/disconnect code paths initiated through
sysfs interface are prone to races if disconnect happens during
connect and vice versa.
Use sysfs_lock to protect sysfs paths in vudc.
Cc: [email protected]
Reported-and-tested-by: [email protected]
Signed-off-by: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/r/caabcf3fc87bdae970509b5ff32d05bb7ce2fb15.1616807117.git.skhan@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
