INFO: task kworker/1:3:5097 blocked for more than 143 seconds. Not tainted 6.8.0-rc2-syzkaller-00043-g2a6526c4f389 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:3 state:D stack:21432 pid:5097 tgid:5097 ppid:2 flags:0x00004000 Workqueue: xfs-sync/loop1 xfs_flush_inodes_worker Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 wb_wait_for_completion+0x166/0x290 fs/fs-writeback.c:192 sync_inodes_sb+0x293/0xb20 fs/fs-writeback.c:2758 xfs_flush_inodes_worker+0x61/0x80 fs/xfs/xfs_super.c:616 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 INFO: task syz-executor.1:27226 blocked for more than 144 seconds. Not tainted 6.8.0-rc2-syzkaller-00043-g2a6526c4f389 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:22032 pid:27226 tgid:27226 ppid:5089 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_timeout+0xb0/0x300 kernel/time/timer.c:2159 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x354/0x620 kernel/sched/completion.c:148 __flush_work+0x950/0xad0 kernel/workqueue.c:3410 xfs_file_buffered_write+0x35b/0xaa0 fs/xfs/xfs_file.c:808 __kernel_write_iter+0x430/0x8b0 fs/read_write.c:523 dump_emit_page fs/coredump.c:888 [inline] dump_user_range+0x46c/0x910 fs/coredump.c:915 elf_core_dump+0x3c97/0x4540 fs/binfmt_elf.c:2077 do_coredump+0x1ba2/0x2b50 fs/coredump.c:764 get_signal+0x146a/0x1840 kernel/signal.c:2879 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] irqentry_exit_to_user_mode+0x78/0x280 kernel/entry/common.c:225 exc_general_protection+0x40d/0x5c0 arch/x86/kernel/traps.c:643 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:564 RIP: 0033:0x7ff792c7ddb1 RSP: 002b:0000000020000120 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007ff792dabf80 RCX: 00007ff792c7dda9 RDX: 0000000020000000 RSI: 0000000020000120 RDI: 0000000000000200 RBP: 00007ff792cca47a R08: 0000000020000180 R09: 0000000020000180 R10: 0000000020000140 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff792dabf80 R15: 00007ffc2fe13d98 Showing all locks held in the system: 2 locks held by kworker/1:1/27: #0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc90000a2fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90000a2fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 1 lock held by khungtaskd/29: #0: ffffffff8d92f120 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d92f120 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d92f120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 4 locks held by kworker/u4:3/49: #0: ffff88801728dd38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff88801728dd38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc90000b9fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90000b9fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff88807a986610 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x267/0x1320 fs/xfs/libxfs/xfs_bmap.c:4542 #3: ffff888083839098 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x295/0x1320 fs/xfs/libxfs/xfs_bmap.c:4547 3 locks held by kworker/u4:7/1099: 2 locks held by getty/4806: #0: ffff8880293b20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 4 locks held by kworker/1:3/5097: #0: ffff88801ddd6938 ((wq_completion)xfs-sync/loop1){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:2608 [inline] , at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc90004547d20 ((work_completion)(&mp->m_flush_inodes_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90004547d20 ((work_completion)(&mp->m_flush_inodes_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff88807a9860e0 (&type->s_umount_key#82){++++}-{3:3}, at: xfs_flush_inodes_worker+0x45/0x80 fs/xfs/xfs_super.c:615 #3: ffff88801e5507d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #3: ffff88801e5507d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 2 locks held by syz-executor.1/27226: #0: ffff88807a986420 (sb_writers#17){.+.+}-{0:0}, at: do_coredump+0x1b74/0x2b50 fs/coredump.c:763 #1: ffff8880838392b8 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: xfs_ilock+0xf2/0x3b0 fs/xfs/xfs_inode.c:190 2 locks held by syz-executor.3/30025: #0: ffffffff8eb3d4d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7a0 net/core/net_namespace.c:491 #1: ffffffff8eb49a48 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0xce/0x370 net/ipv4/ip_tunnel.c:1139 3 locks held by syz-executor.1/30028: #0: ffffffff8eb3d4d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7a0 net/core/net_namespace.c:491 #1: ffffffff8eb49a48 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0xce/0x370 net/ipv4/ip_tunnel.c:1139 #2: ffffffff8d934ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8d934ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:995 2 locks held by syz-executor.2/30084: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc2-syzkaller-00043-g2a6526c4f389 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2470 Comm: kworker/u4:8 Not tainted 6.8.0-rc2-syzkaller-00043-g2a6526c4f389 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_region_inline mm/kasan/generic.c:171 [inline] RIP: 0010:kasan_check_range+0xe/0x290 mm/kasan/generic.c:189 Code: c8 48 39 d8 0f 84 3b ff ff ff 48 89 df 48 c7 c6 2f 9e 14 8d e8 c3 83 e6 ff 90 0f 0b 66 0f 1f 00 55 41 57 41 56 41 54 53 b0 01 <48> 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 f8 0f 82 52 02 00 00 RSP: 0018:ffffc90009597900 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000021 RCX: ffffffff816da524 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90dfb3e0 RBP: 96e36d52e350fec4 R08: ffffffff90dfb4bf R09: 1ffffffff21bf697 R10: dffffc0000000000 R11: fffffbfff21bf698 R12: ffff888028699dc0 R13: ffff888028699dc0 R14: 0000000000000000 R15: ffff888028699dc0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f80afbff000 CR3: 00000000386e6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] __lock_acquire+0x1264/0x1fd0 kernel/locking/lockdep.c:5134 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242