syzbot


INFO: task hung in get_info (3)

Status: auto-closed as invalid on 2021/05/27 19:05
Subsystems: netfilter
[Documentation on labels]
First crash: 1200d, last: 1154d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 INFO: task hung in get_info 2 1539d 1542d 0/1 auto-closed as invalid on 2020/06/06 08:06
android-49 INFO: task hung in get_info 1 2053d 2053d 0/3 auto-closed as invalid on 2019/03/10 04:11
linux-4.19 INFO: task hung in get_info C error 13 1128d 1190d 0/1 upstream: reported C repro on 2021/01/21 06:12
android-414 INFO: task hung in get_info 14 1633d 1838d 0/1 auto-closed as invalid on 2020/03/04 07:49
upstream INFO: task hung in get_info (4) netfilter 4 833d 857d 0/26 closed as invalid on 2022/02/08 09:50
upstream INFO: task hung in get_info (2) netfilter 2 1713d 1716d 0/26 auto-closed as invalid on 2019/11/15 17:14
android-44 INFO: task hung in get_info 3 1657d 1808d 0/2 auto-closed as invalid on 2020/02/09 04:02
android-49 INFO: task hung in get_info (2) 1 1733d 1733d 0/3 auto-closed as invalid on 2019/11/25 07:20
upstream INFO: task hung in get_info netfilter 8 2245d 2243d 0/26 auto-closed as invalid on 2019/02/22 10:34

Sample crash report:
INFO: task syz-executor.0:8399 blocked for more than 143 seconds.
      Not tainted 5.11.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:23208 pid: 8399 ppid:     1 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4324 [inline]
 __schedule+0x90c/0x21a0 kernel/sched/core.c:5075
 schedule+0xcf/0x270 kernel/sched/core.c:5154
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5213
 __mutex_lock_common kernel/locking/mutex.c:1023 [inline]
 __mutex_lock+0x81f/0x1120 kernel/locking/mutex.c:1093
 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:4231
 __sys_getsockopt+0x21f/0x5f0 net/socket.c:2161
 __do_sys_getsockopt net/socket.c:2176 [inline]
 __se_sys_getsockopt net/socket.c:2173 [inline]
 __x64_sys_getsockopt+0xba/0x150 net/socket.c:2173
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x46750a
RSP: 002b:0000000000a9f6b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000a9f6cc RCX: 000000000046750a
RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000a9f6cc R09: 0000000000a9f730
R10: 0000000000a9f6d0 R11: 0000000000000246 R12: 0000000000a9f6d0
R13: 000000000005899c R14: 0000000000000000 R15: 0000000000a9fe40
INFO: task syz-executor.1:8409 blocked for more than 144 seconds.
      Not tainted 5.11.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:23912 pid: 8409 ppid:     1 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4324 [inline]
 __schedule+0x90c/0x21a0 kernel/sched/core.c:5075
 schedule+0xcf/0x270 kernel/sched/core.c:5154
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5213
 __mutex_lock_common kernel/locking/mutex.c:1023 [inline]
 __mutex_lock+0x81f/0x1120 kernel/locking/mutex.c:1093
 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:4231
 __sys_getsockopt+0x21f/0x5f0 net/socket.c:2161
 __do_sys_getsockopt net/socket.c:2176 [inline]
 __se_sys_getsockopt net/socket.c:2173 [inline]
 __x64_sys_getsockopt+0xba/0x150 net/socket.c:2173
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x46750a
RSP: 002b:0000000000a9f6b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000a9f6cc RCX: 000000000046750a
RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000a9f6cc R09: 0000000000a9f730
R10: 0000000000a9f6d0 R11: 0000000000000246 R12: 0000000000a9f6d0
R13: 00000000000589ae R14: 0000000000000000 R15: 0000000000a9fe40
INFO: task syz-executor.2:8462 blocked for more than 144 seconds.
      Not tainted 5.11.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:23912 pid: 8462 ppid:     1 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4324 [inline]
 __schedule+0x90c/0x21a0 kernel/sched/core.c:5075
 schedule+0xcf/0x270 kernel/sched/core.c:5154
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5213
 __mutex_lock_common kernel/locking/mutex.c:1023 [inline]
 __mutex_lock+0x81f/0x1120 kernel/locking/mutex.c:1093
 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:4231
 __sys_getsockopt+0x21f/0x5f0 net/socket.c:2161
 __do_sys_getsockopt net/socket.c:2176 [inline]
 __se_sys_getsockopt net/socket.c:2173 [inline]
 __x64_sys_getsockopt+0xba/0x150 net/socket.c:2173
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x46750a
RSP: 002b:0000000000a9f6b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000a9f6cc RCX: 000000000046750a
RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000a9f6cc R09: 0000000000a9f730
R10: 0000000000a9f6d0 R11: 0000000000000246 R12: 0000000000a9f6d0
R13: 0000000000058995 R14: 0000000000000000 R15: 0000000000a9fe40
INFO: task syz-executor.3:8629 blocked for more than 145 seconds.
      Not tainted 5.11.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:23912 pid: 8629 ppid:     1 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4324 [inline]
 __schedule+0x90c/0x21a0 kernel/sched/core.c:5075
 schedule+0xcf/0x270 kernel/sched/core.c:5154
 synchronize_rcu_expedited+0x453/0x620 kernel/rcu/tree_exp.h:852
 synchronize_rcu+0xdf/0x180 kernel/rcu/tree.c:3767
 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/0x3a00 net/ipv4/ip_sockglue.c:1435
 tcp_setsockopt+0x136/0x2440 net/ipv4/tcp.c:3636
 __sys_setsockopt+0x2db/0x610 net/socket.c:2117
 __do_sys_setsockopt net/socket.c:2128 [inline]
 __se_sys_setsockopt net/socket.c:2125 [inline]
 __x64_sys_setsockopt+0xba/0x150 net/socket.c:2125
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x46753a
RSP: 002b:0000000000a9f6b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000a9f6cc RCX: 000000000046753a
RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000408 R09: 0000000000a9f730
R10: 000000000053c4f0 R11: 0000000000000246 R12: 0000000000a9f720
R13: 000000000158886b R14: 0000000000000000 R15: 0000000000a9fe40
INFO: task syz-executor.4:8663 blocked for more than 146 seconds.
      Not tainted 5.11.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:24088 pid: 8663 ppid:     1 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4324 [inline]
 __schedule+0x90c/0x21a0 kernel/sched/core.c:5075
 schedule+0xcf/0x270 kernel/sched/core.c:5154
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5213
 __mutex_lock_common kernel/locking/mutex.c:1023 [inline]
 __mutex_lock+0x81f/0x1120 kernel/locking/mutex.c:1093
 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:4231
 __sys_getsockopt+0x21f/0x5f0 net/socket.c:2161
 __do_sys_getsockopt net/socket.c:2176 [inline]
 __se_sys_getsockopt net/socket.c:2173 [inline]
 __x64_sys_getsockopt+0xba/0x150 net/socket.c:2173
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x46750a
RSP: 002b:0000000000a9f6b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000a9f6cc RCX: 000000000046750a
RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000a9f6cc R09: 0000000000a9f730
R10: 0000000000a9f6d0 R11: 0000000000000246 R12: 0000000000a9f6d0
R13: 00000000000591a4 R14: 0000000000000000 R15: 0000000000a9fe40
INFO: task syz-executor.5:8942 blocked for more than 146 seconds.
      Not tainted 5.11.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5  state:D stack:23912 pid: 8942 ppid:     1 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4324 [inline]
 __schedule+0x90c/0x21a0 kernel/sched/core.c:5075
 schedule+0xcf/0x270 kernel/sched/core.c:5154
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5213
 __mutex_lock_common kernel/locking/mutex.c:1023 [inline]
 __mutex_lock+0x81f/0x1120 kernel/locking/mutex.c:1093
 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:4231
 __sys_getsockopt+0x21f/0x5f0 net/socket.c:2161
 __do_sys_getsockopt net/socket.c:2176 [inline]
 __se_sys_getsockopt net/socket.c:2173 [inline]
 __x64_sys_getsockopt+0xba/0x150 net/socket.c:2173
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x46750a
RSP: 002b:0000000000a9f6b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000a9f6cc RCX: 000000000046750a
RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000a9f6cc R09: 0000000000a9f730
R10: 0000000000a9f6d0 R11: 0000000000000246 R12: 0000000000a9f6d0
R13: 0000000000058ab2 R14: 0000000000000000 R15: 0000000000a9fe40

Showing all locks held in the system:
2 locks held by kworker/1:0/19:
1 lock held by khungtaskd/1663:
 #0: ffffffff8bf743a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6327
1 lock held by khugepaged/1670:
 #0: ffffffff8c04e048 (lock#5){+.+.}-{3:3}, at: lru_add_drain_all+0x5f/0x6f0 mm/swap.c:777
1 lock held by in:imklog/8217:
 #0: ffff88801d6579f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:961
1 lock held by syz-executor.0/8399:
 #0: ffff888021858458 (&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/8409:
 #0: ffff888021858458 (&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/8462:
 #0: ffff888021858458 (&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/8629:
 #0: ffff888021858458 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206
 #1: ffffffff8bf7cf68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
 #1: ffffffff8bf7cf68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4fa/0x620 kernel/rcu/tree_exp.h:836
1 lock held by syz-executor.4/8663:
 #0: ffff888021858458 (&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/8942:
 #0: ffff888021858458 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x41/0x540 net/netfilter/x_tables.c:1206

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 1663 Comm: khungtaskd Not tainted 5.11.0-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+0xfa/0x151 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+0xd48/0xfb0 kernel/hung_task.c:294
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 19 Comm: kworker/1:0 Not tainted 5.11.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events prog_array_map_clear_deferred
RIP: 0010:hlock_id kernel/locking/lockdep.c:400 [inline]
RIP: 0010:__lock_acquire+0x9d4/0x54c0 kernel/locking/lockdep.c:4888
Code: 0f b6 04 02 84 c0 74 08 3c 03 0f 8e be 34 00 00 0f b7 45 20 66 25 ff 1f 66 89 44 24 08 0f b6 45 22 83 e0 03 48 83 7c 24 20 00 <88> 44 24 18 0f 84 cb 00 00 00 65 48 8b 1c 25 00 f0 01 00 48 8d 83
RSP: 0018:ffffc90000d97898 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 140f7e9f856e2cc6 RCX: ffffffff8158d8b1
RDX: 1ffff11002338ba7 RSI: 0000000040f7e9f1 RDI: ffff8880119c5d39
RBP: ffff8880119c5d18 R08: 0000000000000002 R09: ffffffff8fab09af
R10: fffffbfff1f56135 R11: 0000000000000000 R12: ffff8880119c5340
R13: 0000000000000000 R14: ffff8880119c5cc8 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc0eb6d7000 CR3: 0000000026881000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lock_acquire kernel/locking/lockdep.c:5510 [inline]
 lock_acquire+0x1ab/0x730 kernel/locking/lockdep.c:5475
 __mutex_lock_common kernel/locking/mutex.c:946 [inline]
 __mutex_lock+0x139/0x1120 kernel/locking/mutex.c:1093
 fd_array_map_delete_elem+0x120/0x2e0 kernel/bpf/arraymap.c:759
 bpf_fd_array_map_clear kernel/bpf/arraymap.c:809 [inline]
 prog_array_map_clear_deferred+0x10b/0x1b0 kernel/bpf/arraymap.c:988
 process_one_work+0x98d/0x1600 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:294

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/26 19:01 upstream 2c87f7a38f93 4c37c133 .config console log report info ci-upstream-kasan-gce INFO: task hung in get_info
2021/02/01 07:55 upstream 1048ba83fb1c fc9fd31e .config console log report info ci-upstream-kasan-gce INFO: task hung in get_info
2021/01/21 22:42 bpf-next b452ee005a91 d4f4eca5 .config console log report info ci-upstream-bpf-next-kasan-gce INFO: task hung in get_info
2021/01/16 01:26 bpf 235ecd36c7a9 65a7a854 .config console log report info ci-upstream-bpf-kasan-gce
2021/01/11 10:01 bpf 286e95eed12e 2c1f2513 .config console log report info ci-upstream-bpf-kasan-gce
* Struck through repros no longer work on HEAD.