INFO: task syz-executor.0:22907 blocked for more than 143 seconds. Not tainted 5.15.98-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:22712 pid:22907 ppid: 22743 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5023 [inline] __schedule+0x132d/0x45e0 kernel/sched/core.c:6369 schedule+0x11b/0x1f0 kernel/sched/core.c:6452 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191 __writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2659 try_to_writeback_inodes_sb+0x94/0xb0 fs/fs-writeback.c:2707 ext4_nonda_switch fs/ext4/inode.c:2943 [inline] ext4_da_write_begin+0x228/0xc40 fs/ext4/inode.c:2970 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3776 ext4_buffered_write_iter+0x22e/0x380 fs/ext4/file.c:269 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+0x3af0/0x4310 fs/binfmt_elf.c:2285 do_coredump+0x1856/0x31b0 fs/coredump.c:826 get_signal+0xc06/0x14e0 kernel/signal.c:2875 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:207 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:313 exc_page_fault+0x33d/0x7f0 arch/x86/mm/fault.c:1544 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0xe1bb RSP: 002b:0000000020000468 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007feaf2ec5f80 RCX: 00007feaf2da60f9 RDX: 0000000020000480 RSI: 0000000020000460 RDI: 0000000022a08400 RBP: 00007feaf2e01ae9 R08: 0000000020000500 R09: 0000000020000500 R10: 00000000200004c0 R11: 0000000000000206 R12: 0000000000000000 R13: 00007ffef2206dbf R14: 00007feaf1318300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91c660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3267: #0: ffff88814abc0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147 5 locks held by kworker/u4:6/13314: #0: ffff888011db5138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x1230 kernel/workqueue.c:2279 #1: ffffc90004e2fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7cd/0x1230 kernel/workqueue.c:2281 #2: ffffffff8d9cc8d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558 #3: ffffffff8d9d8628 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0xc9/0x330 net/ipv4/ip_tunnel.c:1118 #4: ffffffff8c920ba8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #4: ffffffff8c920ba8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x277/0x730 kernel/rcu/tree_exp.h:838 5 locks held by kworker/u4:9/13534: #0: ffff888142dcc138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x1230 kernel/workqueue.c:2279 #1: ffffc900062bfd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7cd/0x1230 kernel/workqueue.c:2281 #2: ffff88814b2100e0 (&type->s_umount_key#32){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418 #3: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 #4: ffff8880b9b39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 2 locks held by kworker/0:1/22724: #0: ffff888011c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x1230 kernel/workqueue.c:2279 #1: ffffc90002e1fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7cd/0x1230 kernel/workqueue.c:2281 3 locks held by syz-executor.5/22851: 2 locks held by syz-executor.0/22907: 1 lock held by syz-executor.2/22912: 1 lock held by syz-executor.5/23099: 1 lock held by syz-executor.0/23267: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 1 lock held by syz-executor.5/23283: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 1 lock held by syz-executor.5/23304: 1 lock held by syz-executor.1/23307: 1 lock held by syz-executor.2/23314: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 1 lock held by syz-executor.0/23315: 1 lock held by syz-executor.4/23318: 1 lock held by syz-executor.1/23323: 3 locks held by syz-executor.2/23326: 1 lock held by syz-executor.0/23338: 1 lock held by syz-executor.4/23342: 1 lock held by syz-executor.1/23343: 1 lock held by syz-executor.5/23345: 2 locks held by syz-executor.2/23346: 1 lock held by syz-executor.4/23352: 2 locks held by syz-executor.0/23353: 3 locks held by syz-executor.3/23718: 3 locks held by syz-executor.1/23737: 1 lock held by syz-executor.4/23739: 1 lock held by syz-executor.3/23741: 1 lock held by syz-executor.2/23745: 2 locks held by syz-executor.0/23747: 1 lock held by syz-executor.3/23764: 1 lock held by syz-executor.1/23772: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 1 lock held by syz-executor.4/23773: 1 lock held by syz-executor.0/23775: 3 locks held by syz-executor.3/23782: 1 lock held by syz-executor.1/23793: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 1 lock held by syz-executor.0/23798: 1 lock held by syz-executor.4/23804: 2 locks held by syz-executor.3/23808: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 #1: ffff8880b9b39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 2 locks held by syz-executor.0/23828: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 #1: ffff88814b2143f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x213/0x760 fs/jbd2/checkpoint.c:110 2 locks held by syz-executor.1/23829: 2 locks held by syz-executor.5/23844: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 #1: ffff88814b2143f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: __jbd2_log_wait_for_space+0x213/0x760 fs/jbd2/checkpoint.c:110 2 locks held by syz-executor.3/23847: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 #1: ffffffff8c9ee040 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: __fs_reclaim_acquire mm/page_alloc.c:4547 [inline] #1: ffffffff8c9ee040 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: fs_reclaim_acquire+0x87/0x120 mm/page_alloc.c:4561 2 locks held by syz-executor.4/23848: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 #1: ffff88814b214990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x12d5/0x1590 fs/jbd2/transaction.c:466 1 lock held by syz-executor.2/23850: 1 lock held by syz-executor.1/23856: 1 lock held by syz-executor.5/23866: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 1 lock held by syz-executor.2/23883: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 2 locks held by syz-executor.3/23885: 3 locks held by syz-executor.0/23888: 1 lock held by syz-executor.4/23890: 2 locks held by syz-executor.1/23893: 1 lock held by syz-executor.5/23897: 1 lock held by syz-executor.2/23905: 1 lock held by syz-executor.3/23909: 1 lock held by syz-executor.4/23916: 1 lock held by syz-executor.0/23917: 1 lock held by syz-executor.5/23924: 1 lock held by syz-executor.2/23940: 1 lock held by syz-executor.3/23943: 1 lock held by syz-executor.5/23959: 1 lock held by syz-executor.2/23978: 1 lock held by syz-executor.5/23991: 1 lock held by syz-executor.0/24000: 1 lock held by syz-executor.4/24023: 1 lock held by syz-executor.5/24026: 1 lock held by syz-executor.2/24028: 1 lock held by syz-executor.0/24035: 1 lock held by syz-executor.1/24047: 2 locks held by syz-executor.3/24052: 1 lock held by syz-executor.5/24063: 1 lock held by syz-executor.4/24064: 1 lock held by syz-executor.2/24066: 1 lock held by syz-executor.0/24074: 1 lock held by syz-executor.3/24093: 1 lock held by syz-executor.1/24096: 1 lock held by syz-executor.2/24098: 1 lock held by syz-executor.4/24116: 1 lock held by syz-executor.0/24117: 1 lock held by syz-executor.1/24121: 1 lock held by syz-executor.2/24130: 1 lock held by syz-executor.4/24150: 1 lock held by syz-executor.1/24154: 1 lock held by syz-executor.0/24158: #0: ffff88814b212bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3eb0 fs/ext4/inode.c:2687 1 lock held by syz-executor.0/24486: 1 lock held by syz-executor.1/24489: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.98-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb 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+0xec6/0xf10 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 :298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 481 Comm: kworker/u4:3 Not tainted 5.15.98-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: bat_events batadv_tt_purge RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:214 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:197 [inline] RIP: 0010:mark_lock+0x98/0x340 kernel/locking/lockdep.c:4568 Code: b6 04 28 84 c0 0f 85 27 02 00 00 8b 1b 81 e3 ff 1f 00 00 89 d8 c1 e8 06 48 8d 3c c5 a0 40 ac 8f be 08 00 00 00 e8 f8 70 66 00 <48> 0f a3 1d 00 28 49 0e 73 11 48 8d 04 5b 48 c1 e0 06 48 8d 98 a0 RSP: 0018:ffffc90002c2f958 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 0000000000000796 RCX: ffffffff81631898 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fac4190 RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff1f58833 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880198de168 R13: dffffc0000000000 R14: 0000000000000004 R15: ffff8880198de148 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d1779511b0 CR3: 0000000062433000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_held_locks kernel/locking/lockdep.c:4192 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:4210 [inline] lockdep_hardirqs_on_prepare+0x27d/0x7a0 kernel/locking/lockdep.c:4277 trace_hardirqs_on+0x67/0x80 kernel/trace/trace_preemptirq.c:49 __local_bh_enable_ip+0x164/0x1f0 kernel/softirq.c:388 spin_unlock_bh include/linux/spinlock.h:408 [inline] batadv_tt_local_purge+0x2a0/0x340 net/batman-adv/translation-table.c:1357 batadv_tt_purge+0x31/0xa40 net/batman-adv/translation-table.c:3561 process_one_work+0x8e6/0x1230 kernel/workqueue.c:2306 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 :298