F2FS-fs (loop5): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop5): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop5): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop5): Inconsistent segment (6) type [1, 0] in SSA and SIT INFO: task syz-executor.5:16175 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. syz-executor.5 D29712 16175 8114 0x00000004 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 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] do_last fs/namei.c:3324 [inline] path_openat+0x1071/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 squashfs: SQUASHFS error: Major/Minor mismatch, trying to mount newer 26539.0 filesystem do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbe7fb4c0d9 squashfs: SQUASHFS error: Please update your kernel Code: Bad RIP value. RSP: 002b:00007fbe79c9d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fbe7fc6c050 RCX: 00007fbe7fb4c0d9 RDX: 0000000000000000 RSI: 0000000000042542 RDI: 0000000020002000 RBP: 00007fbe7fba7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc3511dcef R14: 00007fbe79c9d300 R15: 0000000000022000 INFO: task syz-executor.5:16176 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. syz-executor.5 D29744 16176 8114 0x00000004 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 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write_nested+0x51/0x90 kernel/locking/rwsem.c:194 inode_lock_nested include/linux/fs.h:783 [inline] do_unlinkat+0x27d/0x660 fs/namei.c:4051 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbe7fb4c0d9 Code: Bad RIP value. RSP: 002b:00007fbe79c7c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007fbe7fc6c120 RCX: 00007fbe7fb4c0d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007fbe7fba7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc3511dcef R14: 00007fbe79c7c300 R15: 0000000000022000 Showing all locks held in the system: 4 locks held by kworker/u4:3/147: #0: 0000000025af6c99 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000005cbd35d3 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000000e1440da (&type->s_umount_key#63){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 000000005382df9b (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 1 lock held by khungtaskd/1570: #0: 0000000009726b48 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7801: #0: 00000000820e6033 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 1 lock held by syz-fuzzer/8103: 4 locks held by kworker/u4:2/8766: #0: 00000000f6a8d970 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000075991a52 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000fc9690e7 (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 #3: 0000000046a674c2 (rcu_preempt_state.barrier_mutex){+.+.}, at: _rcu_barrier+0x59/0x3e0 kernel/rcu/tree.c:3430 3 locks held by syz-executor.5/16137: 2 locks held by syz-executor.5/16175: #0: 000000003a908750 (sb_writers#19){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000003a908750 (sb_writers#19){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000052e33b79 (&type->i_mutex_dir_key#10){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000052e33b79 (&type->i_mutex_dir_key#10){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000052e33b79 (&type->i_mutex_dir_key#10){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 2 locks held by syz-executor.5/16176: #0: 000000003a908750 (sb_writers#19){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000003a908750 (sb_writers#19){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000052e33b79 (&type->i_mutex_dir_key#10/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 0000000052e33b79 (&type->i_mutex_dir_key#10/1){+.+.}, at: do_unlinkat+0x27d/0x660 fs/namei.c:4051 2 locks held by syz-executor.2/22650: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1570 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4684 Comm: systemd-journal Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:29 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline] RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline] RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline] RIP: 0010:check_memory_region+0x44/0x170 mm/kasan/kasan.c:267 Code: 0f 86 20 01 00 00 4c 8d 54 37 ff 41 54 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 55 48 89 fd 49 c1 e9 03 48 c1 ed 03 53 49 01 c1 <48> 01 c5 49 8d 59 01 48 89 e8 48 89 da 48 29 ea 48 83 fa 10 7e 5b RSP: 0018:ffff8880a15d7a30 EFLAGS: 00000086 RAX: dffffc0000000000 RBX: ffff8880a15d7bb8 RCX: ffffffff81299566 RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffff8880a15d7b38 RBP: 1ffff110142baf67 R08: 0000000000000001 R09: ffffed10142baf72 R10: ffff8880a15d7b97 R11: 0000000000000000 R12: 0000000000000060 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8880a15d7b38 FS: 00007f82312d88c0(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f822e7ae028 CR3: 00000000a23dd000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memset+0x20/0x40 mm/kasan/kasan.c:285 memset include/linux/string.h:362 [inline] __unwind_start+0x76/0x960 arch/x86/kernel/unwind_orc.c:595 unwind_start arch/x86/include/asm/unwind.h:60 [inline] __save_stack_trace+0x72/0x190 arch/x86/kernel/stacktrace.c:43 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] __kasan_slab_free+0x126/0x1f0 mm/kasan/kasan.c:521 __cache_free mm/slab.c:3503 [inline] kmem_cache_free+0x7f/0x260 mm/slab.c:3765 putname+0xe1/0x120 fs/namei.c:261 do_sys_open+0x2ba/0x520 fs/open.c:1094 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8230867840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007ffe8a93c2d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffe8a93c5e0 RCX: 00007f8230867840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000056484fc42730 RBP: 000000000000000d R08: 000000000000c0c1 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 000056484fc3e040 R14: 00007ffe8a93c5a0 R15: 000056484fc48e90