INFO: task syz-executor.0:14723 blocked for more than 143 seconds. Not tainted 6.5.0-rc2-syzkaller-00046-gccff6d117d8d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26944 pid:14723 ppid:5057 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747 device_lock include/linux/device.h:958 [inline] usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1096 __fput+0x3fd/0xac0 fs/file_table.c:384 task_work_run+0x14d/0x240 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+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff04e87ba1a RSP: 002b:00007ffea82db710 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007ff04e87ba1a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000032 R08: 0000001b2ef20000 R09: 000000000000000e R10: 00000000817256d3 R11: 0000000000000293 R12: 00007ff04e4006f0 R13: ffffffffffffffff R14: 00007ff04e400000 R15: 00000000000f9451 INFO: task syz-executor.1:14740 blocked for more than 143 seconds. Not tainted 6.5.0-rc2-syzkaller-00046-gccff6d117d8d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28416 pid:14740 ppid:5053 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747 device_lock include/linux/device.h:958 [inline] usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 chrdev_open+0x277/0x700 fs/char_dev.c:414 do_dentry_open+0x88b/0x1780 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x19af/0x29c0 fs/namei.c:3793 do_filp_open+0x1de/0x430 fs/namei.c:3820 do_sys_openat2+0x176/0x1e0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1433 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8618e7b720 RSP: 002b:00007f8619afac00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000041 RCX: 00007f8618e7b720 RDX: 0000000000000041 RSI: 00007f8619afaca0 RDI: 00000000ffffff9c RBP: 00007f8619afaca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8618f9bf80 R15: 00007fff8804c928 Showing all locks held in the system: 2 locks held by kworker/u4:0/10: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a5830 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a5530 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/27: #0: ffffffff8c9a6440 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4778: #0: ffff888028f67098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 2 locks held by kworker/u4:8/5484: 5 locks held by kworker/1:11/18851: #0: ffff88801568d938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff88801568d938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff88801568d938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff88801568d938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff88801568d938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff88801568d938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff88801568d938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc90015107d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #2: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c8/0x5230 drivers/usb/core/hub.c:5754 #3: ffff888021caf508 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3162 [inline] #3: ffff888021caf508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5318 [inline] #3: ffff888021caf508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5566 [inline] #3: ffff888021caf508 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5726 [inline] #3: ffff888021caf508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2a54/0x5230 drivers/usb/core/hub.c:5808 #4: ffff888141340768 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5319 [inline] #4: ffff888141340768 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5566 [inline] #4: ffff888141340768 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5726 [inline] #4: ffff888141340768 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2a7d/0x5230 drivers/usb/core/hub.c:5808 1 lock held by syz-executor.0/14723: #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1096 1 lock held by syz-executor.1/14740: #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/14832: #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.1/14837: #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.4/14868: #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/14910: #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.1/14918: #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #0: ffff888022b48190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.5.0-rc2-syzkaller-00046-gccff6d117d8d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2ac/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf29/0x11b0 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5484 Comm: kworker/u4:8 Not tainted 6.5.0-rc2-syzkaller-00046-gccff6d117d8d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:343 [inline] RIP: 0010:batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:420 [inline] RIP: 0010:batadv_iv_send_outstanding_bat_ogm_packet+0x375/0x8c0 net/batman-adv/bat_iv_ogm.c:1700 Code: 8e f7 49 8d 7e 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 06 0f 8e aa 04 00 00 45 0f b6 6e 10 03 00 00 00 44 89 ee e8 ee e4 8e f7 41 80 fd 03 0f 85 4c fe ff RSP: 0018:ffffc90006467c80 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880a0137048 RCX: 0000000000000000 RDX: 1ffff11007da5702 RSI: ffffffff89f786bd RDI: ffff88803ed2b810 RBP: ffff888093c00000 R08: 0000000000000001 R09: 0000000000000003 R10: 0000000000000003 R11: 0000000000000000 R12: ffff8880a01370f0 R13: 0000000000000003 R14: ffff88803ed2b800 R15: ffff8880a0137000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0014efb88 CR3: 000000000c776000 CR4: 0000000000350ee0 Call Trace: process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000