================================================================== BUG: KCSAN: data-race in mon_reader_del / usb_hcd_submit_urb write to 0xffff8881028d0088 of 4 bytes by task 13819 on cpu 1: mon_stop drivers/usb/mon/mon_main.c:174 [inline] mon_reader_del+0x21f/0x260 drivers/usb/mon/mon_main.c:73 mon_bin_release+0x67/0x120 drivers/usb/mon/mon_bin.c:793 __fput+0x298/0x650 fs/file_table.c:465 ____fput+0x1c/0x30 fs/file_table.c:493 task_work_run+0x12e/0x1a0 kernel/task_work.c:227 resume_user_mode_work+0x6a/0x70 include/linux/resume_user_mode.h:50 exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x77/0xb0 kernel/entry/common.c:218 do_syscall_64+0xdd/0x1a0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881028d0088 of 4 bytes by task 13826 on cpu 0: usbmon_urb_submit include/linux/usb/hcd.h:723 [inline] usb_hcd_submit_urb+0x67/0x1200 drivers/usb/core/hcd.c:1518 usb_submit_urb+0xab5/0xbb0 drivers/usb/core/urb.c:581 usb_start_wait_urb+0x8c/0x190 drivers/usb/core/message.c:59 usb_internal_control_msg drivers/usb/core/message.c:103 [inline] usb_control_msg+0x18f/0x250 drivers/usb/core/message.c:154 get_port_status drivers/usb/core/hub.c:605 [inline] hub_ext_port_status+0xc0/0x480 drivers/usb/core/hub.c:622 usb_hub_port_status drivers/usb/core/hub.c:672 [inline] hub_activate+0x5ca/0x1030 drivers/usb/core/hub.c:1182 hub_resume+0x47/0x1e0 drivers/usb/core/hub.c:4019 usb_resume_interface drivers/usb/core/driver.c:1374 [inline] usb_resume_both+0x3e3/0x5b0 drivers/usb/core/driver.c:1534 usb_runtime_resume+0x21/0x30 drivers/usb/core/driver.c:1988 __rpm_callback+0x2a8/0x6e0 drivers/base/power/runtime.c:394 rpm_callback drivers/base/power/runtime.c:448 [inline] rpm_resume+0x8ee/0xd20 drivers/base/power/runtime.c:922 __pm_runtime_resume+0xd6/0x100 drivers/base/power/runtime.c:1180 pm_runtime_resume_and_get include/linux/pm_runtime.h:448 [inline] usb_autoresume_device+0x23/0xc0 drivers/usb/core/driver.c:1722 usbdev_open+0x121/0x450 drivers/usb/core/devio.c:1058 chrdev_open+0x2e8/0x3a0 fs/char_dev.c:414 do_dentry_open+0x646/0xa20 fs/open.c:956 vfs_open+0x37/0x1e0 fs/open.c:1086 do_open fs/namei.c:3880 [inline] path_openat+0x1c5e/0x2170 fs/namei.c:4039 do_filp_open+0x109/0x230 fs/namei.c:4066 do_sys_openat2+0xa6/0x110 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0xf2/0x120 fs/open.c:1455 x64_sys_call+0x1af/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000001 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 13826 Comm: syz.5.3657 Tainted: G W 6.15.0-rc4-syzkaller-00256-g95d3481af6dc #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 ==================================================================