INFO: task syz-executor.0:30097 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.0 D25416 30097 8180 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 io_schedule+0xb5/0x120 kernel/sched/core.c:5181 bit_wait_io+0x12/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xb5/0x170 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xd2/0x100 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x52/0x60 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:374 [inline] __sync_dirty_buffer+0x2a6/0x320 fs/buffer.c:3178 __ext4_handle_dirty_metadata+0x234/0x590 fs/ext4/ext4_jbd2.c:300 ext4_convert_inline_data_nolock+0x5c9/0xd10 fs/ext4/inline.c:1246 ext4_convert_inline_data+0x347/0x3a0 fs/ext4/inline.c:2033 ext4_page_mkwrite+0x209/0x1320 fs/ext4/inode.c:6295 do_page_mkwrite+0xd4/0x410 mm/memory.c:2486 wp_page_shared mm/memory.c:2794 [inline] do_wp_page+0x980/0x2210 mm/memory.c:2894 handle_pte_fault mm/memory.c:4191 [inline] __handle_mm_fault+0x258b/0x41c0 mm/memory.c:4299 handle_mm_fault+0x436/0xb10 mm/memory.c:4336 __do_page_fault+0x68e/0xd60 arch/x86/mm/fault.c:1412 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205 RIP: 0033:0x7f9cf14a3d49 Code: Bad RIP value. RSP: 002b:00007ffd890cc000 EFLAGS: 00010246 RAX: 0000000020000240 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000020000140 RSI: 0000000000000000 RDI: 0000555555a3d2e8 RBP: 00007ffd890cc0f8 R08: 0000000000000000 R09: 0000000000000000 R10: 00007f9cf10793d8 R11: 0000000000000246 R12: 00000000000d97ec R13: 00007ffd890cc120 R14: 00007f9cf1624390 R15: 0000000000000032 INFO: task syz-executor.0:30117 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.0 D27072 30117 8180 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 io_schedule+0xb5/0x120 kernel/sched/core.c:5181 bit_wait_io+0x12/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xb5/0x170 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xd2/0x100 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x52/0x60 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:374 [inline] write_dirty_buffer+0xe2/0xf0 fs/buffer.c:3157 fsync_buffers_list fs/buffer.c:704 [inline] sync_mapping_buffers+0x349/0xa90 fs/buffer.c:522 __generic_file_fsync+0xd8/0x1f0 fs/libfs.c:990 ext4_sync_file+0xa35/0x1420 fs/ext4/fsync.c:118 vfs_fsync_range+0x13a/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2750 [inline] ext4_file_write_iter+0x726/0xf20 fs/ext4/file.c:283 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f9cf15040c9 Code: Bad RIP value. RSP: 002b:00007f9ce7755168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9cf1624050 RCX: 00007f9cf15040c9 RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f9cf155fae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd890cbfbf R14: 00007f9ce7755300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:1/23: 1 lock held by khungtaskd/1570: #0: 00000000ea675d6b (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7776: #0: 000000007750885d (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by kworker/u4:2/26761: 4 locks held by syz-executor.0/30097: #0: 00000000c404aa4c (&mm->mmap_sem){++++}, at: __do_page_fault+0x398/0xd60 arch/x86/mm/fault.c:1341 #1: 0000000079ddb7cd (sb_pagefaults){.+.+}, at: sb_start_pagefault include/linux/fs.h:1608 [inline] #1: 0000000079ddb7cd (sb_pagefaults){.+.+}, at: ext4_page_mkwrite+0x1c4/0x1320 fs/ext4/inode.c:6290 #2: 00000000cb993389 (&ei->i_mmap_sem){++++}, at: ext4_page_mkwrite+0x201/0x1320 fs/ext4/inode.c:6293 #3: 00000000ee361e2f (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #3: 00000000ee361e2f (&ei->xattr_sem){++++}, at: ext4_convert_inline_data+0x20a/0x3a0 fs/ext4/inline.c:2031 F2FS-fs (loop3): Mismatch start address, segment0(512) cp_blkaddr(605) 3 locks held by syz-executor.0/30117: #0: 00000000914e7ab6 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 F2FS-fs (loop3): Can't find valid F2FS filesystem in 1th superblock #1: 00000000fb240f54 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #1: 00000000fb240f54 (sb_writers#3){.+.+}, at: vfs_write+0x463/0x540 fs/read_write.c:548 #2: 000000002c5536d6 (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:748 [inline] #2: 000000002c5536d6 (&sb->s_type->i_mutex_key#10){++++}, at: __generic_file_fsync+0xb0/0x1f0 fs/libfs.c:989 1 lock held by syz-executor.3/5694: #0: 000000006c16519b (&type->s_umount_key#67/1){+.+.}, at: alloc_super fs/super.c:226 [inline] #0: 000000006c16519b (&type->s_umount_key#67/1){+.+.}, at: sget_userns+0x20b/0xcd0 fs/super.c:519 1 lock held by loop3/5695: #0: 0000000006501e5d (&rq->lock){-.-.}, at: find_get_entry+0x0/0x8a0 mm/filemap.c:1960 F2FS-fs (loop3): Found nat_bits in checkpoint ============================================= 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 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5694 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__sanitizer_cov_trace_pc+0x22/0x50 kernel/kcov.c:101 Code: 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 75 2b 8b 90 60 13 00 00 <83> fa 02 75 20 48 8b 88 68 13 00 00 8b 80 64 13 00 00 48 8b 11 48 RSP: 0018:ffff88803f447800 EFLAGS: 00000246 RAX: ffff8880b15f0680 RBX: ffff88808a7cf101 RCX: ffffffff87eef3b0 RDX: 0000000000000002 RSI: ffffffff87eef46d RDI: 0000000000000007 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000007 R11: 000000008e646684 R12: ffff88808a7cf101 R13: ffff88808a7cf680 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f596d0fc700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ed9f5948f0 CR3: 000000009b98e000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: is_sibling_entry lib/radix-tree.c:109 [inline] radix_tree_descend lib/radix-tree.c:134 [inline] __radix_tree_lookup+0x22d/0x370 lib/radix-tree.c:1050 __lookup_free_nid_list fs/f2fs/node.c:1993 [inline] add_free_nid.isra.0+0x22c/0x700 fs/f2fs/node.c:2122 scan_nat_page fs/f2fs/node.c:2186 [inline] __f2fs_build_free_nids+0x421/0x1020 fs/f2fs/node.c:2289 f2fs_build_free_nids fs/f2fs/node.c:2328 [inline] f2fs_build_node_manager+0x24c5/0x31d0 fs/f2fs/node.c:3055 f2fs_fill_super+0x31fd/0x7050 fs/f2fs/super.c:3022 mount_bdev+0x2fc/0x3b0 fs/super.c:1158 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f596eb8b5fa Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f596d0fbf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000010214 RCX: 00007f596eb8b5fa RDX: 00000000200000c0 RSI: 0000000020010280 RDI: 00007f596d0fbfe0 RBP: 00007f596d0fc020 R08: 00007f596d0fc020 R09: 0000000000000010 R10: 0000000000000010 R11: 0000000000000202 R12: 00000000200000c0 R13: 0000000020010280 R14: 00007f596d0fbfe0 R15: 00000000200001c0