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 kworker/u4:0:7 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:0 D25664 7 2 0x80000000 Workqueue: writeback wb_workfn (flush-7:1) 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 INFO: task syz-executor.3:15230 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 D28008 15230 8150 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:0x7f3de97bd0f9 Code: Bad RIP value. RSP: 002b:00007f3de7d2f168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f3de98dcf80 RCX: 00007f3de97bd0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f3de9818ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe995e944f R14: 00007f3de7d2f300 R15: 0000000000022000 INFO: task syz-executor.3:15240 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 D29920 15240 8150 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:0x7f3de97bd0f9 Code: Bad RIP value. RSP: 002b:00007f3de7d0e168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f3de98dd050 RCX: 00007f3de97bd0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f3de9818ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe995e944f R14: 00007f3de7d0e300 R15: 0000000000022000 INFO: task syz-executor.3:15248 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 D28800 15248 8150 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:0x7f3de97bd0f9 Code: Bad RIP value. RSP: 002b:00007f3de7ced168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f3de98dd120 RCX: 00007f3de97bd0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f3de9818ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe995e944f R14: 00007f3de7ced300 R15: 0000000000022000 INFO: task syz-executor.3:15253 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 D29920 15253 8150 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:0x7f3de97bd0f9 Code: Bad RIP value. RSP: 002b:00007f3de7ccc168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f3de98dd1f0 RCX: 00007f3de97bd0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f3de9818ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe995e944f R14: 00007f3de7ccc300 R15: 0000000000022000 Showing all locks held in the system: 4 locks held by kworker/u4:0/7: #0: 0000000025b3867f ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000b24a5402 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 00000000e9c01530 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 1 lock held by khungtaskd/1570: #0: 000000007b508073 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7812: #0: 000000006e093451 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by syz-executor.1/14124: 2 locks held by syz-executor.3/15230: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/15240: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/15248: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/15253: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/15883: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/15884: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/15885: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/15886: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/15887: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/15888: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/16267: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/16268: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/16270: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.3/16271: #0: 00000000222c0ea7 (&type->s_umount_key#50){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000007ba28b4a (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 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: 10078 Comm: kworker/u4:9 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: bat_events batadv_purge_orig RIP: 0010:reacquire_held_locks+0x3/0x430 kernel/locking/lockdep.c:3551 Code: f1 89 e8 b0 2a 4d 00 e9 26 ea ff ff 4c 8d bc 24 d8 00 00 00 4c 89 ff e8 7b 51 ff ff e9 c7 f0 ff ff 66 0f 1f 44 00 00 48 63 c2 <39> d6 48 8d 04 80 48 8d 84 c7 88 08 00 00 0f 86 89 02 00 00 83 ee RSP: 0018:ffff888095b4fb60 EFLAGS: 00000046 RAX: 0000000000000003 RBX: ffffffff8d243760 RCX: 1ffff110141669db RDX: 0000000000000003 RSI: 0000000000000003 RDI: ffff8880a0b34600 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff11012b69f70 R13: 7f67dcc3b75292f3 R14: ffff8880a0b34600 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0007e9620 CR3: 00000000b4477000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_release kernel/locking/lockdep.c:3707 [inline] lock_release+0x379/0x8b0 kernel/locking/lockdep.c:3927 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:174 [inline] _raw_spin_unlock_bh+0x17/0x30 kernel/locking/spinlock.c:200 spin_unlock_bh include/linux/spinlock.h:374 [inline] batadv_purge_orig_ref+0xa2c/0x1110 net/batman-adv/originator.c:1379 batadv_purge_orig+0x17/0x60 net/batman-adv/originator.c:1392 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