F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 INFO: task syz-executor.1:18483 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.1 D24352 18483 1 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 deactivate_super+0x16c/0x1a0 fs/super.c:359 cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 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:0x7f452cd0daa7 Code: Bad RIP value. RSP: 002b:00007ffc899d1ea8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f452cd0daa7 RDX: 00007ffc899d1f7b RSI: 000000000000000a RDI: 00007ffc899d1f70 RBP: 00007ffc899d1f70 R08: 00000000ffffffff R09: 00007ffc899d1d40 R10: 00005555556fa903 R11: 0000000000000246 R12: 00007f452cd66b2e R13: 00007ffc899d3030 R14: 00005555556fa810 R15: 00007ffc899d3070 INFO: task syz-executor.3:11936 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.3 D30024 11936 16380 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 wb_wait_for_completion+0x175/0x1f0 fs/fs-writeback.c:222 sync_inodes_sb+0x19d/0x9a0 fs/fs-writeback.c:2459 sync_inodes_one_sb+0x4d/0x60 fs/sync.c:74 iterate_supers+0x13c/0x290 fs/super.c:633 ksys_sync+0x86/0x150 fs/sync.c:113 __ia32_sys_sync+0xa/0x10 fs/sync.c:124 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7c6e556639 Code: Bad RIP value. RSP: 002b:00007f7c6caa8168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f7c6e677050 RCX: 00007f7c6e556639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f7c6e5b1ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcef19b34f R14: 00007f7c6caa8300 R15: 0000000000022000 INFO: task syz-executor.3:11940 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.3 D30128 11940 16380 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 bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 sync_inodes_one_sb+0x4d/0x60 fs/sync.c:74 iterate_supers+0x13c/0x290 fs/super.c:633 ksys_sync+0x86/0x150 fs/sync.c:113 __ia32_sys_sync+0xa/0x10 fs/sync.c:124 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7c6e556639 Code: Bad RIP value. RSP: 002b:00007f7c6ca87168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f7c6e677120 RCX: 00007f7c6e556639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f7c6e5b1ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcef19b34f R14: 00007f7c6ca87300 R15: 0000000000022000 INFO: task syz-executor.3:11948 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.3 D30024 11948 16380 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 bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 sync_inodes_one_sb+0x4d/0x60 fs/sync.c:74 iterate_supers+0x13c/0x290 fs/super.c:633 ksys_sync+0x86/0x150 fs/sync.c:113 __ia32_sys_sync+0xa/0x10 fs/sync.c:124 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7c6e556639 Code: Bad RIP value. RSP: 002b:00007f7c6ca66168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f7c6e6771f0 RCX: 00007f7c6e556639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f7c6e5b1ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcef19b34f R14: 00007f7c6ca66300 R15: 0000000000022000 Showing all locks held in the system: 5 locks held by kworker/u4:1/23: 1 lock held by khungtaskd/1569: #0: 00000000675b769b (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7847: #0: 00000000c8260a17 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 1 lock held by syz-executor.1/18483: #0: 00000000df043974 (&type->s_umount_key#63){++++}, at: deactivate_super+0x16c/0x1a0 fs/super.c:359 2 locks held by syz-executor.3/11936: #0: 00000000df043974 (&type->s_umount_key#63){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000004fb9e5da (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000004fb9e5da (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/11940: #0: 00000000df043974 (&type->s_umount_key#63){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000004fb9e5da (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000004fb9e5da (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/11948: #0: 00000000df043974 (&type->s_umount_key#63){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000004fb9e5da (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000004fb9e5da (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 1 lock held by syz-executor.3/12254: #0: 00000000df043974 (&type->s_umount_key#63){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 1 lock held by syz-executor.3/12255: #0: 00000000df043974 (&type->s_umount_key#63){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 1 lock held by syz-executor.3/12256: #0: 00000000df043974 (&type->s_umount_key#63){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1569 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: 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: writeback wb_workfn (flush-7:1) RIP: 0010:__lock_acquire+0x223/0x3ff0 kernel/locking/lockdep.c:3299 Code: f2 66 8c 0f 84 65 ff ff ff 83 fe 01 0f 87 68 ff ff ff 48 ba 00 00 00 00 00 fc ff df 89 f0 49 8d 7c c6 08 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 90 2a 00 00 49 8b 44 c6 08 48 85 c0 0f 84 38 ff RSP: 0018:ffff8880b5046c08 EFLAGS: 00000802 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffff110169ba276 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8880b4dd13b0 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880b503c600 R14: ffff8880b4dd13a8 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01cb6ba40 CR3: 00000000a219b000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 down_read+0x36/0x80 kernel/locking/rwsem.c:24 check_valid_map fs/f2fs/gc.c:454 [inline] gc_data_segment fs/f2fs/gc.c:929 [inline] do_garbage_collect fs/f2fs/gc.c:1109 [inline] f2fs_gc+0x1cf3/0x8c90 fs/f2fs/gc.c:1196 f2fs_balance_fs+0x71a/0xd80 fs/f2fs/segment.c:513 __write_data_page+0xab8/0x22d0 fs/f2fs/data.c:1975 f2fs_write_cache_pages+0x96e/0x13e0 fs/f2fs/data.c:2107 __f2fs_write_data_pages fs/f2fs/data.c:2217 [inline] f2fs_write_data_pages+0x498/0x1060 fs/f2fs/data.c:2244 do_writepages+0xe5/0x290 mm/page-writeback.c:2344 __writeback_single_inode+0x10c/0x11d0 fs/fs-writeback.c:1385 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_start_all fs/fs-writeback.c:1946 [inline] wb_do_writeback fs/fs-writeback.c:1972 [inline] wb_workfn+0xbf4/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