syzbot


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

Status: auto-obsoleted due to no activity on 2025/03/19 22:59
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+67ae22672126e35ea950@syzkaller.appspotmail.com
First crash: 136d, last: 117d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (4) usb 1 954d 954d 0/28 auto-obsoleted due to no activity on 2022/11/12 18:04
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (8) usb 4 396d 402d 0/28 auto-obsoleted due to no activity on 2024/05/23 21:51
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (12) usb 1 12d 12d 0/28 moderation: reported on 2025/05/07 21:33
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl usb 1 1655d 1624d 0/28 auto-closed as invalid on 2020/12/21 11:58
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (3) usb 2 1144d 1174d 0/28 auto-closed as invalid on 2022/05/06 03:42
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (7) usb 2 462d 483d 0/28 auto-obsoleted due to no activity on 2024/03/18 17:20
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (2) usb 1 1274d 1274d 0/28 auto-closed as invalid on 2021/12/27 18:11
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (5) usb 1 762d 762d 0/28 auto-obsoleted due to no activity on 2023/05/23 16:35
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (10) usb 3 209d 254d 0/28 auto-obsoleted due to no activity on 2024/12/17 19:31
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (9) usb 3 302d 348d 0/28 auto-obsoleted due to no activity on 2024/08/25 21:37
upstream KCSAN: data-race in usbdev_ioctl / usbdev_ioctl (6) usb 1 699d 699d 0/28 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 0xffff888103068f78 of 4 bytes by task 11996 on cpu 1:
 inode_set_atime_to_ts include/linux/fs.h:1628 [inline]
 usbdev_do_ioctl drivers/usb/core/devio.c:2818 [inline]
 usbdev_ioctl+0x6b6/0x3e00 drivers/usb/core/devio.c:2827
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl+0xc9/0x140 fs/ioctl.c:892
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:892
 x64_sys_call+0x1690/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:17
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

write to 0xffff888103068f78 of 4 bytes by task 12011 on cpu 0:
 inode_set_atime_to_ts include/linux/fs.h:1628 [inline]
 usbdev_do_ioctl drivers/usb/core/devio.c:2818 [inline]
 usbdev_ioctl+0x6b6/0x3e00 drivers/usb/core/devio.c:2827
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl+0xc9/0x140 fs/ioctl.c:892
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:892
 x64_sys_call+0x1690/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:17
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x36019f2a -> 0x3a1c6b5b

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 12011 Comm: syz.8.1423 Not tainted 6.13.0-syzkaller-04541-gdf60eac9efe8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/22 22:58 upstream df60eac9efe8 a44b0418 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in usbdev_ioctl / usbdev_ioctl
2025/01/03 20:31 upstream 0bc21e701a6f f3558dbf .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.