audit: type=1804 audit(1671076964.799:1321): pid=9338 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir3954151069/syzkaller.8JPDYv/1138/bus" dev="sda1" ino=15622 res=1 F2FS-fs (loop4): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop4): Inconsistent segment (6) type [1, 0] in SSA and SIT INFO: task syz-executor.4:6897 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. F2FS-fs (loop4): Inconsistent segment (6) type [1, 0] in SSA and SIT audit: type=1800 audit(1671076964.799:1322): pid=9338 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=15622 res=0 audit: type=1804 audit(1671076965.259:1323): pid=9363 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir3954151069/syzkaller.8JPDYv/1139/bus" dev="sda1" ino=15582 res=1 F2FS-fs (loop4): Inconsistent segment (6) type [1, 0] in SSA and SIT syz-executor.4 D29744 6897 8170 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 F2FS-fs (loop4): Inconsistent segment (6) type [1, 0] in SSA and SIT schedule+0x8d/0x1b0 kernel/sched/core.c:3561 audit: type=1800 audit(1671076965.259:1324): pid=9363 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=15582 res=0 __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 audit: type=1804 audit(1671076965.329:1325): pid=9363 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir3954151069/syzkaller.8JPDYv/1139/bus" dev="sda1" ino=15582 res=1 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 audit: type=1800 audit(1671076965.329:1326): pid=9363 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=15582 res=0 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fdde30980d9 Code: Bad RIP value. RSP: 002b:00007fdddd1e9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fdde31b8050 RCX: 00007fdde30980d9 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007fdde30f3ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd92b2c2df R14: 00007fdddd1e9300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 000000004aa68d8f (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7858: #0: 000000002d284ac8 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by kworker/u4:1/25623: #0: 00000000ee07b319 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000000a9aafb5 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000f9f22acf (&type->s_umount_key#52){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 000000009143004b (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 3 locks held by kworker/u4:4/6093: 5 locks held by syz-executor.4/6832: 2 locks held by syz-executor.4/6897: #0: 000000008b581fd9 (sb_writers#18){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000008b581fd9 (sb_writers#18){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 000000008c4facd1 (&type->i_mutex_dir_key#9){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000008c4facd1 (&type->i_mutex_dir_key#9){++++}, at: do_last fs/namei.c:3324 [inline] #1: 000000008c4facd1 (&type->i_mutex_dir_key#9){++++}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 1 lock held by syz-executor.5/9324: #0: 000000002e21341d (&mm->mmap_sem){++++}, at: vm_mmap_pgoff+0x152/0x200 mm/util.c:355 1 lock held by syz-executor.5/9326: 1 lock held by syz-executor.1/9375: #0: 00000000cdf88172 (&mm->mmap_sem){++++}, at: vm_mmap_pgoff+0x152/0x200 mm/util.c:355 5 locks held by syz-executor.1/9377: ============================================= 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: 9326 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:check_preemption_disabled+0x3c/0x280 lib/smp_processor_id.c:51 Code: 67 eb fd 65 44 8b 25 23 63 8a 7c 65 8b 1d 3c c1 8a 7c 81 e3 ff ff ff 7f 31 ff 89 de e8 bd 68 eb fd 85 db 74 18 e8 44 67 eb fd 3f 67 eb fd 44 89 e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 2c 67 RSP: 0018:ffff8880ba107f78 EFLAGS: 00000093 RAX: ffff88803e6e0100 RBX: 0000000000000001 RCX: ffffffff83771e23 RDX: 0000000000000000 RSI: ffffffff83771e2c RDI: 0000000000000005 RBP: ffffffff88b3e160 R08: ffffffff8c665058 R09: 0000000000000000 R10: 0000000000000005 R11: ffffffff8c66505b R12: 0000000000000001 R13: ffffffff8868d9c0 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c019420750 CR3: 0000000009e6d000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: invoke_softirq kernel/softirq.c:362 [inline] irq_exit+0x124/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x50 kernel/kcov.c:100 Code: e8 11 dd 35 00 e9 ab fe ff ff 4c 89 ef e8 04 dd 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 8b 34 24 <65> 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2 00 01 1f 00 RSP: 0018:ffff888053d4f6c0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 000000000002dfd0 RCX: ffffffff818b83e9 RDX: 0000000000000000 RSI: ffffffff818b83f6 RDI: 0000000000000005 RBP: 1ffff1100a7a9edb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 000000002dfd0027 R13: ffff888097cd5318 R14: 00000000203d6000 R15: ffff888053d4f6f8 _vm_normal_page+0x1c6/0x510 mm/memory.c:896 zap_pte_range mm/memory.c:1323 [inline] zap_pmd_range mm/memory.c:1463 [inline] zap_pud_range mm/memory.c:1492 [inline] zap_p4d_range mm/memory.c:1513 [inline] unmap_page_range+0x1141/0x2c50 mm/memory.c:1534 unmap_single_vma+0x198/0x300 mm/memory.c:1579 unmap_vmas+0xa9/0x180 mm/memory.c:1609 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 __mmput kernel/fork.c:1016 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1037 exit_mm kernel/exit.c:549 [inline] do_exit+0xaec/0x2be0 kernel/exit.c:857 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f75e05570d9 Code: Bad RIP value. RSP: 002b:00007f75deac9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: 0000000020000000 RBX: 00007f75e0676f80 RCX: 00007f75e05570d9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f75e05b2ae9 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff012fd69f R14: 00007f75deac9300 R15: 0000000000022000