syzbot


INFO: task hung in route4_delete_filter_work (2)

Status: auto-closed as invalid on 2021/04/04 10:04
Subsystems: net
[Documentation on labels]
First crash: 1205d, last: 1205d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in route4_delete_filter_work net 2 1300d 1301d 0/26 auto-closed as invalid on 2020/12/30 08:17

Sample crash report:
INFO: task kworker/u4:6:237 blocked for more than 143 seconds.
      Not tainted 5.10.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:6    state:D stack:24784 pid:  237 ppid:     2 flags:0x00004000
Workqueue: tc_filter_workqueue route4_delete_filter_work
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x951/0x2290 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+0x9e9/0x1240 kernel/locking/mutex.c:1103
 route4_delete_filter_work+0x17/0xf0 net/sched/cls_route.c:265
 process_one_work+0x868/0x15c0 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
INFO: task kworker/u4:10:31739 blocked for more than 143 seconds.
      Not tainted 5.10.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:10   state:D stack:24336 pid:31739 ppid:     2 flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x951/0x2290 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+0x9e9/0x1240 kernel/locking/mutex.c:1103
 cangw_pernet_exit+0xe/0x20 net/can/gw.c:1241
 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:187
 cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:604
 process_one_work+0x868/0x15c0 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
INFO: task syz-executor.1:7529 blocked for more than 144 seconds.
      Not tainted 5.10.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:27512 pid: 7529 ppid:  8479 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x951/0x2290 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+0x9e9/0x1240 kernel/locking/mutex.c:1103
 ip_tunnel_init_net+0x1f6/0x5c0 net/ipv4/ip_tunnel.c:1062
 ops_init+0xaf/0x4a0 net/core/net_namespace.c:152
 setup_net+0x2de/0x850 net/core/net_namespace.c:342
 copy_net_ns+0x376/0x7b0 net/core/net_namespace.c:483
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xbd/0x230 kernel/nsproxy.c:226
 ksys_unshare+0x445/0x8e0 kernel/fork.c:2957
 __do_sys_unshare kernel/fork.c:3025 [inline]
 __se_sys_unshare kernel/fork.c:3023 [inline]
 __x64_sys_unshare+0x2d/0x40 kernel/fork.c:3023
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
RSP: 002b:00007f3eaf988c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000000000045e219
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 000000000119bfb0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffcef35fb6f R14: 00007f3eaf9899c0 R15: 000000000119bf8c
INFO: task syz-executor.1:7561 blocked for more than 144 seconds.
      Not tainted 5.10.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:27944 pid: 7561 ppid:  8479 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x951/0x2290 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+0x9e9/0x1240 kernel/locking/mutex.c:1103
 smc_pnet_create_pnetids_list net/smc/smc_pnet.c:799 [inline]
 smc_pnet_net_init+0x111/0x1d0 net/smc/smc_pnet.c:868
 ops_init+0xaf/0x4a0 net/core/net_namespace.c:152
 setup_net+0x2de/0x850 net/core/net_namespace.c:342
 copy_net_ns+0x376/0x7b0 net/core/net_namespace.c:483
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xbd/0x230 kernel/nsproxy.c:226
 ksys_unshare+0x445/0x8e0 kernel/fork.c:2957
 __do_sys_unshare kernel/fork.c:3025 [inline]
 __se_sys_unshare kernel/fork.c:3023 [inline]
 __x64_sys_unshare+0x2d/0x40 kernel/fork.c:3023
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
RSP: 002b:00007f3eaf925c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000000000045e219
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 000000000119c1a8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c184
R13: 00007ffcef35fb6f R14: 00007f3eaf9269c0 R15: 000000000119c184
INFO: task syz-executor.0:7540 blocked for more than 145 seconds.
      Not tainted 5.10.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:28144 pid: 7540 ppid:  8477 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x951/0x2290 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+0x9e9/0x1240 kernel/locking/mutex.c:1103
 ppp_release+0x178/0x240 drivers/net/ppp/ppp_generic.c:402
 __fput+0x285/0x930 fs/file_table.c:281
 task_work_run+0xdd/0x190 kernel/task_work.c:168
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:174 [inline]
 exit_to_user_mode_prepare+0x249/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x417b71
RSP: 002b:00007fffba6d9450 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000417b71
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000007
RBP: 0000000000000001 R08: 000000000000118a R09: 00000000c886b18e
R10: 00007fffba6d9530 R11: 0000000000000293 R12: ffffffffffffffff
R13: 00000000000fe9c8 R14: 00000000000003e8 R15: 000000000119bf8c
INFO: task syz-executor.4:7574 blocked for more than 145 seconds.
      Not tainted 5.10.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:28088 pid: 7574 ppid:  8485 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x951/0x2290 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+0x9e9/0x1240 kernel/locking/mutex.c:1103
 smc_pnet_create_pnetids_list net/smc/smc_pnet.c:799 [inline]
 smc_pnet_net_init+0x111/0x1d0 net/smc/smc_pnet.c:868
 ops_init+0xaf/0x4a0 net/core/net_namespace.c:152
 setup_net+0x2de/0x850 net/core/net_namespace.c:342
 copy_net_ns+0x376/0x7b0 net/core/net_namespace.c:483
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xbd/0x230 kernel/nsproxy.c:226
 ksys_unshare+0x445/0x8e0 kernel/fork.c:2957
 __do_sys_unshare kernel/fork.c:3025 [inline]
 __se_sys_unshare kernel/fork.c:3023 [inline]
 __x64_sys_unshare+0x2d/0x40 kernel/fork.c:3023
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
RSP: 002b:00007f654eeb9c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000000000045e219
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006c060000
RBP: 000000000119bfb0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffe95abcfbf R14: 00007f654eeba9c0 R15: 000000000119bf8c
INFO: task syz-executor.4:7576 blocked for more than 145 seconds.
      Not tainted 5.10.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:28608 pid: 7576 ppid:  8485 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x951/0x2290 kernel/sched/core.c:5078
 schedule+0xcf/0x270 kernel/sched/core.c:5157
 rwsem_down_write_slowpath+0x85a/0x1370 kernel/locking/rwsem.c:1106
 __down_write_common kernel/locking/rwsem.c:1261 [inline]
 __down_write_common kernel/locking/rwsem.c:1258 [inline]
 __down_write kernel/locking/rwsem.c:1270 [inline]
 down_write+0x132/0x150 kernel/locking/rwsem.c:1407
 register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1803
 bcm_init+0x1a3/0x210 net/can/bcm.c:1449
 can_create+0x27c/0x4d0 net/can/af_can.c:168
 __sock_create+0x4ab/0x880 net/socket.c:1406
 sock_create net/socket.c:1457 [inline]
 __sys_socket+0xef/0x200 net/socket.c:1499
 __do_sys_socket net/socket.c:1508 [inline]
 __se_sys_socket net/socket.c:1506 [inline]
 __x64_sys_socket+0x6f/0xb0 net/socket.c:1506
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
RSP: 002b:00007f654ee98c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219
RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d
RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034
R13: 00007ffe95abcfbf R14: 00007f654ee999c0 R15: 000000000119c034
INFO: task syz-executor.4:7591 blocked for more than 146 seconds.
      Not tainted 5.10.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:29200 pid: 7591 ppid:  8485 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x951/0x2290 kernel/sched/core.c:5078
 schedule+0xcf/0x270 kernel/sched/core.c:5157
 rwsem_down_write_slowpath+0x85a/0x1370 kernel/locking/rwsem.c:1106
 __down_write_common kernel/locking/rwsem.c:1261 [inline]
 __down_write_common kernel/locking/rwsem.c:1258 [inline]
 __down_write kernel/locking/rwsem.c:1270 [inline]
 down_write+0x132/0x150 kernel/locking/rwsem.c:1407
 register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1803
 bcm_init+0x1a3/0x210 net/can/bcm.c:1449
 can_create+0x27c/0x4d0 net/can/af_can.c:168
 __sock_create+0x4ab/0x880 net/socket.c:1406
 sock_create net/socket.c:1457 [inline]
 __sys_socket+0xef/0x200 net/socket.c:1499
 __do_sys_socket net/socket.c:1508 [inline]
 __se_sys_socket net/socket.c:1506 [inline]
 __x64_sys_socket+0x6f/0xb0 net/socket.c:1506
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
RSP: 002b:00007f654ee14c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219
RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d
RBP: 000000000119c308 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c2d4
R13: 00007ffe95abcfbf R14: 00007f654ee159c0 R15: 000000000119c2d4
INFO: task syz-executor.3:7599 blocked for more than 146 seconds.
      Not tainted 5.10.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:28288 pid: 7599 ppid:  8483 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x951/0x2290 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+0x9e9/0x1240 kernel/locking/mutex.c:1103
 rtnl_lock net/core/rtnetlink.c:72 [inline]
 rtnetlink_rcv_msg+0x43e/0xb40 net/core/rtnetlink.c:5561
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2494
 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330
 netlink_sendmsg+0x907/0xe10 net/netlink/af_netlink.c:1919
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xd3/0x130 net/socket.c:672
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2336
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2390
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2423
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
RSP: 002b:00007f6cacbfec68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000005
RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034
R13: 00007fff8576e83f R14: 00007f6cacbff9c0 R15: 000000000119c034
INFO: task syz-executor.3:7601 blocked for more than 147 seconds.
      Not tainted 5.10.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:28288 pid: 7601 ppid:  8483 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x951/0x2290 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+0x9e9/0x1240 kernel/locking/mutex.c:1103
 rtnl_lock net/core/rtnetlink.c:72 [inline]
 rtnetlink_rcv_msg+0x43e/0xb40 net/core/rtnetlink.c:5561
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2494
 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330
 netlink_sendmsg+0x907/0xe10 net/netlink/af_netlink.c:1919
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xd3/0x130 net/socket.c:672
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2336
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2390
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2423
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
RSP: 002b:00007f6cacbddc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000007
RBP: 000000000119c110 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c0dc
R13: 00007fff8576e83f R14: 00007f6cacbde9c0 R15: 000000000119c0dc

Showing all locks held in the system:
3 locks held by kworker/u4:6/237:
 #0: ffff88814166f938 ((wq_completion)tc_filter_workqueue){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff88814166f938 ((wq_completion)tc_filter_workqueue){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff88814166f938 ((wq_completion)tc_filter_workqueue){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff88814166f938 ((wq_completion)tc_filter_workqueue){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff88814166f938 ((wq_completion)tc_filter_workqueue){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff88814166f938 ((wq_completion)tc_filter_workqueue){+.+.}-{0:0}, at: process_one_work+0x750/0x15c0 kernel/workqueue.c:2246
 #1: ffffc900013ffda8 ((work_completion)(&(rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x783/0x15c0 kernel/workqueue.c:2250
 #2: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: route4_delete_filter_work+0x17/0xf0 net/sched/cls_route.c:265
1 lock held by khungtaskd/1653:
 #0: ffffffff8ba40120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x28c kernel/locking/lockdep.c:6254
1 lock held by in:imklog/8162:
 #0: ffff88801dfc8af0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:932
3 locks held by kworker/u4:7/9973:
3 locks held by kworker/1:24/28337:
 #0: ffff888011062d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888011062d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff888011062d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff888011062d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff888011062d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff888011062d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x750/0x15c0 kernel/workqueue.c:2246
 #1: ffffc90001cafda8 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x783/0x15c0 kernel/workqueue.c:2250
 #2: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74
3 locks held by kworker/0:39/29768:
 #0: ffff888021d7d538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888021d7d538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff888021d7d538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff888021d7d538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff888021d7d538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff888021d7d538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x750/0x15c0 kernel/workqueue.c:2246
 #1: ffffc90008ccfda8 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x783/0x15c0 kernel/workqueue.c:2250
 #2: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4569
4 locks held by kworker/u4:10/31739:
 #0: ffff888011e7b138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888011e7b138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff888011e7b138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff888011e7b138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff888011e7b138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff888011e7b138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x750/0x15c0 kernel/workqueue.c:2246
 #1: ffffc9000320fda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x783/0x15c0 kernel/workqueue.c:2250
 #2: ffffffff8d8e0f90 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb10 net/core/net_namespace.c:566
 #3: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: cangw_pernet_exit+0xe/0x20 net/can/gw.c:1241
2 locks held by syz-executor.1/7529:
 #0: ffffffff8d8e0f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x352/0x7b0 net/core/net_namespace.c:479
 #1: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x1f6/0x5c0 net/ipv4/ip_tunnel.c:1062
2 locks held by syz-executor.1/7561:
 #0: ffffffff8d8e0f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x352/0x7b0 net/core/net_namespace.c:479
 #1: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:799 [inline]
 #1: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x111/0x1d0 net/smc/smc_pnet.c:868
1 lock held by syz-executor.5/7544:
1 lock held by syz-executor.0/7540:
 #0: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: ppp_release+0x178/0x240 drivers/net/ppp/ppp_generic.c:402
2 locks held by syz-executor.4/7574:
 #0: ffffffff8d8e0f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x352/0x7b0 net/core/net_namespace.c:479
 #1: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:799 [inline]
 #1: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x111/0x1d0 net/smc/smc_pnet.c:868
1 lock held by syz-executor.4/7576:
 #0: ffffffff8d8e0f90 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1803
1 lock held by syz-executor.4/7591:
 #0: ffffffff8d8e0f90 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1803
1 lock held by syz-executor.3/7599:
 #0: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x43e/0xb40 net/core/rtnetlink.c:5561
1 lock held by syz-executor.3/7601:
 #0: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x43e/0xb40 net/core/rtnetlink.c:5561
1 lock held by syz-executor.3/7603:
 #0: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x43e/0xb40 net/core/rtnetlink.c:5561
1 lock held by syz-executor.3/7609:
 #0: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d9019c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x43e/0xb40 net/core/rtnetlink.c:5561

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

NMI backtrace for cpu 0
CPU: 0 PID: 1653 Comm: khungtaskd Not tainted 5.10.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+0x107/0x163 lib/dump_stack.c:120
 nmi_cpu_backtrace.cold+0x5c/0x7b 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+0xe36/0x11f0 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9973 Comm: kworker/u4:7 Not tainted 5.10.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lock_acquire+0xc/0x780 kernel/locking/lockdep.c:5405
Code: 7d 0f 8e e8 a6 92 5f 00 e9 a5 fe ff ff 48 c7 c7 58 7d 0f 8e e8 95 92 5f 00 e9 fb fe ff ff 48 b8 00 00 00 00 00 fc ff df 41 57 <41> 89 d7 41 56 41 89 f6 41 55 49 89 fd 41 54 41 89 cc 55 44 89 c5
RSP: 0018:ffffc9001648fc00 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffff8880638c5500 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880638c5518
RBP: ffff8880638c5500 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000080 R11: 0000000000000157 R12: ffff888011069800
R13: ffff888063858bc0 R14: dffffc0000000000 R15: ffffffff88d85ac0
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3ed6ab1000 CR3: 0000000014138000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __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]
 batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:438
 batadv_nc_worker+0x8a2/0xe80 net/batman-adv/network-coding.c:718
 process_one_work+0x868/0x15c0 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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/04 10:00 net-next-old 3db1a3fa9880 79264ae3 .config console log report info ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.