syzbot


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

Status: auto-closed as invalid on 2022/05/06 03:42
Subsystems: usb
[Documentation on labels]
First crash: 784d, last: 755d
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 564d 564d 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 6d09h 12d 0/26 moderation: reported on 2024/04/12 14:56
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl usb 1 1265d 1234d 0/26 auto-closed as invalid on 2020/12/21 11:58
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (7) usb 2 72d 93d 0/26 auto-obsoleted due to no activity on 2024/03/18 17:20
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (2) usb 1 884d 884d 0/26 auto-closed as invalid on 2021/12/27 18:11
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (5) usb 1 372d 372d 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 309d 309d 0/26 auto-obsoleted due to no activity on 2023/07/25 21:09

Sample crash report:
usb usb8: Requested nonsensical USBDEVFS_URB_ZERO_PACKET.
vhci_hcd: invalid port number 140
vhci_hcd: default hub control req: 8005 va7af i008c l238
==================================================================
BUG: KCSAN: data-race in usbdev_ioctl / usbdev_ioctl

write to 0xffff888103a6d988 of 8 bytes by task 12713 on cpu 1:
 usbdev_do_ioctl drivers/usb/core/devio.c:2794 [inline]
 usbdev_ioctl+0x67e/0x3bb0 drivers/usb/core/devio.c:2803
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:856
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

write to 0xffff888103a6d988 of 8 bytes by task 12727 on cpu 0:
 usbdev_do_ioctl drivers/usb/core/devio.c:2794 [inline]
 usbdev_ioctl+0x67e/0x3bb0 drivers/usb/core/devio.c:2803
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:856
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000033f5ec60 -> 0x0000000035271960

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 12727 Comm: syz-executor.5 Not tainted 5.17.0-syzkaller-13673-ge8b767f5e040-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/01 03:34 upstream e8b767f5e040 68fc921a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in usbdev_ioctl / usbdev_ioctl
2022/03/02 19:15 upstream fb184c4af9b9 45a13a73 .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.