INFO: task kworker/u4:4:13632 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:4 D26048 13632 2 0x80000000 Workqueue: writeback wb_workfn (flush-7:5) 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/1570: #0: 00000000db630504 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7802: #0: 0000000079cca650 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by kworker/u4:0/11272: f2fs_msg: 2028 callbacks suppressed F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 #0: 00000000cf513834 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000020cdd72d ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 0000000095c8bb61 (&type->s_umount_key#54){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 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 #3: 00000000b193f59c (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 4 locks held by kworker/u4:4/13632: F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 #0: 00000000cf513834 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 #1: 00000000465073a9 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 #2: 000000008643f291 (&type->s_umount_key#54){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 000000000f949948 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 2 locks held by syz-executor.5/29987: 3 locks held by syz-executor.1/31877: 2 locks held by kworker/u4:1/531: 2 locks held by syz-executor.3/857: 2 locks held by syz-executor.0/863: 2 locks held by syz-executor.1/868: 2 locks held by syz-executor.4/876: ============================================= 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 02/16/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 531 Comm: kworker/u4:1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:trace_lock_release include/trace/events/lock.h:58 [inline] RIP: 0010:lock_release+0x172/0x8b0 kernel/locking/lockdep.c:3926 Code: 00 c7 83 84 08 00 00 01 00 00 00 0f 1f 44 00 00 65 8b 05 e1 35 b6 7e 83 f8 07 0f 87 89 04 00 00 89 c0 48 0f a3 05 f6 93 db 09 <0f> 82 38 04 00 00 48 c7 c0 60 f1 45 8a 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffff88804cbafc00 EFLAGS: 00000097 RAX: 0000000000000001 RBX: ffff888093128680 RCX: ffffffff87d8f371 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888093128f04 RBP: ffffffff89f85fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff11009975f83 R13: ffffffff87d8f075 R14: 00000000000002af R15: ffff8880a462dc00 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5151e00000 CR3: 0000000096545000 CR4: 00000000003426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:247 [inline] rcu_read_unlock include/linux/rcupdate.h:681 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:423 [inline] batadv_nc_worker+0x66c/0xd50 net/batman-adv/network-coding.c:730 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