syzbot


KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (2)

Status: auto-closed as invalid on 2021/12/27 18:11
Subsystems: usb
[Documentation on labels]
First crash: 915d, last: 915d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (4) usb 1 595d 595d 0/26 auto-obsoleted due to no activity on 2022/11/12 18:04
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (8) usb 4 37d 43d 0/26 auto-obsoleted due to no activity on 2024/05/23 21:51
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl usb 1 1295d 1265d 0/26 auto-closed as invalid on 2020/12/21 11:58
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (3) usb 2 785d 815d 0/26 auto-closed as invalid on 2022/05/06 03:42
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (7) usb 2 103d 124d 0/26 auto-obsoleted due to no activity on 2024/03/18 17:20
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (5) usb 1 403d 403d 0/26 auto-obsoleted due to no activity on 2023/05/23 16:35
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (6) usb 1 340d 340d 0/26 auto-obsoleted due to no activity on 2023/07/25 21:09

Sample crash report:
vhci_hcd: default hub control req: 0000 v0000 i0000 l0
==================================================================
BUG: KCSAN: data-race in usbdev_ioctl / usbdev_ioctl

write to 0xffff888102b4a218 of 8 bytes by task 25065 on cpu 0:
 usbdev_do_ioctl drivers/usb/core/devio.c:2782 [inline]
 usbdev_ioctl+0x67e/0x3bb0 drivers/usb/core/devio.c:2791
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:860
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

write to 0xffff888102b4a218 of 8 bytes by task 25068 on cpu 1:
 usbdev_do_ioctl drivers/usb/core/devio.c:2782 [inline]
 usbdev_ioctl+0x67e/0x3bb0 drivers/usb/core/devio.c:2791
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:860
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x000000003aaf58e0 -> 0x0000000002a815df

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 25068 Comm: syz-executor.3 Not tainted 5.16.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================
usb usb2: Requested nonsensical USBDEVFS_URB_ZERO_PACKET.
vhci_hcd: default hub control req: 0000 v0000 i0000 l0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/22 18:10 upstream 136057256686 545ab074 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in usbdev_ioctl / usbdev_ioctl
* Struck through repros no longer work on HEAD.