syzbot


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

Status: auto-obsoleted due to no activity on 2023/05/23 16:35
Subsystems: usb
[Documentation on labels]
First crash: 380d, last: 380d
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 (6) usb 1 317d 317d 0/26 auto-obsoleted due to no activity on 2023/07/25 21:09

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

write to 0xffff888103581d68 of 8 bytes by task 30925 on cpu 1:
 usbdev_do_ioctl drivers/usb/core/devio.c:2797 [inline]
 usbdev_ioctl+0x6bf/0x3e50 drivers/usb/core/devio.c:2806
 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 0xffff888103581d68 of 8 bytes by task 30916 on cpu 0:
 usbdev_do_ioctl drivers/usb/core/devio.c:2797 [inline]
 usbdev_ioctl+0x6bf/0x3e50 drivers/usb/core/devio.c:2806
 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: 0x000000002e48aff8 -> 0x000000003143a079

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 30916 Comm: syz-executor.3 Tainted: G        W          6.3.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/18 16:27 upstream 6a8f57ae2eb0 d931e9f0 .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.