INFO: task syz-executor.1:5388 blocked for more than 143 seconds.
Not tainted 5.15.167-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:21880 pid: 5388 ppid: 3817 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191
__writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2684
try_to_writeback_inodes_sb+0x94/0xb0 fs/fs-writeback.c:2732
ext4_nonda_switch fs/ext4/inode.c:2944 [inline]
ext4_da_write_begin+0x228/0xb60 fs/ext4/inode.c:2971
generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3785
ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268
ext4_file_write_iter+0x87c/0x1990
__kernel_write+0x5b1/0xa60 fs/read_write.c:539
__dump_emit+0x264/0x3a0 fs/coredump.c:875
dump_user_range+0x91/0x320 fs/coredump.c:949
elf_core_dump+0x3c7d/0x4570 fs/binfmt_elf.c:2285
do_coredump+0x1852/0x31e0 fs/coredump.c:826
get_signal+0xc06/0x14e0 kernel/signal.c:2883
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320
exc_page_fault+0x342/0x700 arch/x86/mm/fault.c:1504
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0033:0x0
RSP: 002b:0000000020000588 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f66ff90e050 RCX: 00007f66ff7dfda9
RDX: 00000000200005c0 RSI: 0000000020000580 RDI: 0000000024080000
RBP: 00007f66ff82c47a R08: 0000000020000640 R09: 0000000020000640
R10: 0000000020000600 R11: 0000000000000206 R12: 0000000000000000
R13: 000000000000006e R14: 00007f66ff90e050 R15: 00007ffe10107308
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3268:
#0: ffff888025295098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc9000248e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
4 locks held by kworker/u4:5/3926:
#0: ffff8880141a1138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90002dc7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
#3: ffff8880b9b3a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
3 locks held by syz-executor.1/5388:
#0: ffff888023bde460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825
#1: ffff8880672cabd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline]
#1: ffff8880672cabd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262
#2: ffff888023bde0e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2729
1 lock held by syz-executor.0/5395:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.0/5401:
1 lock held by syz-executor.4/5404:
1 lock held by syz-executor.4/5429:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.0/5430:
1 lock held by syz-executor.0/5455:
1 lock held by syz-executor.0/5459:
4 locks held by syz-executor.2/6834:
1 lock held by syz-executor.0/7225:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.0/7234:
1 lock held by syz-executor.1/7255:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.2/7273:
1 lock held by syz-executor.2/7275:
1 lock held by syz-executor.0/7280:
2 locks held by syz-executor.4/7282:
1 lock held by syz-executor.1/7292:
1 lock held by syz-executor.2/7299:
1 lock held by syz-executor.0/7301:
1 lock held by syz-executor.2/7304:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.4/7309:
1 lock held by syz-executor.3/7315:
1 lock held by syz-executor.2/7327:
1 lock held by syz-executor.4/7332:
1 lock held by syz-executor.0/7336:
1 lock held by syz-executor.3/7341:
1 lock held by syz-executor.1/7347:
1 lock held by syz-executor.2/7356:
1 lock held by syz-executor.2/7360:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.0/7362:
1 lock held by syz-executor.4/7368:
1 lock held by syz-executor.3/7371:
1 lock held by syz-executor.1/7376:
1 lock held by syz-executor.2/7385:
1 lock held by syz-executor.0/7388:
1 lock held by syz-executor.0/7393:
1 lock held by syz-executor.4/7394:
1 lock held by syz-executor.3/7395:
1 lock held by syz-executor.4/7399:
1 lock held by syz-executor.1/7403:
1 lock held by syz-executor.2/7420:
1 lock held by syz-executor.2/7426:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.4/7430:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.3/7431:
1 lock held by syz-executor.3/7468:
1 lock held by syz-executor.4/7471:
1 lock held by syz-executor.2/7503:
1 lock held by syz-executor.4/7505:
1 lock held by syz-executor.2/7509:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.4/7518:
1 lock held by syz-executor.1/7535:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.4/7552:
1 lock held by syz-executor.3/7563:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.0/7577:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
3 locks held by syz-executor.2/7836:
1 lock held by syz-executor.0/7918:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.1/7920:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
2 locks held by syz-executor.4/7957:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
#1: ffff888023b623f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x213/0x760 fs/jbd2/checkpoint.c:71
2 locks held by syz-executor.4/7963:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
#1: ffff888023b623f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x213/0x760 fs/jbd2/checkpoint.c:71
3 locks held by syz-executor.3/7970:
2 locks held by syz-executor.0/7972:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
#1: ffff888023b623f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x213/0x760 fs/jbd2/checkpoint.c:71
1 lock held by syz-executor.2/7975:
2 locks held by syz-executor.4/8123:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
#1: ffff888023b623f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x213/0x760 fs/jbd2/checkpoint.c:71
2 locks held by syz-executor.3/8134:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
#1: ffff888023b623f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x213/0x760 fs/jbd2/checkpoint.c:71
2 locks held by syz-executor.3/8136:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
#1: ffff888023b623f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x213/0x760 fs/jbd2/checkpoint.c:71
2 locks held by syz-executor.1/8140:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
#1: ffff888023b623f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x213/0x760 fs/jbd2/checkpoint.c:71
2 locks held by syz-executor.2/8167:
1 lock held by syz-executor.4/8174:
1 lock held by syz-executor.4/8337:
1 lock held by syz-executor.2/8458:
1 lock held by syz-executor.1/8528:
1 lock held by syz-executor.1/8573:
2 locks held by syz-executor.3/8609:
1 lock held by syz-executor.3/8629:
1 lock held by syz-executor.4/8778:
1 lock held by syz-executor.3/9162:
2 locks held by syz-executor.3/9172:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
#1: ffff8880b9a3a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
1 lock held by syz-executor.1/9317:
1 lock held by syz-executor.2/9332:
1 lock held by syz-executor.4/9338:
1 lock held by syz-executor.3/9443:
1 lock held by syz-executor.4/9444:
3 locks held by syz-executor.4/9455:
1 lock held by syz-executor.1/9457:
1 lock held by syz-executor.2/9461:
1 lock held by syz-executor.2/9462:
1 lock held by syz-executor.0/9463:
1 lock held by syz-executor.3/9475:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
1 lock held by syz-executor.4/9479:
1 lock held by syz-executor.1/9480:
1 lock held by syz-executor.2/9486:
1 lock held by syz-executor.3/9693:
1 lock held by syz-executor.3/9694:
1 lock held by syz-executor.1/9704:
2 locks held by syz-executor.1/9708:
1 lock held by syz-executor.0/9711:
1 lock held by syz-executor.3/9715:
3 locks held by syz-executor.4/9725:
1 lock held by syz-executor.1/9774:
1 lock held by syz-executor.0/9789:
#0: ffff888023b60bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688
3 locks held by syz-executor.3/9790:
1 lock held by syz-executor.0/9810:
1 lock held by syz-executor.0/9992:
4 locks held by syz-executor.1/10007:
3 locks held by syz-executor.1/10012:
2 locks held by syz-executor.2/10436:
2 locks held by syz-executor.1/10448:
2 locks held by syz-executor.1/10450:
4 locks held by syz-executor.3/10451:
2 locks held by syz-executor.2/10458:
4 locks held by syz-executor.1/10659:
4 locks held by syz-executor.2/10707:
2 locks held by syz-executor.1/10781:
3 locks held by syz-executor.2/10891:
4 locks held by syz-executor.2/10893:
5 locks held by syz-executor.4/10904:
4 locks held by syz-executor.0/10944:
2 locks held by syz-executor.1/11125:
2 locks held by syz-executor.2/11131:
4 locks held by syz-executor.3/11233:
4 locks held by syz-executor.0/11309:
2 locks held by syz-executor.0/11310:
4 locks held by syz-executor.0/11451:
2 locks held by syz-executor.2/11714:
2 locks held by syz-executor.3/11738:
2 locks held by syz-executor.4/11784:
4 locks held by syz-executor.0/11856:
3 locks held by syz-executor.3/11877:
4 locks held by syz-executor.2/11929:
2 locks held by syz-executor.3/12027:
4 locks held by syz-executor.4/12048:
2 locks held by syz-executor.2/12051:
2 locks held by syz-executor.0/12092:
#0: ffff888023bde460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825
#1: ffff888071dbdda8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline]
#1: ffff888071dbdda8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262
2 locks held by syz-executor.3/12159:
4 locks held by syz-executor.3/12160:
3 locks held by syz-executor.4/12165:
1 lock held by syz-executor.3/12168:
2 locks held by syz-executor.1/12185:
1 lock held by syz-executor.4/12197:
#0: ffff88807d9e9d28 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock+0x1c/0x50 include/linux/mmap_lock.h:117
1 lock held by syz-executor.4/12262:
2 locks held by syz-executor.4/12208:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xe72/0xeb0 kernel/hung_task.c:295
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4042 Comm: kworker/u4:6 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:debug_lockdep_rcu_enabled+0x25/0x30 kernel/rcu/update.c:281
Code: cc cc cc cc cc 31 c0 83 3d 6b 69 c4 03 00 74 1d 83 3d e2 9b c4 03 00 74 14 65 48 8b 0d 94 4c e2 75 31 c0 83 b9 ec 0a 00 00 00 <0f> 94 c0 c3 cc cc cc cc cc cc cc 41 56 53 89 fb e8 d6 0d 00 00 41
RSP: 0018:ffffc900025f7bf0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88807c320000
RDX: 0000000000000000 RSI: ffffffff8ad90420 RDI: ffffffff8ad903e0
RBP: 0000000000000001 R08: ffffffff89fd1b71 R09: fffffbfff1f7fa19
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000003ca
R13: dffffc0000000000 R14: ffff888078910c80 R15: ffff888015bb4400
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe9c63f8000 CR3: 0000000065750000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_read_unlock include/linux/rcupdate.h:768 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:416 [inline]
batadv_nc_worker+0x1ba/0x5b0 net/batman-adv/network-coding.c:723
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287