ci starts bisection 2023-04-04 15:38:52.386335264 +0000 UTC m=+25622.225157602 bisecting fixing commit since 7d2a07b769330c34b4deabeed939325c77a7ec2f building syzkaller on 8f58a0efbf867526a0adee8d9a5cb38e2ebf1ee4 ensuring issue is reproducible on original commit 7d2a07b769330c34b4deabeed939325c77a7ec2f testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 88d3011ccd9c691db80bb1f652badbe199a5af71f4add4eec665dde9121de4b8 run #0: crashed: INFO: task hung in usb_register_dev run #1: crashed: INFO: task hung in usb_register_dev run #2: crashed: INFO: task hung in usb_register_dev run #3: crashed: INFO: task hung in usb_register_dev run #4: crashed: INFO: task hung in usb_register_dev run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK reproducer seems to be flaky testing current HEAD 148341f0a2f53b5e8808d093333d85170586a15d testing commit 148341f0a2f53b5e8808d093333d85170586a15d gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 71fff7e2744ee0577d6f040d42139218957f58d5a4c7307664fb1b7a2795410f run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: EOF run #1: crashed: INFO: task hung in sisusb_open run #2: crashed: INFO: task hung in usb_register_dev run #3: crashed: INFO: task hung in usb_register_dev run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK Reproducer flagged being flaky revisions tested: 2, total time: 40m55.492240029s (build: 16m51.30906979s, test: 23m11.784165881s) the crash still happens on HEAD commit msg: Merge tag 'vfs.misc.fixes.v6.3-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping crash: INFO: task hung in usb_register_dev INFO: task kworker/0:0:7 blocked for more than 143 seconds. Not tainted 6.3.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:25192 pid:7 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xa67/0x2e80 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574 usb_register_dev drivers/usb/core/file.c:187 [inline] usb_register_dev+0x132/0x740 drivers/usb/core/file.c:156 sisusb_probe+0x1fc/0xdb0 drivers/usb/misc/sisusbvga/sisusbvga.c:2802 usb_probe_interface+0x26c/0x820 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:552 [inline] really_probe+0x1c7/0xb20 drivers/base/dd.c:631 __driver_probe_device+0x186/0x460 drivers/base/dd.c:768 driver_probe_device+0x44/0x110 drivers/base/dd.c:798 __device_attach_driver+0x14e/0x270 drivers/base/dd.c:926 bus_for_each_drv+0x102/0x190 drivers/base/bus.c:457 __device_attach+0x19e/0x3d0 drivers/base/dd.c:998 bus_probe_device+0x12b/0x170 drivers/base/bus.c:532 device_add+0xee4/0x1930 drivers/base/core.c:3589 usb_set_configuration+0xabc/0x1a20 drivers/usb/core/message.c:2171 usb_generic_driver_probe+0x88/0xd0 drivers/usb/core/generic.c:238 usb_probe_device+0x98/0x240 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:552 [inline] really_probe+0x1c7/0xb20 drivers/base/dd.c:631 __driver_probe_device+0x186/0x460 drivers/base/dd.c:768 driver_probe_device+0x44/0x110 drivers/base/dd.c:798 __device_attach_driver+0x14e/0x270 drivers/base/dd.c:926 bus_for_each_drv+0x102/0x190 drivers/base/bus.c:457 __device_attach+0x19e/0x3d0 drivers/base/dd.c:998 bus_probe_device+0x12b/0x170 drivers/base/bus.c:532 device_add+0xee4/0x1930 drivers/base/core.c:3589 usb_new_device+0xc6e/0x1930 drivers/usb/core/hub.c:2575 hub_port_connect drivers/usb/core/hub.c:5407 [inline] hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] port_event drivers/usb/core/hub.c:5711 [inline] hub_event+0x24cc/0x4240 drivers/usb/core/hub.c:5793 process_one_work+0x865/0x1400 kernel/workqueue.c:2390 process_scheduled_works kernel/workqueue.c:2453 [inline] worker_thread+0x73c/0xec0 kernel/workqueue.c:2539 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task kworker/1:4:5079 blocked for more than 143 seconds. Not tainted 6.3.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:24536 pid:5079 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xa67/0x2e80 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574 usb_register_dev drivers/usb/core/file.c:187 [inline] usb_register_dev+0x132/0x740 drivers/usb/core/file.c:156 sisusb_probe+0x1fc/0xdb0 drivers/usb/misc/sisusbvga/sisusbvga.c:2802 usb_probe_interface+0x26c/0x820 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:552 [inline] really_probe+0x1c7/0xb20 drivers/base/dd.c:631 __driver_probe_device+0x186/0x460 drivers/base/dd.c:768 driver_probe_device+0x44/0x110 drivers/base/dd.c:798 __device_attach_driver+0x14e/0x270 drivers/base/dd.c:926 bus_for_each_drv+0x102/0x190 drivers/base/bus.c:457 __device_attach+0x19e/0x3d0 drivers/base/dd.c:998 bus_probe_device+0x12b/0x170 drivers/base/bus.c:532 device_add+0xee4/0x1930 drivers/base/core.c:3589 usb_set_configuration+0xabc/0x1a20 drivers/usb/core/message.c:2171 usb_generic_driver_probe+0x88/0xd0 drivers/usb/core/generic.c:238 usb_probe_device+0x98/0x240 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:552 [inline] really_probe+0x1c7/0xb20 drivers/base/dd.c:631 __driver_probe_device+0x186/0x460 drivers/base/dd.c:768 driver_probe_device+0x44/0x110 drivers/base/dd.c:798 __device_attach_driver+0x14e/0x270 drivers/base/dd.c:926 bus_for_each_drv+0x102/0x190 drivers/base/bus.c:457 __device_attach+0x19e/0x3d0 drivers/base/dd.c:998 bus_probe_device+0x12b/0x170 drivers/base/bus.c:532 device_add+0xee4/0x1930 drivers/base/core.c:3589 usb_new_device+0xc6e/0x1930 drivers/usb/core/hub.c:2575 hub_port_connect drivers/usb/core/hub.c:5407 [inline] hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] port_event drivers/usb/core/hub.c:5711 [inline] hub_event+0x24cc/0x4240 drivers/usb/core/hub.c:5793 process_one_work+0x865/0x1400 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.4:6071 blocked for more than 144 seconds. Not tainted 6.3.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28496 pid:6071 ppid:5420 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xa67/0x2e80 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 sisusb_open+0xa4/0x3e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 usb_open+0x1d9/0x2a0 drivers/usb/core/file.c:48 chrdev_open+0x213/0x650 fs/char_dev.c:414 do_dentry_open+0x452/0x1140 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x12a5/0x2280 fs/namei.c:3715 do_filp_open+0x1a9/0x3e0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x11f/0x1d0 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x4196e4 RSP: 002b:00007f585d884cc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004196e4 RDX: 0000000000000002 RSI: 00007f585d884d60 RDI: 00000000ffffff9c RBP: 00007f585d884d60 R08: 0000000000000000 R09: 000000000000000f R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffed7bbb84f R14: 00007f585d885300 R15: 0000000000022000 INFO: task syz-executor.3:6072 blocked for more than 144 seconds. Not tainted 6.3.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28496 pid:6072 ppid:5422 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xa67/0x2e80 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 sisusb_open+0xa4/0x3e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 usb_open+0x1d9/0x2a0 drivers/usb/core/file.c:48 chrdev_open+0x213/0x650 fs/char_dev.c:414 do_dentry_open+0x452/0x1140 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x12a5/0x2280 fs/namei.c:3715 do_filp_open+0x1a9/0x3e0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x11f/0x1d0 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x4196e4 RSP: 002b:00007f17ed688cc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004196e4 RDX: 0000000000000002 RSI: 00007f17ed688d60 RDI: 00000000ffffff9c RBP: 00007f17ed688d60 R08: 0000000000000000 R09: 000000000000000f R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007fff44de113f R14: 00007f17ed689300 R15: 0000000000022000 INFO: task syz-executor.0:6076 blocked for more than 144 seconds. Not tainted 6.3.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28200 pid:6076 ppid:5423 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xa67/0x2e80 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 sisusb_open+0xa4/0x3e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 usb_open+0x1d9/0x2a0 drivers/usb/core/file.c:48 chrdev_open+0x213/0x650 fs/char_dev.c:414 do_dentry_open+0x452/0x1140 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x12a5/0x2280 fs/namei.c:3715 do_filp_open+0x1a9/0x3e0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x11f/0x1d0 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x4196e4 RSP: 002b:00007f08e1013cc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004196e4 RDX: 0000000000000002 RSI: 00007f08e1013d60 RDI: 00000000ffffff9c RBP: 00007f08e1013d60 R08: 0000000000000000 R09: 000000000000000f R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffdc63ba36f R14: 00007f08e1014300 R15: 0000000000022000 INFO: task syz-executor.5:6078 blocked for more than 145 seconds. Not tainted 6.3.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28496 pid:6078 ppid:5429 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xa67/0x2e80 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 sisusb_open+0xa4/0x3e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 usb_open+0x1d9/0x2a0 drivers/usb/core/file.c:48 chrdev_open+0x213/0x650 fs/char_dev.c:414 do_dentry_open+0x452/0x1140 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x12a5/0x2280 fs/namei.c:3715 do_filp_open+0x1a9/0x3e0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x11f/0x1d0 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x4196e4 RSP: 002b:00007f43f3258cc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004196e4 RDX: 0000000000000002 RSI: 00007f43f3258d60 RDI: 00000000ffffff9c RBP: 00007f43f3258d60 R08: 0000000000000000 R09: 000000000000000f R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007fff258708df R14: 00007f43f3259300 R15: 0000000000022000 Showing all locks held in the system: 6 locks held by kworker/0:0/7: #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x1400 kernel/workqueue.c:2361 #1: ffffc900000c7db8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 #2: ffff88801f1ce190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #2: ffff88801f1ce190 (&dev->mutex){....}-{3:3}, at: hub_event+0x126/0x4240 drivers/usb/core/hub.c:5739 #3: ffff8880661f8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #3: ffff8880661f8190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #4: ffff888065751118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #4: ffff888065751118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline] #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x132/0x740 drivers/usb/core/file.c:156 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8b1834f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8b1831f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8b184040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495 5 locks held by kworker/u4:2/41: #0: ffff8880b9c3c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x22/0x30 kernel/sched/core.c:539 #1: ffffc90000b27db8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 #2: ffffffff8b184040 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:406 [inline] #2: ffffffff8b184040 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0xd7/0xd90 net/batman-adv/network-coding.c:719 #3: ffffffff8fd2f970 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x132/0x3e0 lib/debugobjects.c:665 #4: ffffffff8b04cb88 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0x12/0x30 arch/x86/kernel/jump_label.c:145 1 lock held by klogd/4415: #0: ffff8880b9c3c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:539 [inline] #0: ffff8880b9c3c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1366 [inline] #0: ffff8880b9c3c1d8 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1653 [inline] #0: ffff8880b9c3c1d8 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x263/0x2e80 kernel/sched/core.c:6542 2 locks held by getty/4736: #0: ffff88814b028098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x23/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xb73/0x1040 drivers/tty/n_tty.c:2177 6 locks held by kworker/1:4/5079: #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x1400 kernel/workqueue.c:2361 #1: ffffc90003a7fdb8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 #2: ffff88814718e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #2: ffff88814718e190 (&dev->mutex){....}-{3:3}, at: hub_event+0x126/0x4240 drivers/usb/core/hub.c:5739 #3: ffff888067322190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #3: ffff888067322190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #4: ffff888065cd1118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #4: ffff888065cd1118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline] #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x132/0x740 drivers/usb/core/file.c:156 6 locks held by kworker/0:4/5080: #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x1400 kernel/workqueue.c:2361 #1: ffffc90003a8fdb8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 #2: ffff88801f1e6190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #2: ffff88801f1e6190 (&dev->mutex){....}-{3:3}, at: hub_event+0x126/0x4240 drivers/usb/core/hub.c:5739 #3: ffff888062def190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #3: ffff888062def190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #4: ffff888067ab0118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #4: ffff888067ab0118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline] #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x132/0x740 drivers/usb/core/file.c:156 6 locks held by kworker/0:5/5081: #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x1400 kernel/workqueue.c:2361 #1: ffffc90003a9fdb8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 #2: ffff888147176190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #2: ffff888147176190 (&dev->mutex){....}-{3:3}, at: hub_event+0x126/0x4240 drivers/usb/core/hub.c:5739 #3: ffff88807b527190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #3: ffff88807b527190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #4: ffff8880674b2118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #4: ffff8880674b2118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline] #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x132/0x740 drivers/usb/core/file.c:156 6 locks held by kworker/1:6/5585: #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x1400 kernel/workqueue.c:2361 #1: ffffc90004e27db8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 #2: ffff88801f23e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #2: ffff88801f23e190 (&dev->mutex){....}-{3:3}, at: hub_event+0x126/0x4240 drivers/usb/core/hub.c:5739 #3: ffff88807717d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #3: ffff88807717d190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #4: ffff888067732118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #4: ffff888067732118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline] #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x132/0x740 drivers/usb/core/file.c:156 6 locks held by kworker/1:8/5588: #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888015e04938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x1400 kernel/workqueue.c:2361 #1: ffffc90004e37db8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 #2: ffff88801ee7e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #2: ffff88801ee7e190 (&dev->mutex){....}-{3:3}, at: hub_event+0x126/0x4240 drivers/usb/core/hub.c:5739 #3: ffff888079d6d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #3: ffff888079d6d190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #4: ffff88801b657118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #4: ffff88801b657118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x71/0x3d0 drivers/base/dd.c:973 #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline] #5: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x132/0x740 drivers/usb/core/file.c:156 2 locks held by syz-executor.1/6067: #0: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x2a0 drivers/usb/core/file.c:39 #1: ffff8880671168d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xa4/0x3e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 2 locks held by syz-executor.4/6071: #0: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x2a0 drivers/usb/core/file.c:39 #1: ffff8880671168d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xa4/0x3e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 2 locks held by syz-executor.3/6072: #0: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x2a0 drivers/usb/core/file.c:39 #1: ffff8880671168d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xa4/0x3e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 2 locks held by syz-executor.0/6076: #0: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x2a0 drivers/usb/core/file.c:39 #1: ffff8880671168d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xa4/0x3e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 2 locks held by syz-executor.5/6078: #0: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x2a0 drivers/usb/core/file.c:39 #1: ffff8880671168d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xa4/0x3e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 1 lock held by syz-executor.2/6257: #0: ffffffff8c077c50 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x2a0 drivers/usb/core/file.c:39 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x64/0xb0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x175/0x200 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x1bc/0x200 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0x9f9/0xcf0 kernel/hung_task.c:379 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 501 Comm: kworker/u4:4 Not tainted 6.3.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: phy14 ieee80211_iface_work RIP: 0010:__unwind_start+0x1c/0x800 arch/x86/kernel/unwind_orc.c:662 Code: e9 a4 f6 ff ff 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 41 57 49 89 ff 41 56 41 55 4d 8d 6f 28 41 54 49 89 d4 ba 60 00 00 00 55 <48> 89 f5 31 f6 53 48 89 cb 48 83 ec 18 e8 32 31 99 07 4c 89 ea 48 RSP: 0018:ffffc90002b7f318 EFLAGS: 00000246 RAX: ffff888019d51cc0 RBX: ffffffff8163b4d0 RCX: ffffc90002b7f3d0 RDX: 0000000000000060 RSI: ffff888019d51cc0 RDI: ffffc90002b7f348 RBP: ffffc90002b7f3d0 R08: ffffc90002b7f678 R09: ffffed100cc68e5a R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffffc90002b7f370 R14: ffff888019d51cc0 R15: ffffc90002b7f348 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10d2b804c0 CR3: 000000000af6c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x60/0xf0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] ____kasan_kmalloc mm/kasan/common.c:333 [inline] __kasan_kmalloc+0xa2/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:196 [inline] __do_kmalloc_node mm/slab_common.c:967 [inline] __kmalloc+0x5e/0x190 mm/slab_common.c:980 kmalloc include/linux/slab.h:584 [inline] kzalloc include/linux/slab.h:720 [inline] ieee802_11_parse_elems_full+0xea/0x1280 net/mac80211/util.c:1609 ieee802_11_parse_elems_crc.constprop.0+0x87/0xc0 net/mac80211/ieee80211_i.h:2265 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2272 [inline] ieee80211_bss_info_update+0x2d3/0x8f0 net/mac80211/scan.c:212 ieee80211_rx_bss_info net/mac80211/ibss.c:1120 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x1259/0x2f40 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1583 [inline] ieee80211_iface_work+0x6f9/0x9e0 net/mac80211/iface.c:1637 process_one_work+0x865/0x1400 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308