syzbot


INFO: task can't die in ipmr_rules_exit

Status: auto-closed as invalid on 2021/02/14 17:27
Subsystems: net
[Documentation on labels]
First crash: 1198d, last: 1198d

Sample crash report:
INFO: task syz-executor.5:16339 can't die for more than 143 seconds.
task:syz-executor.5  state:D stack:25016 pid:16339 ppid:  8637 flags:0x00004006
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x8eb/0x21b0 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
 ipmr_rules_exit+0x20/0x2a0 net/ipv4/ipmr.c:274
 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:187
 setup_net+0x508/0x850 net/core/net_namespace.c:365
 copy_net_ns+0x376/0x7b0 net/core/net_namespace.c:483
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 copy_namespaces+0x3e5/0x4a0 kernel/nsproxy.c:178
 copy_process+0x2aa7/0x6fe0 kernel/fork.c:2103
 kernel_clone+0xe7/0xad0 kernel/fork.c:2465
 __do_sys_clone+0xc8/0x110 kernel/fork.c:2582
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e149
RSP: 002b:00007f119038cc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e149
RDX: 9999999999999999 RSI: 0000000000000000 RDI: 00000000e900e57c
RBP: 000000000119bfd0 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffe8dba949f R14: 00007f119038d9c0 R15: 000000000119bf8c
INFO: task syz-executor.3:16341 can't die for more than 144 seconds.
task:syz-executor.3  state:R  running task     stack:25032 pid:16341 ppid:  8514 flags:0x00004006
Call Trace:
INFO: task syz-executor.2:16374 can't die for more than 145 seconds.
task:syz-executor.2  state:D stack:25016 pid:16374 ppid:  8512 flags:0x00004006
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x8eb/0x21b0 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
 ipmr_rules_exit+0x20/0x2a0 net/ipv4/ipmr.c:274
 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:187
 setup_net+0x508/0x850 net/core/net_namespace.c:365
 copy_net_ns+0x376/0x7b0 net/core/net_namespace.c:483
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 copy_namespaces+0x3e5/0x4a0 kernel/nsproxy.c:178
 copy_process+0x2aa7/0x6fe0 kernel/fork.c:2103
 kernel_clone+0xe7/0xad0 kernel/fork.c:2465
 __do_sys_clone+0xc8/0x110 kernel/fork.c:2582
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e149
RSP: 002b:00007f53edd82c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e149
RDX: 9999999999999999 RSI: 0000000000000000 RDI: 00000000e900e57c
RBP: 000000000119bfd0 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007fffbb2992ef R14: 00007f53edd839c0 R15: 000000000119bf8c
INFO: task syz-executor.1:16384 can't die for more than 145 seconds.
task:syz-executor.1  state:D stack:25288 pid:16384 ppid:  8510 flags:0x00004006
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x8eb/0x21b0 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
 ip6mr_sk_done+0xe9/0x3a0 net/ipv6/ip6mr.c:1583
 rawv6_close+0x58/0x80 net/ipv6/raw.c:1198
 inet_release+0x12e/0x280 net/ipv4/af_inet.c:431
 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:475
 __sock_release net/socket.c:597 [inline]
 sock_release+0x87/0x1b0 net/socket.c:625
 inet_ctl_sock_destroy include/net/inet_common.h:63 [inline]
 ndisc_net_exit+0x62/0x80 net/ipv6/ndisc.c:1911
 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:187
 setup_net+0x508/0x850 net/core/net_namespace.c:365
 copy_net_ns+0x376/0x7b0 net/core/net_namespace.c:483
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 copy_namespaces+0x3e5/0x4a0 kernel/nsproxy.c:178
 copy_process+0x2aa7/0x6fe0 kernel/fork.c:2103
 kernel_clone+0xe7/0xad0 kernel/fork.c:2465
 __do_sys_clone+0xc8/0x110 kernel/fork.c:2582
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e149
RSP: 002b:00007f64e16e3c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e149
RDX: 9999999999999999 RSI: 0000000000000000 RDI: 00000000e900e57c
RBP: 000000000119bfd0 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffd894c5e9f R14: 00007f64e16e49c0 R15: 000000000119bf8c

Showing all locks held in the system:
6 locks held by kworker/u4:5/202:
 #0: ffff8881407a3138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff8881407a3138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff8881407a3138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff8881407a3138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff8881407a3138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff8881407a3138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x871/0x1630 kernel/workqueue.c:2246
 #1: ffffc9000107fda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1630 kernel/workqueue.c:2250
 #2: ffffffff8d0c1950 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb10 net/core/net_namespace.c:566
 #3: ffffffff8d1113c8 (devlink_mutex){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x6f/0x220 net/core/devlink.c:10324
 #4: ffff888011a06390 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_port_del_all drivers/net/netdevsim/dev.c:977 [inline]
 #4: ffff888011a06390 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_reload_destroy+0x9e/0x1e0 drivers/net/netdevsim/dev.c:1158
 #5: ffffffff8d0dc6a8 (rtnl_mutex){+.+.}-{3:3}, at: devlink_nl_port_fill+0x152/0x1270 net/core/devlink.c:776
1 lock held by khungtaskd/1663:
 #0: ffffffff8b78f920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x28c kernel/locking/lockdep.c:6254
2 locks held by in:imklog/8198:
 #0: ffff88801b7a9270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:923
 #1: ffffffff8b78f920 (rcu_read_lock){....}-{1:2}, at: select_task_rq_fair+0x237/0x33e0 kernel/sched/fair.c:6727
3 locks held by rs:main Q:Reg/8199:
2 locks held by kworker/u4:6/10003:
 #0: ffff8880b9d34c58 (&rq->lock){-.-.}-{2:2}, at: newidle_balance+0x7f8/0xea0 kernel/sched/fair.c:10642
 #1: ffffffff8b78f920 (rcu_read_lock){....}-{1:2}, at: cpu_of kernel/sched/sched.h:1085 [inline]
 #1: ffffffff8b78f920 (rcu_read_lock){....}-{1:2}, at: __update_idle_core+0x39/0x470 kernel/sched/fair.c:6042
2 locks held by kworker/1:15/11670:
 #0: ffff88801087c538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff88801087c538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff88801087c538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff88801087c538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff88801087c538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff88801087c538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x871/0x1630 kernel/workqueue.c:2246
 #1: ffffc9001687fda8 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1630 kernel/workqueue.c:2250
3 locks held by kworker/1:16/15089:
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x871/0x1630 kernel/workqueue.c:2246
 #1: ffffc90002a07da8 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1630 kernel/workqueue.c:2250
 #2: ffff888011a06390 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x5d/0xbd0 drivers/net/netdevsim/dev.c:606
3 locks held by kworker/0:15/15249:
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff888010862d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x871/0x1630 kernel/workqueue.c:2246
 #1: ffffc9000388fda8 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1630 kernel/workqueue.c:2250
 #2: ffffffff8d0dc6a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:250
2 locks held by syz-executor.5/16339:
 #0: ffffffff8d0c1950 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x352/0x7b0 net/core/net_namespace.c:479
 #1: ffffffff8d0dc6a8 (rtnl_mutex){+.+.}-{3:3}, at: ipmr_rules_exit+0x20/0x2a0 net/ipv4/ipmr.c:274
2 locks held by syz-executor.3/16341:
 #0: ffffffff8d0c1950 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x352/0x7b0 net/core/net_namespace.c:479
 #1: ffffffff8d0dc6a8 (rtnl_mutex){+.+.}-{3:3}, at: ip_fib_net_exit+0x1b/0x2b0 net/ipv4/fib_frontend.c:1544
2 locks held by syz-executor.2/16374:
 #0: ffffffff8d0c1950 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x352/0x7b0 net/core/net_namespace.c:479
 #1: ffffffff8d0dc6a8 (rtnl_mutex){+.+.}-{3:3}, at: ipmr_rules_exit+0x20/0x2a0 net/ipv4/ipmr.c:274
2 locks held by syz-executor.1/16384:
 #0: ffffffff8d0c1950 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x352/0x7b0 net/core/net_namespace.c:479
 #1: ffffffff8d0dc6a8 (rtnl_mutex){+.+.}-{3:3}, at: ip6mr_sk_done+0xe9/0x3a0 net/ipv6/ip6mr.c:1583
2 locks held by syz-executor.0/16506:
 #0: ffffffff8d0dc6a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:676 [inline]
 #0: ffffffff8d0dc6a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1a0 drivers/net/tun.c:3354
 #1: ffffffff8b799e28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
 #1: ffffffff8b799e28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4ff/0x620 kernel/rcu/tree_exp.h:836

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


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/16 17:27 linux-next 26aed0ea32c8 04201c06 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.