INFO: task syz-executor.2:1798 blocked for more than 143 seconds.
Not tainted 6.1.46-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:21176 pid:1798 ppid:1269 flags:0x00004006
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5241 [inline]
__schedule+0x132c/0x4330 kernel/sched/core.c:6554
schedule+0xbf/0x180 kernel/sched/core.c:6630
wb_wait_for_completion+0x162/0x290 fs/fs-writeback.c:191
__writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2631
try_to_writeback_inodes_sb+0x94/0xb0 fs/fs-writeback.c:2679
ext4_nonda_switch fs/ext4/inode.c:2947 [inline]
ext4_da_write_begin+0x229/0x9c0 fs/ext4/inode.c:2974
generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3754
ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:285
ext4_file_write_iter+0x1d2/0x18f0
__kernel_write_iter+0x2ff/0x710 fs/read_write.c:517
dump_emit_page fs/coredump.c:881 [inline]
dump_user_range+0x43d/0x8e0 fs/coredump.c:908
elf_core_dump+0x3cff/0x45b0 fs/binfmt_elf.c:2312
do_coredump+0x18b7/0x2700 fs/coredump.c:755
get_signal+0x1454/0x17d0 kernel/signal.c:2848
arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:310
exc_general_protection+0x3e0/0x590 arch/x86/kernel/traps.c:731
asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:564
RIP: 0033:0x7f0be067caf1
RSP: 002b:0000000020000140 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f0be079bf80 RCX: 00007f0be067cae9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000480
RBP: 00007f0be06c847a R08: 0000000020000200 R09: 0000000020000200
R10: 00000000200001c0 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f0be079bf80 R15: 00007fff06bb1e28
</TASK>
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d12a0b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d12a8b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516
1 lock held by khungtaskd/28:
#0: ffffffff8d129ee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3270:
#0: ffff88814b2aa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188
2 locks held by kworker/0:9/3623:
4 locks held by kworker/u4:8/9748:
#0: ffff88814bc13938 ((wq_completion)ext4-rsv-conversion){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0
#1: ffffc9000391fd20 ((work_completion)(&ei->i_rsv_conversion_work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2267
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
#3: ffff888082d7d2c8 (&ei->i_data_sem){++++}-{3:3}, at: ext4_map_blocks+0x963/0x1ca0 fs/ext4/inode.c:644
5 locks held by kworker/u4:5/15656:
#0: ffff8880152a6138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0
#1: ffffc9000362fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2267
#2: ffff88807ecd2b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1e5/0x3de0 fs/ext4/inode.c:2691
#3: ffff8880b9939e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537
#4: ffff8880b9827788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x43d/0x770 kernel/sched/psi.c:1000
3 locks held by syz-executor.5/29900:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
#1: ffff88804b965440 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff88804b965440 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x260/0x940 fs/namei.c:4303
#2: ffff888082dfd440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#2: ffff888082dfd440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: vfs_unlink+0xe0/0x5f0 fs/namei.c:4241
3 locks held by syz-executor.0/31166:
3 locks held by syz-executor.4/324:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
#1: ffff888086ba08d8 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline]
#1: ffff888086ba08d8 (&mm->mmap_lock){++++}-{3:3}, at: dup_mmap kernel/fork.c:593 [inline]
#1: ffff888086ba08d8 (&mm->mmap_lock){++++}-{3:3}, at: dup_mm kernel/fork.c:1532 [inline]
#1: ffff888086ba08d8 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm+0x3e5/0x1990 kernel/fork.c:1581
#2: ffff88801246c4d8 (&mm->mmap_lock/1){+.+.}-{3:3}, at: mmap_write_lock_nested include/linux/mmap_lock.h:78 [inline]
#2: ffff88801246c4d8 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mmap kernel/fork.c:602 [inline]
#2: ffff88801246c4d8 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mm kernel/fork.c:1532 [inline]
#2: ffff88801246c4d8 (&mm->mmap_lock/1){+.+.}-{3:3}, at: copy_mm+0x4ca/0x1990 kernel/fork.c:1581
3 locks held by syz-executor.2/1798:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082c19810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082c19810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd00e0 (&type->s_umount_key#31){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2676
1 lock held by syz-executor.4/1841:
#0: ffff88807ecd2b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1e5/0x3de0 fs/ext4/inode.c:2691
1 lock held by syz-executor.5/1976:
#0: ffff88807ecd2b98 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1e5/0x3de0 fs/ext4/inode.c:2691
3 locks held by syz-executor.5/2174:
1 lock held by syz-executor.0/2185:
1 lock held by syz-executor.1/2440:
2 locks held by syz-executor.5/2471:
3 locks held by syz-executor.0/2478:
3 locks held by syz-executor.5/2507:
3 locks held by syz-executor.4/2508:
2 locks held by syz-executor.1/2529:
3 locks held by syz-executor.0/2536:
4 locks held by syz-executor.1/2555:
2 locks held by syz-executor.0/2565:
4 locks held by syz-executor.1/2578:
3 locks held by syz-executor.5/2597:
1 lock held by syz-executor.4/2604:
4 locks held by syz-executor.1/2616:
2 locks held by syz-executor.4/2665:
4 locks held by syz-executor.0/2777:
2 locks held by syz-executor.1/2799:
2 locks held by syz-executor.0/2805:
3 locks held by syz-executor.1/2962:
4 locks held by syz-executor.5/2973:
4 locks held by syz-executor.0/2996:
4 locks held by syz-executor.0/3006:
2 locks held by syz-executor.1/3007:
3 locks held by syz-executor.5/3009:
2 locks held by syz-executor.0/3013:
2 locks held by syz-executor.0/3020:
4 locks held by syz-executor.0/3026:
3 locks held by syz-executor.4/3033:
4 locks held by syz-executor.1/3036:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88802ad1e850 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88802ad1e850 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff8880b9939e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537
#3: ffff8880b9927788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x43d/0x770 kernel/sched/psi.c:1000
3 locks held by syz-executor.5/3043:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88808404ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88808404ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
2 locks held by syz-executor.0/3044:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888084048400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888084048400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.4/3045:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88802ad1d440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88802ad1d440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
5 locks held by syz-executor.1/3141:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff8880831f0e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880831f0e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff8880831f0fa8 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline]
#2: ffff8880831f0fa8 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_truncate_failed_write fs/ext4/truncate.h:20 [inline]
#2: ffff8880831f0fa8 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_write_begin+0xa97/0xf80 fs/ext4/inode.c:1252
#3: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
#4: ffff8880831f0c90 (&ei->i_data_sem){++++}-{3:3}, at: ext4_truncate+0x999/0x1290 fs/ext4/inode.c:4260
4 locks held by syz-executor.3/3314:
#0: ffff8880610ad9e8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ba/0x360 fs/file.c:1062
#1: ffff888082dfe850 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: iterate_dir+0x10a/0x560 fs/readdir.c:55
#2: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: file_accessed include/linux/fs.h:2535 [inline]
#2: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: iterate_dir+0x484/0x560 fs/readdir.c:70
#3: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
3 locks held by syz-executor.3/3466:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88808404d440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88808404d440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
3 locks held by syz-executor.3/3475:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88803a500400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88803a500400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
5 locks held by syz-executor.3/3488:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082dfac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082dfac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff888082dfadc0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline]
#2: ffff888082dfadc0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_truncate_failed_write fs/ext4/truncate.h:20 [inline]
#2: ffff888082dfadc0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_write_begin+0xa97/0xf80 fs/ext4/inode.c:1252
#3: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
#4: ffff888082dfaaa8 (&ei->i_data_sem){++++}-{3:3}, at: ext4_truncate+0x999/0x1290 fs/ext4/inode.c:4260
3 locks held by syz-executor.4/3490:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff8880824b8400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880824b8400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
3 locks held by syz-executor.5/3493:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082dff258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082dff258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
5 locks held by syz-executor.1/3496:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff8880824ba218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880824ba218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff8880824ba3b8 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline]
#2: ffff8880824ba3b8 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_truncate_failed_write fs/ext4/truncate.h:20 [inline]
#2: ffff8880824ba3b8 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_write_begin+0xa97/0xf80 fs/ext4/inode.c:1252
#3: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
#4: ffff8880824ba0a0 (&ei->i_data_sem){++++}-{3:3}, at: ext4_truncate+0x999/0x1290 fs/ext4/inode.c:4260
3 locks held by syz-executor.0/3513:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88804e9f5440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88804e9f5440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
3 locks held by syz-executor.4/3524:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88804bb96850 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88804bb96850 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
2 locks held by syz-executor.3/3528:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88804bb95440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88804bb95440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.5/3534:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88804bb92c20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88804bb92c20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.2/3535:
#0: ffff888087910d68 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ba/0x360 fs/file.c:1062
#1: ffff88804bb95e48 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: iterate_dir+0x10a/0x560 fs/readdir.c:55
5 locks held by syz-executor.3/3545:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88808402ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88808402ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88808402adc0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline]
#2: ffff88808402adc0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_truncate_failed_write fs/ext4/truncate.h:20 [inline]
#2: ffff88808402adc0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_write_begin+0xa97/0xf80 fs/ext4/inode.c:1252
#3: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
#4: ffff88808402aaa8 (&ei->i_data_sem){++++}-{3:3}, at: ext4_truncate+0x999/0x1290 fs/ext4/inode.c:4260
3 locks held by syz-executor.1/3553:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88808402f258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88808402f258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
5 locks held by syz-executor.2/3648:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88802ad1de48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88802ad1de48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88802ad1dfe8 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline]
#2: ffff88802ad1dfe8 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_truncate_failed_write fs/ext4/truncate.h:20 [inline]
#2: ffff88802ad1dfe8 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_write_begin+0xa97/0xf80 fs/ext4/inode.c:1252
#3: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
#4: ffff88802ad1dcd0 (&ei->i_data_sem){++++}-{3:3}, at: ext4_truncate+0x999/0x1290 fs/ext4/inode.c:4260
3 locks held by syz-executor.4/3656:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082330e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082330e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
3 locks held by syz-executor.5/3661:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888033177258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888033177258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
3 locks held by syz-executor.1/3663:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff8880479fac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880479fac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
2 locks held by syz-executor.3/3665:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082337258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082337258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
3 locks held by syz-executor.0/3668:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082335440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082335440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
3 locks held by syz-executor.2/3674:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff8880479ff258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880479ff258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
#2: ffff88807ecd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x13c8/0x1640 fs/jbd2/transaction.c:461
2 locks held by syz-executor.3/3682:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88802f951810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88802f951810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.1/3687:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88802f954a38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88802f954a38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.5/3688:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888044435e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888044435e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.4/3690:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888044430400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888044430400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.2/3698:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888081cec030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888081cec030 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.0/3702:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082960e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082960e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.1/3705:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082965440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082965440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.3/3708:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082c9ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082c9ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.4/3711:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082c9b628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082c9b628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.5/3720:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082961810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082961810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.0/3725:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082962c20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082962c20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.1/3731:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff8880828d8e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880828d8e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.3/3736:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88804b965e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88804b965e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.2/3741:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88804b964a38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88804b964a38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.4/3744:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082014a38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082014a38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.0/3755:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082015e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082015e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.1/3756:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888042d87258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888042d87258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.3/3797:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff8880824bf258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880824bf258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.2/3799:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff8880824b8e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880824b8e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.5/3800:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888082dfd440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888082dfd440 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.2/3864:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88804bb91810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88804bb91810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
2 locks held by syz-executor.3/3867:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff888044511810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888044511810 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
4 locks held by syz-executor.2/3879:
4 locks held by syz-executor.4/3881:
2 locks held by syz-executor.0/3882:
#0: ffff88807ecd0460 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1892/0x2700 fs/coredump.c:754
#1: ffff88808404de48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88808404de48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
5 locks held by syz-executor.5/3890:
2 locks held by syz-executor.1/3893:
2 locks held by syz-executor.4/3895:
2 locks held by syz-executor.4/3904:
2 locks held by syz-executor.1/3907:
2 locks held by syz-executor.2/3908:
2 locks held by syz-executor.5/3912:
2 locks held by syz-executor.1/3918:
5 locks held by syz-executor.2/3921:
3 locks held by syz-executor.4/3924:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.46-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 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+0xf18/0xf60 kernel/hung_task.c:377
kthread+0x26e/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4301 Comm: kworker/u4:7 Not tainted 6.1.46-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__sanitizer_cov_trace_pc+0x58/0x60 kernel/kcov.c:225
Code: f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 <c3> 0f 1f 80 00 00 00 00 4c 8b 04 24 65 48 8b 15 d4 70 78 7e 65 8b
RSP: 0018:ffffc900145c7be8 EFLAGS: 00000293
RAX: ffffffff8a56de3a RBX: ffff88807b585558 RCX: ffff888015385940
RDX: 0000000000000000 RSI: ffffffff8aebf3a0 RDI: ffffffff8b3ceae0
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1ce6fce
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000002ab
R13: dffffc0000000000 R14: ffff888078364c80 R15: ffff88805671a880
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f17ee378038 CR3: 000000000ce8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<NMI>
</NMI>
<TASK>
rcu_lock_acquire+0xa/0x30 include/linux/rcupdate.h:306
rcu_read_lock include/linux/rcupdate.h:747 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:719
process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292
worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439
kthread+0x26e/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
</TASK>