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: 865d, last: 865d
Similar bugs (11)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (4) usb 6 1 1057d 1057d 0/29 auto-obsoleted due to no activity on 2022/11/12 18:04
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (8) usb 6 4 499d 505d 0/29 auto-obsoleted due to no activity on 2024/05/23 21:51
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (12) usb 6 2 65d 115d 0/29 auto-obsoleted due to no activity on 2025/08/21 21:41
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl usb 6 1 1758d 1727d 0/29 auto-closed as invalid on 2020/12/21 11:58
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (3) usb 6 2 1247d 1277d 0/29 auto-closed as invalid on 2022/05/06 03:42
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (7) usb 6 2 565d 586d 0/29 auto-obsoleted due to no activity on 2024/03/18 17:20
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (2) usb 6 1 1377d 1377d 0/29 auto-closed as invalid on 2021/12/27 18:11
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (10) usb 6 3 312d 357d 0/29 auto-obsoleted due to no activity on 2024/12/17 19:31
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (11) usb 6 2 220d 239d 0/29 auto-obsoleted due to no activity on 2025/03/19 22:59
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (9) usb 6 3 405d 451d 0/29 auto-obsoleted due to no activity on 2024/08/25 21:37
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (6) usb 6 1 802d 802d 0/29 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 ci2-upstream-kcsan-gce KCSAN: data-race in usbdev_ioctl / usbdev_ioctl
* Struck through repros no longer work on HEAD.