INFO: task syz-executor.5:1941 blocked for more than 143 seconds.
Not tainted 6.2.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:24952 pid:1941 ppid:5088 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5293 [inline]
__schedule+0xb8a/0x5450 kernel/sched/core.c:6606
schedule+0xde/0x1b0 kernel/sched/core.c:6682
wb_wait_for_completion+0x182/0x240 fs/fs-writeback.c:192
__writeback_inodes_sb_nr+0x1d7/0x280 fs/fs-writeback.c:2639
try_to_writeback_inodes_sb+0x98/0xc0 fs/fs-writeback.c:2687
ext4_nonda_switch+0x1aa/0x1f0 fs/ext4/inode.c:3029
ext4_da_write_begin+0x170/0xb50 fs/ext4/inode.c:3056
generic_perform_write+0x256/0x570 mm/filemap.c:3772
ext4_buffered_write_iter+0x15b/0x460 fs/ext4/file.c:285
ext4_file_write_iter+0x8bf/0x1710 fs/ext4/file.c:700
__kernel_write_iter+0x262/0x730 fs/read_write.c:517
dump_emit_page fs/coredump.c:864 [inline]
dump_user_range+0x234/0x700 fs/coredump.c:915
elf_core_dump+0x2718/0x3590 fs/binfmt_elf.c:2137
do_coredump+0x2764/0x3c50 fs/coredump.c:762
get_signal+0x1c03/0x2450 kernel/signal.c:2845
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:564
RIP: 0033:0x7fdb7768c0d1
RSP: 002b:00000000200001f0 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007fdb777abf80 RCX: 00007fdb7768c0c9
RDX: 0000000020000200 RSI: 00000000200001f0 RDI: 0000000040008400
RBP: 00007fdb776e7ae9 R08: 0000000020000280 R09: 0000000020000280
R10: 0000000020000240 R11: 0000000000000206 R12: 0000000000000000
R13: 00007fff8beef57f R14: 00007fdb78367300 R15: 0000000000022000
Showing all locks held in the system:
3 locks held by kworker/u4:0/9:
#0: ffff88801728e938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff88801728e938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff88801728e938 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff88801728e938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff88801728e938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff88801728e938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc900000e7da8 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
#2: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c790fb0 (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: ffffffff8c790cb0 (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: ffffffff8c791b00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494
4 locks held by kworker/u4:4/56:
#0: ffff8880125df938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880125df938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880125df938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff8880125df938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff8880125df938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff8880125df938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc90001587da8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
#2: ffffffff8e0a9ad0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb10 net/core/net_namespace.c:568
#3: ffffffff8c79c7b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#3: ffffffff8c79c7b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x5df/0x780 kernel/rcu/tree_exp.h:946
2 locks held by getty/4747:
#0: ffff88802a0a8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
3 locks held by syz-executor.2/5073:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: do_unlinkat+0x183/0x640 fs/namei.c:4299
#1: ffff888054e4f258 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888054e4f258 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x270/0x640 fs/namei.c:4303
#2: ffff888059322218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#2: ffff888059322218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: vfs_unlink+0xd9/0x930 fs/namei.c:4241
3 locks held by kworker/0:3/5133:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc90004bbfda8 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
#2: ffffffff8c79c7b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#2: ffffffff8c79c7b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x24f/0x780 kernel/rcu/tree_exp.h:946
2 locks held by kworker/0:9/5172:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc90004d27da8 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
2 locks held by kworker/0:11/15961:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc900157cfda8 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
2 locks held by kworker/0:18/17160:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc900045bfda8 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
2 locks held by kworker/0:30/19208:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc90016257da8 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
3 locks held by syz-executor.5/1941:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888055bd4a38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888055bd4a38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
#2: ffff88814b0160e0 (&type->s_umount_key#31){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x21/0xc0 fs/fs-writeback.c:2684
1 lock held by syz-executor.1/2400:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.5/2410:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.5/2416:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.5/2429:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.5/2437:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2497:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2562:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2572:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2579:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2586:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.5/2616:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2627:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2639:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2702:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2711:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.2/2735:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.5/2749:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2767:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2781:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2786:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.4/2850:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/2890:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.3/2930:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.4/2931:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.5/2936:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.4/2989:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.0/2996:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.2/2998:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/3017:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/3023:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.5/3070:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/3134:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.4/3239:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.4/3240:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/3256:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.4/3257:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.4/3263:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.1/3267:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
1 lock held by syz-executor.4/3271:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
3 locks held by kworker/1:60/3436:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc90003c6fda8 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
#2: ffffffff8c79c680 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6d0 kernel/rcu/tree.c:3997
2 locks held by syz-executor.2/3458:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff8880493d4030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880493d4030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.3/3461:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888072d07258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888072d07258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.0/3462:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888072d04030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888072d04030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.5/3463:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
#1: ffff88814b01a990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xfb4/0x14a0 fs/jbd2/transaction.c:461
2 locks held by syz-executor.4/3471:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff8880493d2218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880493d2218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.4/3486:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888043edac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888043edac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.1/3488:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff8880493d7258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880493d7258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.2/3507:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff8880522dca38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880522dca38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
1 lock held by syz-executor.3/3508:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
2 locks held by syz-executor.5/3510:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff8880522dac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880522dac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.4/3514:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff8880522d8e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880522d8e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.0/3518:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff8880411dde48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880411dde48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.1/3528:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff8880522db628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880522db628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.2/3530:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff8880522dd440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880522dd440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
1 lock held by syz-executor.1/3569:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
2 locks held by syz-executor.1/3576:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff88803a4e8e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88803a4e8e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
3 locks held by syz-executor.3/3616:
#0: ffff88814b018b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1af/0x690 mm/page-writeback.c:2581
#1: ffff88814b01a990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xfb4/0x14a0 fs/jbd2/transaction.c:461
#2: ffff8880490b70e0 (&ei->i_data_sem){++++}-{3:3}, at: ext4_map_blocks+0x707/0x18d0 fs/ext4/inode.c:644
2 locks held by syz-executor.2/3622:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff88805933ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88805933ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.2/3626:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff88804107f258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88804107f258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.2/3632:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888059355e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888059355e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.3/3634:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888056cbca38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888056cbca38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
4 locks held by syz-executor.2/3637:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888059355440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888059355440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
#2: ffff88814b01a990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xfb4/0x14a0 fs/jbd2/transaction.c:461
#3: ffff8880593552c8 (&ei->i_data_sem){++++}-{3:3}, at: ext4_map_blocks+0x707/0x18d0 fs/ext4/inode.c:644
2 locks held by syz-executor.3/3647:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff88803a4e1810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88803a4e1810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.1/3656:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888043ed8e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888043ed8e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.1/3888:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888043d58400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888043d58400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.1/3893:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888056cbde48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888056cbde48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.5/3901:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff88803a6bb628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88803a6bb628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.0/3903:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff88803a6bc030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88803a6bc030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.5/3906:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff88803a4a3628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88803a4a3628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.4/3919:
#0: ffffffff8e0a9ad0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f8/0x6b0 net/core/net_namespace.c:479
#1: ffffffff8c79c680 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6d0 kernel/rcu/tree.c:3997
2 locks held by syz-executor.3/3924:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888054e4de48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888054e4de48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.2/3926:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888054e48e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888054e48e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.4/3927:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888054e4c030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888054e4c030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.2/3930:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888054e4ca38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888054e4ca38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
2 locks held by syz-executor.2/3953:
#0: ffff88814b016460 (sb_writers#4){.+.+}-{0:0}, at: get_signal+0x1c03/0x2450 kernel/signal.c:2845
#1: ffff888059322218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888059322218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:279
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.2.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
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:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 11 Comm: kworker/u4:1 Not tainted 6.2.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:iterate_chain_key kernel/locking/lockdep.c:449 [inline]
RIP: 0010:__lock_acquire+0xc70/0x56d0 kernel/locking/lockdep.c:5043
Code: c8 c1 c6 10 31 f0 8d 34 11 89 c1 29 c2 c1 c9 0d 01 f0 89 f7 31 ca 01 d0 29 d7 89 d1 48 8b 54 24 38 c1 c1 04 31 f9 48 c1 e1 20 <48> 09 c1 48 c1 ea 03 48 b8 00 00 00 00 00 fc ff df 0f b6 04 02 48
RSP: 0018:ffffc90000107a28 EFLAGS: 00000016
RAX: 00000000f1de07de RBX: 0000000058b987cf RCX: 5e070e1a00000000
RDX: ffff88813fe34528 RSI: 0000000066df830c RDI: 0000000000f0111c
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff91338ac7
R10: fffffbfff2267158 R11: 0000000000000000 R12: ffff88813fe34508
R13: ffff88813fe33a80 R14: ffff88813fe344b8 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560939503930 CR3: 000000000c48e000 CR4: 0000000000350ee0
Call Trace:
lock_acquire kernel/locking/lockdep.c:5668 [inline]
lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633
rcu_lock_acquire include/linux/rcupdate.h:325 [inline]
rcu_read_lock include/linux/rcupdate.h:764 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0x131/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:308