INFO: task khugepaged:1665 blocked for more than 143 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:khugepaged state:D stack:24000 pid: 1665 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1854 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:3052 lru_add_drain_all+0x41c/0x6f0 mm/swap.c:836 khugepaged_do_scan mm/khugepaged.c:2202 [inline] khugepaged+0x10c/0x54d0 mm/khugepaged.c:2263 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 INFO: task syz-executor.0:8466 blocked for more than 143 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23696 pid: 8466 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5216 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 xt_request_find_table_lock+0x27/0xf0 net/netfilter/x_tables.c:1253 get_info+0x178/0x720 net/ipv4/netfilter/arp_tables.c:807 do_arpt_get_ctl+0x456/0x8f0 net/ipv4/netfilter/arp_tables.c:1441 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline] ip_getsockopt+0x164/0x1c0 net/ipv4/ip_sockglue.c:1756 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:4142 __sys_getsockopt+0x219/0x4c0 net/socket.c:2156 __do_sys_getsockopt net/socket.c:2171 [inline] __se_sys_getsockopt net/socket.c:2168 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2168 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x46711a RSP: 002b:00007ffc004d41a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffc004d41bc RCX: 000000000046711a RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffc004d41bc R09: 00007ffc004d4220 R10: 00007ffc004d41c0 R11: 0000000000000246 R12: 00007ffc004d41c0 R13: 000000000032e8e4 R14: 0000000000000000 R15: 00007ffc004d4930 INFO: task syz-executor.1:8468 blocked for more than 144 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23928 pid: 8468 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5216 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 xt_request_find_table_lock+0x27/0xf0 net/netfilter/x_tables.c:1253 get_info+0x178/0x720 net/ipv4/netfilter/arp_tables.c:807 do_arpt_get_ctl+0x456/0x8f0 net/ipv4/netfilter/arp_tables.c:1441 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline] ip_getsockopt+0x164/0x1c0 net/ipv4/ip_sockglue.c:1756 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:4142 __sys_getsockopt+0x219/0x4c0 net/socket.c:2156 __do_sys_getsockopt net/socket.c:2171 [inline] __se_sys_getsockopt net/socket.c:2168 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2168 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x46711a RSP: 002b:00007fffbcaef908 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007fffbcaef91c RCX: 000000000046711a RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007fffbcaef91c R09: 00007fffbcaef980 R10: 00007fffbcaef920 R11: 0000000000000246 R12: 00007fffbcaef920 R13: 000000000032e8f0 R14: 0000000000000000 R15: 00007fffbcaf0090 INFO: task syz-executor.2:8470 blocked for more than 145 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:23928 pid: 8470 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5216 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 xt_request_find_table_lock+0x27/0xf0 net/netfilter/x_tables.c:1253 get_info+0x178/0x720 net/ipv4/netfilter/arp_tables.c:807 do_arpt_get_ctl+0x456/0x8f0 net/ipv4/netfilter/arp_tables.c:1441 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline] ip_getsockopt+0x164/0x1c0 net/ipv4/ip_sockglue.c:1756 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:4142 __sys_getsockopt+0x219/0x4c0 net/socket.c:2156 __do_sys_getsockopt net/socket.c:2171 [inline] __se_sys_getsockopt net/socket.c:2168 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2168 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x46711a RSP: 002b:00007fff36876b48 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007fff36876b5c RCX: 000000000046711a RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007fff36876b5c R09: 00007fff36876bc0 R10: 00007fff36876b60 R11: 0000000000000246 R12: 00007fff36876b60 R13: 000000000032e8e6 R14: 0000000000000000 R15: 00007fff368772d0 INFO: task syz-executor.3:8472 blocked for more than 146 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:23928 pid: 8472 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 synchronize_rcu_expedited+0x44b/0x610 kernel/rcu/tree_exp.h:852 synchronize_rcu+0xdf/0x180 kernel/rcu/tree.c:3690 xt_replace_table+0x304/0x600 net/netfilter/x_tables.c:1389 __do_replace+0x1d7/0x8c0 net/ipv6/netfilter/ip6_tables.c:1083 do_replace net/ipv4/netfilter/arp_tables.c:984 [inline] do_arpt_set_ctl+0xad8/0xea0 net/ipv4/netfilter/arp_tables.c:1418 nf_setsockopt+0x83/0xe0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x3c3/0x3a20 net/ipv4/ip_sockglue.c:1435 tcp_setsockopt+0x136/0x2440 net/ipv4/tcp.c:3598 __sys_setsockopt+0x2db/0x610 net/socket.c:2115 __do_sys_setsockopt net/socket.c:2126 [inline] __se_sys_setsockopt net/socket.c:2123 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2123 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x46714a RSP: 002b:00007ffd1eac2f28 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007ffd1eac2f3c RCX: 000000000046714a RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000408 R09: 00007ffd1eac2fa0 R10: 000000000053a4f0 R11: 0000000000000246 R12: 00007ffd1eac2f90 R13: 000000000345186b R14: 0000000000000000 R15: 00007ffd1eac36b0 INFO: task syz-executor.4:8474 blocked for more than 147 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23928 pid: 8474 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5216 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 xt_request_find_table_lock+0x27/0xf0 net/netfilter/x_tables.c:1253 get_info+0x178/0x720 net/ipv4/netfilter/arp_tables.c:807 do_arpt_get_ctl+0x456/0x8f0 net/ipv4/netfilter/arp_tables.c:1441 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline] ip_getsockopt+0x164/0x1c0 net/ipv4/ip_sockglue.c:1756 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:4142 __sys_getsockopt+0x219/0x4c0 net/socket.c:2156 __do_sys_getsockopt net/socket.c:2171 [inline] __se_sys_getsockopt net/socket.c:2168 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2168 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x46711a RSP: 002b:00007ffd5f7b9088 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffd5f7b909c RCX: 000000000046711a RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffd5f7b909c R09: 00007ffd5f7b9100 R10: 00007ffd5f7b90a0 R11: 0000000000000246 R12: 00007ffd5f7b90a0 R13: 000000000032e8ef R14: 0000000000000000 R15: 00007ffd5f7b9810 INFO: task syz-executor.5:8518 blocked for more than 148 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:23712 pid: 8518 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5216 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 xt_request_find_table_lock+0x27/0xf0 net/netfilter/x_tables.c:1253 get_info+0x178/0x720 net/ipv4/netfilter/arp_tables.c:807 do_arpt_get_ctl+0x456/0x8f0 net/ipv4/netfilter/arp_tables.c:1441 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline] ip_getsockopt+0x164/0x1c0 net/ipv4/ip_sockglue.c:1756 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:4142 __sys_getsockopt+0x219/0x4c0 net/socket.c:2156 __do_sys_getsockopt net/socket.c:2171 [inline] __se_sys_getsockopt net/socket.c:2168 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2168 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x46711a RSP: 002b:00007ffffd2d5508 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffffd2d551c RCX: 000000000046711a RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffffd2d551c R09: 00007ffffd2d5580 R10: 00007ffffd2d5520 R11: 0000000000000246 R12: 00007ffffd2d5520 R13: 000000000032e8f1 R14: 0000000000000000 R15: 00007ffffd2d5c90 Showing all locks held in the system: 2 locks held by kworker/u4:2/46: 1 lock held by khungtaskd/1653: #0: ffffffff8bd73da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6259 1 lock held by khugepaged/1665: #0: ffffffff8be4b9c8 (lock#5){+.+.}-{3:3}, at: lru_add_drain_all+0x5f/0x6f0 mm/swap.c:787 1 lock held by in:imklog/8162: #0: ffff88801e3b54f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 1 lock held by syz-executor.0/8466: #0: ffff888147540458 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 1 lock held by syz-executor.1/8468: #0: ffff888147540458 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 1 lock held by syz-executor.2/8470: #0: ffff888147540458 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 2 locks held by syz-executor.3/8472: #0: ffff888147540458 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 #1: ffffffff8bd7c668 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8bd7c668 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f2/0x610 kernel/rcu/tree_exp.h:836 1 lock held by syz-executor.4/8474: #0: ffff888147540458 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 1 lock held by syz-executor.5/8518: #0: ffff888147540458 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206 2 locks held by kworker/1:0/5300: 2 locks held by kworker/0:9/1379: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1653 Comm: khungtaskd Not tainted 5.11.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:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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+0xd43/0xfa0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 26655 Comm: kworker/u4:3 Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_wait_context kernel/locking/lockdep.c:4506 [inline] RIP: 0010:__lock_acquire+0x408/0x54f0 kernel/locking/lockdep.c:4782 Code: e8 fd 38 5d 00 4c 0f a3 2d 95 08 2e 0e 0f 83 88 0c 00 00 4f 8d 6c 6d 00 49 c1 e5 06 49 81 c5 c0 6b 86 8f 49 8d bd b8 00 00 00 <48> b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 RSP: 0018:ffffc900018579f0 EFLAGS: 00000086 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81585f03 RDX: fffffbfff1f0ccf5 RSI: 0000000000000008 RDI: ffffffff8f868d78 RBP: ffff88801b455340 R08: 0000000000000000 R09: ffffffff8f8667a7 R10: fffffbfff1f0ccf4 R11: 0000000000000000 R12: ffff88801b455d18 R13: ffffffff8f868cc0 R14: ffffffff8bd73da0 R15: 0000000000020000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff4161d3000 CR3: 0000000011bed000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5442 [inline] lock_acquire+0x1a8/0x720 kernel/locking/lockdep.c:5407 rcu_lock_acquire include/linux/rcupdate.h:259 [inline] rcu_read_lock include/linux/rcupdate.h:648 [inline] batadv_nc_process_nc_paths.part.0+0xec/0x3b0 net/batman-adv/network-coding.c:683 batadv_nc_process_nc_paths net/batman-adv/network-coding.c:675 [inline] batadv_nc_worker+0xaf2/0xe50 net/batman-adv/network-coding.c:724 process_one_work+0x98d/0x15f0 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296