RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000004 RBP: 00007f735d5faae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc097ec0bf R14: 00007f735ba8d300 R15: 0000000000022000 INFO: task syz-executor.3:25206 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 D29320 25206 8156 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_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x44/0x80 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:758 [inline] lookup_slow fs/namei.c:1688 [inline] walk_component+0x798/0xda0 fs/namei.c:1811 link_path_walk.part.0+0x901/0x1230 fs/namei.c:2142 link_path_walk fs/namei.c:2270 [inline] path_lookupat+0xe4/0x8d0 fs/namei.c:2318 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path include/linux/namei.h:62 [inline] do_mount+0x147/0x2f50 fs/namespace.c:2762 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:0x7fb8ac6570a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fb8a6787168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fb8ac777120 RCX: 00007fb8ac6570a9 RDX: 00000000200022c0 RSI: 0000000020002140 RDI: 0000000000000000 RBP: 00007fb8ac6b2ae9 R08: 0000000020002480 R09: 0000000000000000 R10: 0000000000882026 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffc2dfc0ef R14: 00007fb8a6787300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:1/23: 5 locks held by kworker/u4:3/57: #0: 0000000068b6f75f ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000006d8f9a52 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000f26d4f9c (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 #3: 000000007007827e (rtnl_mutex){+.+.}, at: vti6_exit_batch_net+0x82/0x620 net/ipv6/ip6_vti.c:1173 #4: 00000000f225bc1d (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: 00000000f225bc1d (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 1 lock held by khungtaskd/1570: #0: 00000000dd9ce433 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 4 locks held by kworker/u4:4/2960: #0: 00000000baae79c1 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000f40fa233 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000aa8c9daf (&type->s_umount_key#76){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 00000000e735ffa5 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 1 lock held by in:imklog/7857: #0: 00000000c2f7dbe8 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by agetty/8038: #0: 00000000cdfb0dda (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000eec1de86 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 2 locks held by kworker/1:0/5118: #0: 0000000075d0f5c5 ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000c1539553 ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 3 locks held by syz-executor.3/25203: 1 lock held by syz-executor.3/25206: #0: 0000000068e47a83 (&type->i_mutex_dir_key#11){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 0000000068e47a83 (&type->i_mutex_dir_key#11){++++}, at: lookup_slow fs/namei.c:1688 [inline] #0: 0000000068e47a83 (&type->i_mutex_dir_key#11){++++}, at: walk_component+0x798/0xda0 fs/namei.c:1811 3 locks held by syz-executor.4/28770: #0: 00000000faec6a54 (cb_lock){++++}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:637 #1: 0000000042203eed (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: 0000000042203eed (genl_mutex){+.+.}, at: genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625 #2: 000000007007827e (rtnl_mutex){+.+.}, at: nl80211_pre_doit+0x34f/0x620 net/wireless/nl80211.c:13089 1 lock held by syz-executor.5/28793: f2fs_msg: 215418 callbacks suppressed F2FS-fs (loop3): Inconsistent segment (6) type [1, 0] in SSA and SIT #0: 000000007007827e (rtnl_mutex){+.+.}, at: rtnl_lock net/core/rtnetlink.c:77 [inline] #0: 000000007007827e (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x3fe/0xb80 net/core/rtnetlink.c:4779 ============================================= 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 audit: type=1800 audit(1672364892.241:759): pid=28768 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=13887 res=0 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: F2FS-fs (loop3): Inconsistent segment (6) type [1, 0] in SSA and SIT NMI backtrace for cpu 1 CPU: 1 PID: 25203 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:io_serial_out+0x68/0x80 drivers/tty/serial/8250/8250_port.c:461 Code: e1 00 00 00 48 8d 7d 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 d3 e3 80 3c 02 00 75 15 03 5d 38 44 89 e0 89 da ee <5b> 5d 41 5c c3 e8 3e 80 d7 fd eb c7 e8 87 82 d7 fd eb e4 0f 1f 44 RSP: 0018:ffff88803a79f058 EFLAGS: 00000006 RAX: 0000000000000000 RBX: 00000000000003f9 RCX: 0000000000000000 RDX: 00000000000003f9 RSI: ffffffff83c0df71 RDI: ffffffff8dc90258 RBP: ffffffff8dc90220 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8dc90448 R14: ffffffff8dc90270 R15: ffffffff8dc90268 FS: 00007fb8a67a8700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca5f359178 CR3: 000000009b1e4000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_port_out include/linux/serial_core.h:274 [inline] serial8250_console_write+0x305/0xb70 drivers/tty/serial/8250/8250_port.c:3300 call_console_drivers kernel/printk/printk.c:1764 [inline] console_unlock+0xbb6/0x1110 kernel/printk/printk.c:2460 vprintk_emit+0x2d1/0x740 kernel/printk/printk.c:1965 vprintk_func+0x79/0x180 kernel/printk/printk_safe.c:405 printk+0xba/0xed kernel/printk/printk.c:2040 f2fs_msg.cold+0x20/0x25 fs/f2fs/super.c:210 do_garbage_collect fs/f2fs/gc.c:1092 [inline] f2fs_gc+0x3072/0x8c90 fs/f2fs/gc.c:1196 f2fs_balance_fs+0x71a/0xd80 fs/f2fs/segment.c:513 f2fs_create+0x44d/0x930 fs/f2fs/namei.c:307 lookup_open+0x893/0x1a20 fs/namei.c:3235 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 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:0x7fb8ac6570a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fb8a67a8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb8ac777050 RCX: 00007fb8ac6570a9 RDX: 00000000000026e1 RSI: 0000000020000600 RDI: ffffffffffffff9c RBP: 00007fb8ac6b2ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffc2dfc0ef R14: 00007fb8a67a8300 R15: 0000000000022000