INFO: task syz-executor.4:12816 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.4 D29384 12816 27145 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 inode_lock include/linux/fs.h:748 [inline] do_last fs/namei.c:3324 [inline] path_openat+0x1071/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:0x7f9650ccb0d9 Code: Bad RIP value. RSP: 002b:00007f964ae1c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f9650deb050 RCX: 00007f9650ccb0d9 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f9650d26ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe42b17af R14: 00007f964ae1c300 R15: 0000000000022000 Showing all locks held in the system: 4 locks held by kworker/u4:2/35: #0: 000000002035faf1 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000003fdfb5a9 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000000f5665a4 (&type->s_umount_key#54){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 0000000076bd101a (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 1 lock held by khungtaskd/1570: #0: 0000000049d3796c (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7799: #0: 00000000e8ecc3e5 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by kworker/u4:5/8796: #0: 000000004153a9c6 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000cd7bbbbe (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000000341d4e8 (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 #3: 00000000fd46f091 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #3: 00000000fd46f091 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 2 locks held by kworker/u4:10/16967: 2 locks held by kworker/0:5/22921: #0: 00000000a037c0b8 ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000573eca74 ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 4 locks held by syz-executor.4/12775: 2 locks held by syz-executor.4/12816: #0: 0000000091c50062 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 0000000091c50062 (sb_writers#17){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000020f2c980 (&type->i_mutex_dir_key#10){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000020f2c980 (&type->i_mutex_dir_key#10){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000020f2c980 (&type->i_mutex_dir_key#10){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 2 locks held by syz-executor.4/21021: 1 lock held by syz-executor.2/21022: #0: 00000000cfb71be4 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000cfb71be4 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 2 locks held by syz-executor.0/21033: #0: 00000000166aa060 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000166aa060 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 0000000049d3796c (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 0000000049d3796c (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 1 lock held by syz-executor.3/21054: #0: 00000000166aa060 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000166aa060 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 1 lock held by syz-executor.4/21063: 2 locks held by syz-executor.3/21059: #0: 00000000166aa060 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000166aa060 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 0000000049d3796c (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 0000000049d3796c (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 3 locks held by syz-executor.3/21077: #0: 00000000166aa060 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000166aa060 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 0000000049d3796c (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 0000000049d3796c (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 #2: 00000000166aa060 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #2: 00000000166aa060 (&rq->lock){-.-.}, at: ttwu_queue kernel/sched/core.c:1841 [inline] #2: 00000000166aa060 (&rq->lock){-.-.}, at: try_to_wake_up+0x6d0/0x1050 kernel/sched/core.c:2052 2 locks held by syz-executor.5/21086: #0: 00000000166aa060 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000166aa060 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 0000000049d3796c (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 0000000049d3796c (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 2 locks held by syz-executor.4/21098: 2 locks held by syz-executor.2/21112: 2 locks held by syz-executor.5/21113: 2 locks held by syz-executor.0/21116: #0: 00000000cfb71be4 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000cfb71be4 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 0000000049d3796c (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 0000000049d3796c (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 ============================================= 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: 4691 Comm: systemd-journal Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:file_update_time+0xb6/0x500 fs/inode.c:1870 Code: 49 8d 7c 24 0c 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 57 03 00 00 45 8b 74 24 0c <31> ff 41 81 e6 80 00 00 00 44 89 f6 e8 b9 21 b9 ff 45 85 f6 74 40 RSP: 0000:ffff8880a0e27bf8 EFLAGS: 00000246 RAX: 0000000000000007 RBX: 1ffff110141c4f81 RCX: ffffffff818ae831 RDX: 0000000000000000 RSI: ffffffff81a964c8 RDI: ffff8880a117663c RBP: ffff8880a0e27c90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880a1176630 R13: ffff8880a11737c0 R14: 0000000000001000 R15: 0000000000000000 FS: 00007f7b87eaf8c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7b85534000 CR3: 00000000a0e3a000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: fault_dirty_shared_page+0x1b1/0x230 mm/memory.c:2535 do_shared_fault mm/memory.c:3896 [inline] do_fault mm/memory.c:3948 [inline] handle_pte_fault mm/memory.c:4175 [inline] __handle_mm_fault+0x26c5/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:0x7f7b87ba0236 Code: 94 24 c8 00 00 00 48 89 82 a0 00 00 00 49 8b 94 24 c8 00 00 00 48 83 ba a8 00 00 00 00 75 07 48 89 82 a8 00 00 00 48 83 eb 40 <49> 89 43 10 48 89 da 74 1f 4d 85 ff 0f 84 98 02 00 00 49 8d 7b 40 RSP: 002b:00007ffc7367c1e0 EFLAGS: 00010206 RAX: 0000000000001c42 RBX: 0000000000000090 RCX: 0000000000505ff0 RDX: 00007f7b87eb9000 RSI: 0000000000001c41 RDI: 000055cccc54c120 RBP: 0000000000000000 R08: 00000000005060c0 R09: 00007ffc7367f310 R10: 00040a2665bb1e76 R11: 00007f7b85533ff0 R12: 000055cccc54be80 R13: 0c9de43e165a0f28 R14: 00007ffc7367c470 R15: 00007ffc7367c280