INFO: task syz-executor.3:20615 blocked for more than 143 seconds. Not tainted 6.1.0-rc4-syzkaller-00159-g4bbf3422df78 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28464 pid:20615 ppid:3641 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6503 schedule+0xda/0x1b0 kernel/sched/core.c:6579 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1911 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ca/0x5c0 kernel/sched/completion.c:106 f2fs_issue_checkpoint+0x358/0x460 fs/f2fs/checkpoint.c:1882 f2fs_sync_fs+0x240/0x4c0 fs/f2fs/super.c:1656 sync_fs_one_sb fs/sync.c:84 [inline] sync_fs_one_sb+0x107/0x140 fs/sync.c:80 iterate_supers+0x13c/0x290 fs/super.c:724 ksys_sync+0xa8/0x150 fs/sync.c:104 __do_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fed6468b639 RSP: 002b:00007fed652fe168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007fed647ac120 RCX: 00007fed6468b639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fed646e67e1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe76379a5f R14: 00007fed652fe300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff8bf85170 ( 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/12: #0: ffffffff8bf84e70 ( 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/27: #0: ffffffff8bf85cc0 ( rcu_read_lock ){....}-{1:2} , at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6494 2 locks held by getty/3286: #0: ffff88801d964098 ( &tty->ldisc_sem ){++++}-{0:0} , at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020282f0 ( &ldata->atomic_read_lock ){+.+.}-{3:3} , at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by kworker/0:18/6221: #0: ffff888011872538 ( (wq_completion)rcu_gp ){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] , at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] , at: set_work_data kernel/workqueue.c:636 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] , at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000689fda8 ((work_completion)(&rew->rew_work) ){+.+.}-{0:0} , at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 2 locks held by kworker/u4:19/11936: 3 locks held by kworker/0:11/16606: #0: ffff888011861d38 ( (wq_completion)events ){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] , at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] , at: set_work_data kernel/workqueue.c:636 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] , at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900035d7da8 ( (work_completion)(&data->fib_event_work) ){+.+.}-{0:0} , at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88807a770240 ( &data->fib_lock ){+.+.}-{3:3} , at: nsim_fib_event_work+0x1d1/0x24a0 drivers/net/netdevsim/fib.c:1489 1 lock held by syz-executor.3/20615: #0: ffff8880743480e0 ( &type->s_umount_key #81 ){++++}-{3:3} , at: iterate_supers+0xdb/0x290 fs/super.c:722 5 locks held by f2fs_ckpt-7:3/20612: 3 locks held by kworker/0:1/20759: #0: ffff88814a63dd38 ( (wq_completion)ipv6_addrconf ){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] , at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] , at: set_work_data kernel/workqueue.c:636 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] , at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90006687da8 ( (work_completion)(&(&ifa->dad_work)->work) ){+.+.}-{0:0} , at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffffffff8d7af668 ( rtnl_mutex ){+.+.}-{3:3} , at: addrconf_dad_work+0xa3/0x12d0 net/ipv6/addrconf.c:4083 1 lock held by syz-executor.3/20768: #0: ffff8880743480e0 ( &type->s_umount_key #81 ){++++}-{3:3} , at: iterate_supers+0xdb/0x290 fs/super.c:722 3 locks held by syz-executor.3/20815: #0: ffffffff8d7af668 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:74 [inline] , at: rtnetlink_rcv_msg+0x3e5/0xca0 net/core/rtnetlink.c:6088 #1: ffff88808e0f53e8 ( &wg->device_update_lock ){+.+.}-{3:3} , at: wg_open+0x1f3/0x490 drivers/net/wireguard/device.c:49 #2: ffffffff8bf90978 ( rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] , at: synchronize_rcu_expedited+0x5db/0x770 kernel/rcu/tree_exp.h:946 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.1.0-rc4-syzkaller-00159-g4bbf3422df78 #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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x32f/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+0xc71/0xfc0 kernel/hung_task.c:377 kthread+0x2e4/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: 15380 Comm: kworker/1:8 Not tainted 6.1.0-rc4-syzkaller-00159-g4bbf3422df78 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_power_efficient wg_ratelimiter_gc_entries RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:121 [inline] RIP: 0010:lock_is_held_type+0x42/0x140 kernel/locking/lockdep.c:5704 Code: 53 04 85 c9 0f 84 d9 00 00 00 65 8b 05 97 e4 73 76 85 c0 0f 85 ca 00 00 00 65 4c 8b 24 25 80 6f 02 00 41 8b 94 24 4c 0a 00 00 <85> d2 0f 85 b1 00 00 00 48 89 fd 41 89 f6 9c 8f 04 24 fa 48 c7 c7 RSP: 0018:ffffc90004b27b78 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff92000964f7c RCX: 0000000000000001 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8bf85c00 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8de18397 R10: fffffbfff1bc3072 R11: 0000000000000000 R12: ffff888088ea8040 R13: 00000000ffffffff R14: ffffffff8ccb97d8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005603c5c28510 CR3: 000000000bc8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x4fc/0x630 kernel/locking/lockdep.c:5639 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] wg_ratelimiter_gc_entries+0x5d/0x430 drivers/net/wireguard/ratelimiter.c:63 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306