syzbot


INFO: task hung in sisusb_open
Status: upstream: reported C repro on 2020/07/06 15:22
Reported-by: syzbot+fd9d03311cdce9a9ec36@syzkaller.appspotmail.com
First crash: 1020d, last: 4d22h

Cause bisection: failed (bisect log)

Fix bisection: failed (bisect log)
Patch testing requests:
Created Duration User Patch Repo Result
2021/10/27 09:52 15m oneukum@suse.com patch https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git 2f111a6fd5b5 report log

Sample crash report:
INFO: task syz-executor259:7127 blocked for more than 143 seconds.
      Not tainted 5.15.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor259 state:D stack:28152 pid: 7127 ppid:  6559 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0xb44/0x5960 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 sisusb_open+0xb2/0x4d0 drivers/usb/misc/sisusbvga/sisusb.c:2396
 usb_open+0x204/0x2e0 drivers/usb/core/file.c:48
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4c8/0x11d0 fs/open.c:822
 do_open fs/namei.c:3428 [inline]
 path_openat+0x1c9a/0x2740 fs/namei.c:3561
 do_filp_open+0x1aa/0x400 fs/namei.c:3588
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200
 do_sys_open fs/open.c:1216 [inline]
 __do_sys_openat fs/open.c:1232 [inline]
 __se_sys_openat fs/open.c:1227 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1227
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f10c35645d7
RSP: 002b:00007fffd449b720 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f10c35645d7
RDX: 0000000000000002 RSI: 00007fffd449b7a0 RDI: 00000000ffffff9c
RBP: 00007fffd449b7a0 R08: 0000000000000000 R09: 000000000000000f
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fffd449b83c R14: 00007fffd449b850 R15: 00007fffd449b840
INFO: task syz-executor259:7129 blocked for more than 143 seconds.
      Not tainted 5.15.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor259 state:D stack:27888 pid: 7129 ppid:  6555 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0xb44/0x5960 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 sisusb_open+0xb2/0x4d0 drivers/usb/misc/sisusbvga/sisusb.c:2396
 usb_open+0x204/0x2e0 drivers/usb/core/file.c:48
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4c8/0x11d0 fs/open.c:822
 do_open fs/namei.c:3428 [inline]
 path_openat+0x1c9a/0x2740 fs/namei.c:3561
 do_filp_open+0x1aa/0x400 fs/namei.c:3588
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200
 do_sys_open fs/open.c:1216 [inline]
 __do_sys_openat fs/open.c:1232 [inline]
 __se_sys_openat fs/open.c:1227 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1227
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f10c35645d7
RSP: 002b:00007fffd449b720 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f10c35645d7
RDX: 0000000000000002 RSI: 00007fffd449b7a0 RDI: 00000000ffffff9c
RBP: 00007fffd449b7a0 R08: 0000000000000000 R09: 000000000000000f
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fffd449b83c R14: 00007fffd449b850 R15: 00007fffd449b840
INFO: task syz-executor259:7133 blocked for more than 143 seconds.
      Not tainted 5.15.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor259 state:D stack:28152 pid: 7133 ppid:  6561 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0xb44/0x5960 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 sisusb_open+0xb2/0x4d0 drivers/usb/misc/sisusbvga/sisusb.c:2396
 usb_open+0x204/0x2e0 drivers/usb/core/file.c:48
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4c8/0x11d0 fs/open.c:822
 do_open fs/namei.c:3428 [inline]
 path_openat+0x1c9a/0x2740 fs/namei.c:3561
 do_filp_open+0x1aa/0x400 fs/namei.c:3588
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200
 do_sys_open fs/open.c:1216 [inline]
 __do_sys_openat fs/open.c:1232 [inline]
 __se_sys_openat fs/open.c:1227 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1227
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f10c35645d7
RSP: 002b:00007fffd449b720 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f10c35645d7
RDX: 0000000000000002 RSI: 00007fffd449b7a0 RDI: 00000000ffffff9c
RBP: 00007fffd449b7a0 R08: 0000000000000000 R09: 000000000000000f
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fffd449b83c R14: 00007fffd449b850 R15: 00007fffd449b840
INFO: task syz-executor259:7136 blocked for more than 144 seconds.
      Not tainted 5.15.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor259 state:D stack:28152 pid: 7136 ppid:  6560 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0xb44/0x5960 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 sisusb_open+0xb2/0x4d0 drivers/usb/misc/sisusbvga/sisusb.c:2396
 usb_open+0x204/0x2e0 drivers/usb/core/file.c:48
 chrdev_open+0x266/0x770 fs/char_dev.c:414
 do_dentry_open+0x4c8/0x11d0 fs/open.c:822
 do_open fs/namei.c:3428 [inline]
 path_openat+0x1c9a/0x2740 fs/namei.c:3561
 do_filp_open+0x1aa/0x400 fs/namei.c:3588
 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200
 do_sys_open fs/open.c:1216 [inline]
 __do_sys_openat fs/open.c:1232 [inline]
 __se_sys_openat fs/open.c:1227 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1227
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f10c35645d7
RSP: 002b:00007fffd449b720 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f10c35645d7
RDX: 0000000000000002 RSI: 00007fffd449b7a0 RDI: 00000000ffffff9c
RBP: 00007fffd449b7a0 R08: 0000000000000000 R09: 000000000000000f
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fffd449b83c R14: 00007fffd449b850 R15: 00007fffd449b840

Showing all locks held in the system:
6 locks held by kworker/0:1/7:
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc90000cc7db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffff888146e61220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #2: ffff888146e61220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4330 drivers/usb/core/hub.c:5662
 #3: ffff88807e874220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #3: ffff88807e874220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #4: ffff88801cd731a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #4: ffff88801cd731a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline]
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x19d/0x7e0 drivers/usb/core/file.c:156
6 locks held by kworker/1:0/20:
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc90000da7db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffff88801ec09220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #2: ffff88801ec09220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4330 drivers/usb/core/hub.c:5662
 #3: ffff8880125cf220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #3: ffff8880125cf220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #4: ffff88801be6a1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #4: ffff88801be6a1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline]
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x19d/0x7e0 drivers/usb/core/file.c:156
6 locks held by kworker/1:1/25:
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc90000dffdb0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffff88801ec31220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #2: ffff88801ec31220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4330 drivers/usb/core/hub.c:5662
 #3: ffff8880125ce220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #3: ffff8880125ce220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #4: ffff88801be6c1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #4: ffff88801be6c1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline]
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x19d/0x7e0 drivers/usb/core/file.c:156
1 lock held by khungtaskd/27:
 #0: ffffffff8b981b20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446
6 locks held by kworker/0:3/2432:
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc9000b65fdb0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffff888146dd9220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #2: ffff888146dd9220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4330 drivers/usb/core/hub.c:5662
 #3: ffff88807c68f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #3: ffff88807c68f220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #4: ffff88807b9641a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #4: ffff88807b9641a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline]
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x19d/0x7e0 drivers/usb/core/file.c:156
1 lock held by in:imklog/6257:
 #0: ffff88801f966370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
6 locks held by kworker/0:0/6572:
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc90002cbfdb0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffff888146e81220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #2: ffff888146e81220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4330 drivers/usb/core/hub.c:5662
 #3: ffff88807e872220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #3: ffff88807e872220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #4: ffff88801b9421a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #4: ffff88801b9421a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline]
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x19d/0x7e0 drivers/usb/core/file.c:156
6 locks held by kworker/0:2/6576:
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff888140bfa538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc90002cffdb0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffff88801ecc1220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #2: ffff88801ecc1220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4330 drivers/usb/core/hub.c:5662
 #3: ffff88801ea49220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #3: ffff88801ea49220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #4: ffff88807b9671a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #4: ffff88807b9671a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline]
 #5: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x19d/0x7e0 drivers/usb/core/file.c:156
2 locks held by syz-executor259/7124:
 #0: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x24/0x2e0 drivers/usb/core/file.c:39
 #1: ffff88801bc368d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xb2/0x4d0 drivers/usb/misc/sisusbvga/sisusb.c:2396
2 locks held by syz-executor259/7127:
 #0: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x24/0x2e0 drivers/usb/core/file.c:39
 #1: ffff88801bc368d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xb2/0x4d0 drivers/usb/misc/sisusbvga/sisusb.c:2396
2 locks held by syz-executor259/7129:
 #0: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x24/0x2e0 drivers/usb/core/file.c:39
 #1: ffff88801bc368d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xb2/0x4d0 drivers/usb/misc/sisusbvga/sisusb.c:2396
2 locks held by syz-executor259/7133:
 #0: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x24/0x2e0 drivers/usb/core/file.c:39
 #1: ffff88801bc368d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xb2/0x4d0 drivers/usb/misc/sisusbvga/sisusb.c:2396
2 locks held by syz-executor259/7136:
 #0: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x24/0x2e0 drivers/usb/core/file.c:39
 #1: ffff88801bc368d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xb2/0x4d0 drivers/usb/misc/sisusbvga/sisusb.c:2396
1 lock held by syz-executor259/7160:
 #0: ffffffff8c81faf0 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x24/0x2e0 drivers/usb/core/file.c:39

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
 watchdog+0xc1d/0xf50 kernel/hung_task.c:295
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.15.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:hlock_class kernel/locking/lockdep.c:199 [inline]
RIP: 0010:__lock_acquire+0x144a/0x54a0 kernel/locking/lockdep.c:5011
Code: f8 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 f8 06 48 8d 3c c5 e0 f9 cf 8f e8 be 55 62 00 48 0f a3 1d 36 07 74 0e <0f> 83 90 05 00 00 48 8d 1c 5b 48 c1 e3 06 48 81 c3 00 fe cf 8f 48
RSP: 0018:ffffc90000cf7788 EFLAGS: 00000047
RAX: 0000000000000001 RBX: 000000000000000a RCX: ffffffff815bf2a2
RDX: fffffbfff1f9ff3d RSI: 0000000000000008 RDI: ffffffff8fcff9e0
RBP: ffff888010e7a78a R08: 0000000000000000 R09: ffffffff8fcff9e7
R10: fffffbfff1f9ff3c R11: 000000000000003f R12: ffff888010e7a768
R13: ffff888010e79c80 R14: 0000000000000000 R15: 9003074182af4f12
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd7c30f9000 CR3: 000000000b68e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lock_acquire kernel/locking/lockdep.c:5625 [inline]
 lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:363 [inline]
 __get_locked_pte+0x2b6/0x4d0 mm/memory.c:1736
 get_locked_pte include/linux/mm.h:2051 [inline]
 __text_poke+0x1ab/0x8c0 arch/x86/kernel/alternative.c:817
 text_poke_bp_batch+0x3d7/0x560 arch/x86/kernel/alternative.c:1178
 text_poke_flush arch/x86/kernel/alternative.c:1268 [inline]
 text_poke_flush arch/x86/kernel/alternative.c:1265 [inline]
 text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1275
 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
 jump_label_update+0x1d5/0x430 kernel/jump_label.c:830
 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177
 static_key_enable+0x16/0x20 kernel/jump_label.c:190
 toggle_allocation_gate mm/kfence/core.c:626 [inline]
 toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:618
 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
   0:	f8                   	clc
   1:	66 81 e3 ff 1f       	and    $0x1fff,%bx
   6:	0f b7 db             	movzwl %bx,%ebx
   9:	be 08 00 00 00       	mov    $0x8,%esi
   e:	48 89 d8             	mov    %rbx,%rax
  11:	48 c1 f8 06          	sar    $0x6,%rax
  15:	48 8d 3c c5 e0 f9 cf 	lea    -0x70300620(,%rax,8),%rdi
  1c:	8f
  1d:	e8 be 55 62 00       	callq  0x6255e0
  22:	48 0f a3 1d 36 07 74 	bt     %rbx,0xe740736(%rip)        # 0xe740760
  29:	0e
* 2a:	0f 83 90 05 00 00    	jae    0x5c0 <-- trapping instruction
  30:	48 8d 1c 5b          	lea    (%rbx,%rbx,2),%rbx
  34:	48 c1 e3 06          	shl    $0x6,%rbx
  38:	48 81 c3 00 fe cf 8f 	add    $0xffffffff8fcffe00,%rbx
  3f:	48                   	rex.W

Crashes (191):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/10/29 04:07 upstream 411a44c24a56 be531bb4 .config log report syz C INFO: task hung in sisusb_open
ci-upstream-kasan-gce 2021/10/22 15:09 upstream 2f111a6fd5b5 55f90bc6 .config log report syz C INFO: task hung in sisusb_open
ci-upstream-kasan-gce 2022/04/07 19:35 upstream 3e732ebf7316 c6ff3e05 .config log report info INFO: task hung in sisusb_open
ci-upstream-kasan-gce 2021/10/22 06:52 upstream 2f111a6fd5b5 55f90bc6 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2022/05/22 01:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 97fa5887cf28 7268fa62 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2022/05/20 03:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 376d6b02cb08 cb1ac2e7 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2022/04/12 05:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 312310928417 af01ee7d .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2022/04/08 00:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 312310928417 c6ff3e05 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2022/03/30 14:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d888c83fcec7 42718dd6 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2022/01/28 10:57 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 993a44fa85c1 495e00c5 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2022/01/07 06:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 601a5bc1aeef 6acc789a .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/12/14 22:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cdf8e2de16c0 d018dd31 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/12/02 17:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4d012040161c 61f86278 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/10/15 08:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 660a92a59b9e aab7690b .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/10/14 14:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 660a92a59b9e 5462d470 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/10/10 04:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 2c52ad743fee 838e7e2c .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/10/09 05:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 2c52ad743fee efe0f24d .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/10/06 17:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f3351eca1fb1 0a63fd36 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/10/06 11:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f3351eca1fb1 0a63fd36 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/10/06 01:15 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 89e84f946479 0a63fd36 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/10/05 09:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae9a6149884e ce697b49 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/10/03 17:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae9a6149884e db0f5787 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/10/03 13:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae9a6149884e db0f5787 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/09/30 05:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae9a6149884e be530f6c .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/09/24 01:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8217f07a5023 8cac236e .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/09/22 14:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8217f07a5023 8cac236e .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/09/16 18:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae8709b296d8 aae492f2 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/09/14 15:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 44a0f3bb69a3 07e953c1 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/09/04 17:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1b4f3dfb4792 d236a457 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/09/03 22:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1b4f3dfb4792 d236a457 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/08/30 22:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9c1587d99f93 8f58a0ef .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/08/15 15:57 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cea45a3bd2dd 2489ab88 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/08/10 07:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 73e19de7b79a 6972b106 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/08/04 16:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 64cd4271ea8e b97d64c9 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/07/31 23:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 64cd4271ea8e 6c236867 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/07/26 15:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d842bc6c0579 fd511809 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/07/24 09:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8e6cb5d27e82 bc5f1d88 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/07/21 12:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 0c29ec921059 1b201b48 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/07/14 12:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 97db1b081e12 94e0b707 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/06/27 09:25 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 9d2ab5df .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/06/25 20:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e ae6bf8dd .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/06/14 14:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 37fdb7c90f8c 1ba81399 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/06/03 08:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5ff90af9da8f 0740de69 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/05/31 13:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing aa10fab0f859 032639db .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/05/28 02:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7652dd2c5cb7 858ea628 .config log report info INFO: task hung in sisusb_open
ci2-upstream-usb 2021/01/02 10:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cb4d9b52ec06 79264ae3 .config log report info
ci2-upstream-usb 2020/07/05 05:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 768a07412843 24d7f505 .config log report
ci2-upstream-usb 2019/08/10 06:54 https://github.com/google/kasan.git usb-fuzzer e96407b49762 acb51638 .config log report