INFO: task syz-executor.3:30470 blocked for more than 143 seconds. Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28080 pid:30470 ppid:3688 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 device_lock include/linux/device.h:835 [inline] usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xb3d/0x2a30 kernel/exit.c:820 do_group_exit+0xd4/0x2a0 kernel/exit.c:950 __do_sys_exit_group kernel/exit.c:961 [inline] __se_sys_exit_group kernel/exit.c:959 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:959 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f372748c0d9 RSP: 002b:00007f37276cfa88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f37275ac05c RCX: 00007f372748c0d9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 00007f37274e6c9b R08: 000000000000000c R09: 00007f37275ac050 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b R13: 0000000000000001 R14: 00007f37275ac050 R15: 00007f37276cfcb0 INFO: task syz-executor.0:30471 blocked for more than 143 seconds. Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28232 pid:30471 ppid:3687 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 device_lock include/linux/device.h:835 [inline] usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f954ba3df8b RSP: 002b:00007f954bccfb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f954ba3df8b RDX: 0000000000000000 RSI: 0000001b30c22ba8 RDI: 0000000000000003 RBP: 00007f954bbad980 R08: 0000000000000000 R09: 000000007a02bd08 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000238034 R13: 00007f954bccfc80 R14: 00007f954bccfca0 R15: 0000000000000032 INFO: task syz-executor.2:30519 blocked for more than 143 seconds. Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28440 pid:30519 ppid:3686 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 device_lock include/linux/device.h:835 [inline] usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6cc/0x13f0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x1bf6/0x2860 fs/namei.c:3714 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa5db83e264 RSP: 002b:00007fa5dc678ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007fa5db83e264 RDX: 0000000000020a01 RSI: 00007fa5dc678d40 RDI: 00000000ffffff9c RBP: 00007fa5dc678d40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000020a01 R13: 00007fa5dbacfb1f R14: 00007fa5dc679300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c58f0b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c58edb0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8c58fc00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 1 lock held by klogd/2985: #0: ffff8880b9a3b158 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:545 [inline] #0: ffff8880b9a3b158 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:530 2 locks held by getty/3309: #0: ffff888027ef3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 5 locks held by kworker/0:1/594: #0: ffff8880185a4138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880185a4138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880185a4138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880185a4138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff8880185a4138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff8880185a4138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900031dfda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x45d0 drivers/usb/core/hub.c:5681 #3: ffff88802ec9c4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3103 [inline] #3: ffff88802ec9c4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5249 [inline] #3: ffff88802ec9c4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] #3: ffff88802ec9c4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5653 [inline] #3: ffff88802ec9c4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x20fd/0x45d0 drivers/usb/core/hub.c:5735 #4: ffff8881481f3a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5250 [inline] #4: ffff8881481f3a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] #4: ffff8881481f3a68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5653 [inline] #4: ffff8881481f3a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2124/0x45d0 drivers/usb/core/hub.c:5735 1 lock held by syz-executor.3/3651: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 1 lock held by syz-executor.3/3906: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 1 lock held by syz-executor.3/4038: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 1 lock held by syz-executor.2/31446: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 1 lock held by syz-executor.5/13778: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 3 locks held by kworker/u4:49/16012: 1 lock held by syz-executor.0/28870: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 1 lock held by syz-executor.0/28916: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 1 lock held by syz-executor.3/30470: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 1 lock held by syz-executor.0/30471: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 1 lock held by syz-executor.2/30519: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.5/31545: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.0/646: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.2/691: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.3/693: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.3/695: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.0/2223: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.0/2249: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.2/2872: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.5/2895: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.3/2913: #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8881482be190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16004 Comm: kworker/u4:41 Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:__rcu_read_unlock+0x102/0x5b0 kernel/rcu/tree_plugin.h:427 Code: 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 5e 01 00 00 <8b> 83 3c 04 00 00 3d ff ff ff 3f 0f 87 38 01 00 00 5b 5d 41 5c 41 RSP: 0018:ffffc90003cffc58 EFLAGS: 00000246 RAX: 0000000000000007 RBX: ffff88802de63a80 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff897c7472 RDI: ffff88802de63ebc RBP: ffff88802de63a80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88802de63a80 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000274 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00437a4c8 CR3: 000000000c28e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:770 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x857/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306