INFO: task khugepaged:1179 blocked for more than 143 seconds. Not tainted 5.9.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:khugepaged state:D stack:28576 pid: 1179 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0xec9/0x2280 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1855 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x163/0x260 kernel/sched/completion.c:138 __flush_work+0x51f/0xac0 kernel/workqueue.c:3046 lru_add_drain_all+0x418/0x6c0 mm/swap.c:809 khugepaged_do_scan mm/khugepaged.c:2175 [inline] khugepaged+0x10e/0x5ab0 mm/khugepaged.c:2236 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 INFO: task syz-executor016:8258 blocked for more than 144 seconds. Not tainted 5.9.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor016 state:D stack:28360 pid: 8258 ppid: 6883 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0xec9/0x2280 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 __lock_sock+0x13d/0x260 net/core/sock.c:2504 lock_sock_nested+0xf1/0x110 net/core/sock.c:3043 lock_sock include/net/sock.h:1581 [inline] mptcp_close+0x8d/0xc60 net/mptcp/protocol.c:1914 inet_release+0x12e/0x280 net/ipv4/af_inet.c:431 __sock_release+0xcd/0x280 net/socket.c:596 sock_close+0x18/0x20 net/socket.c:1277 __fput+0x285/0x920 fs/file_table.c:281 task_work_run+0xdd/0x190 kernel/task_work.c:141 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:165 [inline] exit_to_user_mode_prepare+0x1e1/0x200 kernel/entry/common.c:192 syscall_exit_to_user_mode+0x7e/0x2e0 kernel/entry/common.c:267 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x408ec1 Code: Bad RIP value. RSP: 002b:00007ffd3b637db0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000408ec1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000075344 R08: 00000001bb1414ac R09: 00000001bb1414ac R10: 00007ffd3b637dd0 R11: 0000000000000293 R12: 00000000006dfc50 R13: 0000000000000008 R14: 00000000006dfc5c R15: 0000000000000064 Showing all locks held in the system: 1 lock held by khungtaskd/1168: #0: ffffffff8a068440 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5852 1 lock held by khugepaged/1179: #0: ffffffff8a134ba8 (lock#5){+.+.}-{3:3}, at: lru_add_drain_all+0x59/0x6c0 mm/swap.c:780 3 locks held by kworker/1:2/2469: 2 locks held by kworker/u4:5/2842: 1 lock held by in:imklog/6555: #0: ffff8880a75588b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:930 4 locks held by kworker/0:4/8136: 1 lock held by syz-executor016/8258: #0: ffff888085500750 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:779 [inline] #0: ffff888085500750 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:595 1 lock held by syz-executor016/16035: #0: ffff8880856d7c90 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:779 [inline] #0: ffff8880856d7c90 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:595 2 locks held by syz-executor016/24342: 2 locks held by syz-executor016/24344: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1168 Comm: khungtaskd Not tainted 5.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x198/0x1fd lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x223 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd7d/0x1000 kernel/hung_task.c:295 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8136 Comm: kworker/0:4 Not tainted 5.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events mptcp_worker RIP: 0010:mark_lock+0x2/0x1660 kernel/locking/lockdep.c:3971 Code: 0f 1f 84 00 00 00 00 00 be 00 00 01 00 48 c7 c7 c0 66 a9 8c e8 8f dc 62 02 48 98 c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 41 57 <41> 56 41 55 41 54 55 53 48 83 ec 20 83 fa 09 48 89 3c 24 0f 87 18 RSP: 0018:ffffc90009e2f870 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff815b9e52 RDX: 0000000000000008 RSI: ffff8880a21f8aa8 RDI: ffff8880a21f8100 RBP: ffff8880a21f8100 R08: 0000000000000000 R09: ffffffff8d10ca67 R10: fffffbfff1a2194c R11: 0000000000000000 R12: ffff8880a21f8aa8 R13: ffff8880a21f8aca R14: 0000000000000000 R15: ffff8880a21f8a08 FS: 0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f804a2b9008 CR3: 000000009302e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:3931 [inline] __lock_acquire+0x8b8/0x5780 kernel/locking/lockdep.c:4395 lock_acquire+0x1f3/0xaf0 kernel/locking/lockdep.c:5029 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:359 [inline] release_sock+0x1b/0x1b0 net/core/sock.c:3056 __mptcp_move_skbs+0x216/0x510 net/mptcp/protocol.c:1466 mptcp_worker+0x19f/0x15b0 net/mptcp/protocol.c:1721 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294