INFO: task syz-executor.0:9290 blocked for more than 143 seconds. Not tainted 6.6.0-rc7-syzkaller-00016-g84186fcb834e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26416 pid:9290 ppid:5082 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x969/0x1340 kernel/locking/mutex.c:747 device_lock include/linux/device.h:992 [inline] usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1096 __fput+0x3f7/0xa70 fs/file_table.c:384 __fput_sync+0x47/0x50 fs/file_table.c:465 __do_sys_close fs/open.c:1572 [inline] __se_sys_close fs/open.c:1557 [inline] __x64_sys_close+0x87/0xf0 fs/open.c:1557 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:0x7f312427b9da RSP: 002b:00007f31244bfb10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f312427b9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f312439d980 R08: 0000001b30320000 R09: 000000000000005d R10: 0000000081305c42 R11: 0000000000000293 R12: 000000000004e872 R13: ffffffffffffffff R14: 00007f3123e00000 R15: 000000000004e531 INFO: task syz-executor.0:9291 blocked for more than 143 seconds. Not tainted 6.6.0-rc7-syzkaller-00016-g84186fcb834e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27072 pid:9291 ppid:5082 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x969/0x1340 kernel/locking/mutex.c:747 device_lock include/linux/device.h:992 [inline] usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 chrdev_open+0x277/0x700 fs/char_dev.c:414 do_dentry_open+0x88b/0x1730 fs/open.c:929 do_open fs/namei.c:3640 [inline] path_openat+0x19af/0x29c0 fs/namei.c:3797 do_filp_open+0x1de/0x430 fs/namei.c:3824 do_sys_openat2+0x176/0x1e0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1448 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:0x7f312427b6e0 RSP: 002b:00007f3124effc00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000001a3b42 RCX: 00007f312427b6e0 RDX: 00000000001a3b42 RSI: 00007f3124effca0 RDI: 00000000ffffff9c RBP: 00007f3124effca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000000b R14: 00007f312439bf80 R15: 00007f31244bfa48 INFO: task syz-executor.0:9301 blocked for more than 144 seconds. Not tainted 6.6.0-rc7-syzkaller-00016-g84186fcb834e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28400 pid:9301 ppid:5082 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x969/0x1340 kernel/locking/mutex.c:747 device_lock include/linux/device.h:992 [inline] usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 chrdev_open+0x277/0x700 fs/char_dev.c:414 do_dentry_open+0x88b/0x1730 fs/open.c:929 do_open fs/namei.c:3640 [inline] path_openat+0x19af/0x29c0 fs/namei.c:3797 do_filp_open+0x1de/0x430 fs/namei.c:3824 do_sys_openat2+0x176/0x1e0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1448 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:0x7f312427b6e0 RSP: 002b:00007f3122dfdc00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000001a3b42 RCX: 00007f312427b6e0 RDX: 00000000001a3b42 RSI: 00007f3122dfdca0 RDI: 00000000ffffff9c RBP: 00007f3122dfdca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000006e R14: 00007f312439c050 R15: 00007f31244bfa48 INFO: task syz-executor.0:9316 blocked for more than 144 seconds. Not tainted 6.6.0-rc7-syzkaller-00016-g84186fcb834e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28400 pid:9316 ppid:5082 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x969/0x1340 kernel/locking/mutex.c:747 device_lock include/linux/device.h:992 [inline] usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 chrdev_open+0x277/0x700 fs/char_dev.c:414 do_dentry_open+0x88b/0x1730 fs/open.c:929 do_open fs/namei.c:3640 [inline] path_openat+0x19af/0x29c0 fs/namei.c:3797 do_filp_open+0x1de/0x430 fs/namei.c:3824 do_sys_openat2+0x176/0x1e0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1448 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:0x7f312427b6e0 RSP: 002b:00007f3122ddcc00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000001a3b42 RCX: 00007f312427b6e0 RDX: 00000000001a3b42 RSI: 00007f3122ddcca0 RDI: 00000000ffffff9c RBP: 00007f3122ddcca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000006e R14: 00007f312439c120 R15: 00007f31244bfa48 INFO: task syz-executor.2:9295 blocked for more than 144 seconds. Not tainted 6.6.0-rc7-syzkaller-00016-g84186fcb834e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26800 pid:9295 ppid:5083 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x969/0x1340 kernel/locking/mutex.c:747 device_lock include/linux/device.h:992 [inline] usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1096 __fput+0x3f7/0xa70 fs/file_table.c:384 __fput_sync+0x47/0x50 fs/file_table.c:465 __do_sys_close fs/open.c:1572 [inline] __se_sys_close fs/open.c:1557 [inline] __x64_sys_close+0x87/0xf0 fs/open.c:1557 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:0x7f05a747b9da RSP: 002b:00007f05a76bfb10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f05a747b9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f05a759d980 R08: 0000001b30060000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000004e88d R13: ffffffffffffffff R14: 00007f05a7000000 R15: 000000000004e54c Showing all locks held in the system: 3 locks held by kworker/u4:1/12: #0: ffff8880b993c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9928888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999 #2: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #2: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #2: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] #2: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0x168/0x10e0 net/batman-adv/network-coding.c:719 1 lock held by khungtaskd/29: #0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by syslogd/4472: 2 locks held by getty/4796: #0: ffff8880266be0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 5 locks held by kworker/1:5/5134: #0: ffff888146661938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90004adfd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e10 drivers/usb/core/hub.c:5787 #3: ffff8881427ec508 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3150 [inline] #3: ffff8881427ec508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5356 [inline] #3: ffff8881427ec508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5599 [inline] #3: ffff8881427ec508 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5759 [inline] #3: ffff8881427ec508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x27fe/0x4e10 drivers/usb/core/hub.c:5841 #4: ffff888020c50668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5357 [inline] #4: ffff888020c50668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5599 [inline] #4: ffff888020c50668 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5759 [inline] #4: ffff888020c50668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2827/0x4e10 drivers/usb/core/hub.c:5841 1 lock held by syz-executor.0/9290: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1096 1 lock held by syz-executor.0/9291: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/9301: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/9316: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.2/9295: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1096 1 lock held by syz-executor.0/9398: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/9403: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/9407: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/9408: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/9467: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/9469: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/9472: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/9473: #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff8881427e8190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b5/0x900 drivers/usb/core/devio.c:1051 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc7-syzkaller-00016-g84186fcb834e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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+0x299/0x300 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11 Comm: kworker/u4:0 Not tainted 6.6.0-rc7-syzkaller-00016-g84186fcb834e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0xf8/0x5de0 kernel/locking/lockdep.c:5004 Code: 7c 08 84 c9 0f 85 9e 15 00 00 44 8b 0d 49 1b 64 0d 45 85 c9 0f 84 cc 0e 00 00 44 8b 05 c1 1e 42 0b 45 85 c0 0f 84 be 0d 00 00 <48> ba 00 00 00 00 00 fc ff df 4c 89 d1 48 c1 e9 03 80 3c 11 00 0f RSP: 0018:ffffc900001078d0 EFLAGS: 00000002 RAX: ffff888016e4bb80 RBX: 1ffff92000020f4a RCX: 0000000000000000 RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffff888076ff5ed8 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffff888076ff5ed8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000c5c044 CR3: 000000000c976000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5753 [inline] lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5718 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:356 [inline] batadv_nc_purge_paths+0xd3/0x3c0 net/batman-adv/network-coding.c:442 batadv_nc_worker+0x9b1/0x10e0 net/batman-adv/network-coding.c:722 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304