INFO: task syz-executor.1:11230 blocked for more than 143 seconds. Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27680 pid:11230 tgid:11227 ppid:6217 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2557 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3de/0x5f0 kernel/sched/completion.c:116 __flush_work+0x5bd/0xc60 kernel/workqueue.c:4211 __cancel_work_sync+0x10c/0x130 kernel/workqueue.c:4331 uhid_dev_destroy drivers/hid/uhid.c:584 [inline] uhid_char_write+0xc0b/0x10c0 drivers/hid/uhid.c:761 vfs_write+0x29a/0x1140 fs/read_write.c:588 ksys_write+0x1f8/0x260 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f146c27cf29 RSP: 002b:00007f146cf640c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f146c3b3f80 RCX: 00007f146c27cf29 RDX: 0000000000000004 RSI: 00000000200011c0 RDI: 0000000000000004 RBP: 00007f146c2ec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f146c3b3f80 R15: 00007ffcd58eac98 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8dbb1920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8dbb1920 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8dbb1920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 3 locks held by kworker/0:2/929: 4 locks held by kworker/u8:6/1043: #0: ffff8880162d3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900045b7d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f736c10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbf0 net/core/net_namespace.c:594 #3: ffffffff8dbbd0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323 2 locks held by getty/4843: #0: ffff88802b2ab0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-fuzzer/5099: 1 lock held by syz-executor.2/6293: 1 lock held by syz-executor.0/8542: 1 lock held by syz-executor.4/11010: 1 lock held by syz-executor.1/11230: #0: ffff88807a07c068 (&uhid->devlock){+.+.}-{3:3}, at: uhid_char_write+0x71/0x10c0 drivers/hid/uhid.c:731 3 locks held by kworker/1:5/11505: 3 locks held by kworker/0:7/11569: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900034d7d80 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8dbbd0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291 1 lock held by syz-executor.3/13326: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 31 Comm: khungtaskd Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 80 Comm: kworker/u8:5 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:hlock_class+0x56/0x130 kernel/locking/lockdep.c:228 Code: 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 c0 e2 26 94 e8 a2 da 7e 00 48 0f a3 1d 0a fd bb 12 <73> 13 48 69 c3 c8 00 00 00 5b 48 05 e0 e6 26 94 c3 cc cc cc cc 48 RSP: 0018:ffffc9000233f550 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff816ae5ae RDX: fffffbfff284dc59 RSI: 0000000000000008 RDI: ffffffff9426e2c0 RBP: ffffc9000233f6a0 R08: 0000000000000000 R09: fffffbfff284dc58 R10: ffffffff9426e2c7 R11: 0000000000000002 R12: ffff888017f23c00 R13: 0000000000000100 R14: 0000000000000008 R15: 1ffff92000467eb2 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555713e6938 CR3: 000000000d97a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock+0xb5/0xc60 kernel/locking/lockdep.c:4656 mark_usage kernel/locking/lockdep.c:4599 [inline] __lock_acquire+0x992/0x3b30 kernel/locking/lockdep.c:5091 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 debug_objects_fill_pool lib/debugobjects.c:614 [inline] debug_object_activate+0x14c/0x540 lib/debugobjects.c:704 debug_timer_activate kernel/time/timer.c:836 [inline] __mod_timer+0x81d/0xdc0 kernel/time/timer.c:1171 add_timer_global+0x8a/0xc0 kernel/time/timer.c:1330 __queue_delayed_work+0x1ba/0x2e0 kernel/workqueue.c:2543 queue_delayed_work_on+0x12a/0x150 kernel/workqueue.c:2572 queue_delayed_work include/linux/workqueue.h:636 [inline] batadv_nc_start_timer net/batman-adv/network-coding.c:72 [inline] batadv_nc_worker+0xb6f/0x10f0 net/batman-adv/network-coding.c:741 process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244