syzbot


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

Status: auto-obsoleted due to no activity on 2023/07/25 21:09
Subsystems: usb
[Documentation on labels]
First crash: 317d, last: 317d
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 572d 572d 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 14d 20d 0/26 moderation: reported on 2024/04/12 14:56
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl usb 1 1273d 1242d 0/26 auto-closed as invalid on 2020/12/21 11:58
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (3) usb 2 763d 792d 0/26 auto-closed as invalid on 2022/05/06 03:42
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (7) usb 2 80d 101d 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 892d 892d 0/26 auto-closed as invalid on 2021/12/27 18:11
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (5) usb 1 380d 380d 0/26 auto-obsoleted due to no activity on 2023/05/23 16:35

Sample crash report:
==================================================================
BUG: KCSAN: data-race in usbdev_ioctl / usbdev_ioctl

write to 0xffff8881035e4128 of 8 bytes by task 8119 on cpu 1:
 usbdev_do_ioctl drivers/usb/core/devio.c:2805 [inline]
 usbdev_ioctl+0x6bf/0x3eb0 drivers/usb/core/devio.c:2814
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xc9/0x140 fs/ioctl.c:856
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

write to 0xffff8881035e4128 of 8 bytes by task 8124 on cpu 0:
 usbdev_do_ioctl drivers/usb/core/devio.c:2805 [inline]
 usbdev_ioctl+0x6bf/0x3eb0 drivers/usb/core/devio.c:2814
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xc9/0x140 fs/ioctl.c:856
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000000350c58ed -> 0x00000000389fdfee

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 8124 Comm: syz-executor.2 Not tainted 6.4.0-rc7-syzkaller-00019-g99ec1ed7c2ed #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/20 21:05 upstream 99ec1ed7c2ed 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in usbdev_ioctl / usbdev_ioctl
* Struck through repros no longer work on HEAD.