F2FS-fs (loop3): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop3): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop3): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop3): Inconsistent segment (6) type [1, 0] in SSA and SIT INFO: task kworker/u4:6:8860 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:6 D26848 8860 2 0x80000000 Workqueue: writeback wb_workfn (flush-7:3) Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1016 [inline] __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078 f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 f2fs_write_inode+0x500/0x600 fs/f2fs/inode.c:630 write_inode fs/fs-writeback.c:1244 [inline] __writeback_single_inode+0x733/0x11d0 fs/fs-writeback.c:1442 writeback_sb_inodes+0x537/0xef0 fs/fs-writeback.c:1647 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1716 wb_writeback+0x841/0xcc0 fs/fs-writeback.c:1822 wb_check_old_data_flush fs/fs-writeback.c:1924 [inline] wb_do_writeback fs/fs-writeback.c:1977 [inline] wb_workfn+0x8ba/0x1250 fs/fs-writeback.c:2006 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 00000000c7695266 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7801: #0: 00000000d1a58502 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by kworker/u4:6/8860: #0: 0000000088dd1207 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000007cc0a0e2 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000a7928ca9 (&type->s_umount_key#56){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 00000000ba2ce6b4 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 3 locks held by syz-executor.3/12682: 2 locks held by syz-executor.3/21943: #0: 00000000a7928ca9 (&type->s_umount_key#56){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 0000000071eb5738 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 0000000071eb5738 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/21958: #0: 00000000a7928ca9 (&type->s_umount_key#56){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 0000000071eb5738 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 0000000071eb5738 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/21966: #0: 00000000a7928ca9 (&type->s_umount_key#56){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 0000000071eb5738 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 0000000071eb5738 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/22072: #0: 00000000a7928ca9 (&type->s_umount_key#56){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 0000000071eb5738 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 0000000071eb5738 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/22085: #0: 00000000a7928ca9 (&type->s_umount_key#56){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 0000000071eb5738 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 0000000071eb5738 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: kworker/u4:1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:hlock_class kernel/locking/lockdep.c:152 [inline] RIP: 0010:mark_lock+0x66/0x1160 kernel/locking/lockdep.c:3106 Code: c0 74 08 3c 01 0f 8e f1 07 00 00 0f b7 45 20 66 a9 ff 1f 74 7c 48 ba 00 00 00 00 00 fc ff df 4c 89 f1 48 c1 e9 03 0f b6 14 11 <84> d2 74 09 80 fa 03 0f 8e d2 07 00 00 25 ff 1f 00 00 48 69 d8 50 RSP: 0018:ffff8880b5047b78 EFLAGS: 00000802 RAX: 0000000000000616 RBX: 0000000000000001 RCX: 1ffff11016a079da RDX: 0000000000000000 RSI: ffff8880b503ceb0 RDI: ffff8880b503c600 RBP: ffff8880b503ceb0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004 R13: ffff8880b503c600 R14: ffff8880b503ced0 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff02fee1018 CR3: 00000000a0e69000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_held_locks+0xa6/0xf0 kernel/locking/lockdep.c:2810 __trace_hardirqs_on_caller kernel/locking/lockdep.c:2831 [inline] lockdep_hardirqs_on+0x288/0x5c0 kernel/locking/lockdep.c:2884 __local_bh_enable_ip+0x159/0x270 kernel/softirq.c:194 spin_unlock_bh include/linux/spinlock.h:374 [inline] batadv_nc_purge_paths+0x22d/0x310 net/batman-adv/network-coding.c:482 batadv_nc_worker+0x6fa/0xd50 net/batman-adv/network-coding.c:731 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415