INFO: task kworker/u4:9:21853 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:9 state:D stack:24856 pid:21853 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8cd/0x2150 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0x7e5/0x1200 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 rdma_dev_exit_net+0x1b7/0x540 drivers/infiniband/core/device.c:1071 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:187 cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:604 process_one_work+0x933/0x15a0 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.3:26635 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:syz-executor.3 state:D stack:26920 pid:26635 ppid: 8496 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8cd/0x2150 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 ip_tunnel_init_net+0x321/0x9d0 net/ipv4/ip_tunnel.c:1062 ops_init+0xaf/0x470 net/core/net_namespace.c:152 setup_net+0x2de/0x850 net/core/net_namespace.c:342 copy_net_ns+0x31e/0x760 net/core/net_namespace.c:483 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xbd/0x1f0 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:0x45e229 RSP: 002b:00007fcdc2700c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000000000045e229 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 000000000119bfb0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007ffce2ebb6cf R14: 00007fcdc27019c0 R15: 000000000119bf8c INFO: task syz-executor.3:26638 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.3 state:D stack:27704 pid:26638 ppid: 8496 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8cd/0x2150 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 ib_get_eth_speed+0xeb/0x5c0 drivers/infiniband/core/verbs.c:1811 rxe_query_port+0x13d/0x2d0 drivers/infiniband/sw/rxe/rxe_verbs.c:41 __ib_query_port drivers/infiniband/core/device.c:2017 [inline] ib_query_port drivers/infiniband/core/device.c:2052 [inline] ib_query_port+0x4d9/0x9e0 drivers/infiniband/core/device.c:2042 add_port drivers/infiniband/core/sysfs.c:1052 [inline] ib_setup_port_attrs+0x1ee/0x14f0 drivers/infiniband/core/sysfs.c:1367 add_one_compat_dev+0x4ab/0x800 drivers/infiniband/core/device.c:917 rdma_dev_init_net+0x2dc/0x480 drivers/infiniband/core/device.c:1133 ops_init+0xaf/0x470 net/core/net_namespace.c:152 setup_net+0x2de/0x850 net/core/net_namespace.c:342 copy_net_ns+0x31e/0x760 net/core/net_namespace.c:483 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xbd/0x1f0 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:0x45e229 RSP: 002b:00007fcdc26dfc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000000000045e229 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 000000000119c058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007ffce2ebb6cf R14: 00007fcdc26e09c0 R15: 000000000119c034 INFO: task syz-executor.1:26710 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:25832 pid:26710 ppid: 8492 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8cd/0x2150 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 vlan_ioctl_handler+0xb7/0xef0 net/8021q/vlan.c:558 sock_ioctl+0x2de/0x6a0 net/socket.c:1146 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e229 RSP: 002b:00007f18059e6c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e229 RDX: 0000000020000080 RSI: 0000000000008982 RDI: 0000000000000006 RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007ffd537ee5ff R14: 00007f18059e79c0 R15: 000000000119c034 INFO: task syz-executor.1:26727 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.1 state:D stack:25832 pid:26727 ppid: 8492 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8cd/0x2150 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 sock_ioctl+0x2c5/0x6a0 net/socket.c:1144 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e229 RSP: 002b:00007f1805962c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e229 RDX: 0000000020000080 RSI: 0000000000008982 RDI: 0000000000000006 RBP: 000000000119c308 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c2d4 R13: 00007ffd537ee5ff R14: 00007f18059639c0 R15: 000000000119c2d4 INFO: task syz-executor.0:26711 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:27704 pid:26711 ppid: 8490 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8cd/0x2150 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 rtnl_lock net/core/rtnetlink.c:72 [inline] rtnetlink_rcv_msg+0x3f9/0xad0 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+0x856/0xd90 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xcf/0x120 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:0x45e229 RSP: 002b:00007f3d13095c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e229 RDX: 0000000000000000 RSI: 00000000200006c0 RDI: 0000000000000003 RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007ffd2f64a8ff R14: 00007f3d130969c0 R15: 000000000119c034 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: #0: ffff8880b9e34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1318 [inline] #0: ffff8880b9e34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x217/0x2150 kernel/sched/core.c:4995 #1: ffffc90000cd7da8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2250 2 locks held by kworker/u4:4/151: #0: ffff8880b9e34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1318 [inline] #0: ffff8880b9e34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x217/0x2150 kernel/sched/core.c:4995 #1: ffff8880b9e20088 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x305/0x440 kernel/sched/psi.c:833 1 lock held by khungtaskd/1653: #0: ffffffff8b33a020 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254 1 lock held by in:imklog/8174: #0: ffff88801c25e370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:932 3 locks held by kworker/1:6/10488: #0: ffff888020e88938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888020e88938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888020e88938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888020e88938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888020e88938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888020e88938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x821/0x15a0 kernel/workqueue.c:2246 #1: ffffc900017efda8 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2250 #2: ffffffff8c911748 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4569 4 locks held by kworker/u4:9/21853: #0: ffff888140bab138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888140bab138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888140bab138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888140bab138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888140bab138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888140bab138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x821/0x15a0 kernel/workqueue.c:2246 #1: ffffc9000113fda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2250 #2: ffffffff8c8ff510 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb10 net/core/net_namespace.c:566 #3: ffffffff8c6404f0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_exit_net+0x1b7/0x540 drivers/infiniband/core/device.c:1071 2 locks held by syz-executor.3/26635: #0: ffffffff8c8ff510 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2fa/0x760 net/core/net_namespace.c:479 #1: ffffffff8c911748 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x321/0x9d0 net/ipv4/ip_tunnel.c:1062 6 locks held by syz-executor.3/26638: #0: ffffffff8c8ff510 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2fa/0x760 net/core/net_namespace.c:479 #1: ffffffff8c640770 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x25e/0x480 drivers/infiniband/core/device.c:1127 #2: ffffffff8c6404f0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x2d1/0x480 drivers/infiniband/core/device.c:1132 #3: ffff888061794f70 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0xea/0x800 drivers/infiniband/core/device.c:891 #4: ffff8880617951a8 (&rxe->usdev_lock){+.+.}-{3:3}, at: rxe_query_port+0x129/0x2d0 drivers/infiniband/sw/rxe/rxe_verbs.c:40 #5: ffffffff8c911748 (rtnl_mutex){+.+.}-{3:3}, at: ib_get_eth_speed+0xeb/0x5c0 drivers/infiniband/core/verbs.c:1811 2 locks held by syz-executor.1/26710: #0: ffffffff8c8f2528 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x2c5/0x6a0 net/socket.c:1144 #1: ffffffff8c911748 (rtnl_mutex){+.+.}-{3:3}, at: vlan_ioctl_handler+0xb7/0xef0 net/8021q/vlan.c:558 1 lock held by syz-executor.1/26727: #0: ffffffff8c8f2528 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x2c5/0x6a0 net/socket.c:1144 2 locks held by syz-executor.0/26708: 1 lock held by syz-executor.0/26711: #0: ffffffff8c911748 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8c911748 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3f9/0xad0 net/core/rtnetlink.c:5561 ============================================= NMI backtrace for cpu 1 CPU: 1 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+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: 29 Comm: kworker/u4:2 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_iv_send_outstanding_bat_ogm_packet RIP: 0010:unwind_next_frame+0x42/0x1f90 arch/x86/kernel/unwind_orc.c:418 Code: 81 ec a0 00 00 00 48 c7 44 24 40 b3 8a b5 41 48 8d 5c 24 40 48 c7 44 24 48 d1 19 c4 8a 48 c1 eb 03 48 c7 44 24 50 b0 e8 2f 81 <48> 8d 14 03 c7 02 f1 f1 f1 f1 c7 42 04 00 f3 f3 f3 48 89 fa 65 48 RSP: 0018:ffffc90000e3f670 EFLAGS: 00000a02 RAX: dffffc0000000000 RBX: 1ffff920001c7ed6 RCX: ffffc90000e3f828 RDX: ffffc90000e40000 RSI: ffffc90000e3f768 RDI: ffffc90000e3f798 RBP: dffffc0000000000 R08: ffffffff8d6132d4 R09: 0000000000000001 R10: 0000000000082081 R11: 0000000000000001 R12: fffff520001c7ef5 R13: fffff520001c7ef4 R14: ffffc90000e3f7d0 R15: ffffc90000e3f798 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe9cbba6000 CR3: 000000001a39a000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __unwind_start+0x51b/0x800 arch/x86/kernel/unwind_orc.c:696 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0x5c/0xe0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc2/0xd0 mm/kasan/common.c:461 slab_post_alloc_hook mm/slab.h:512 [inline] slab_alloc_node mm/slub.c:2889 [inline] slab_alloc mm/slub.c:2897 [inline] __kmalloc+0x1db/0x3e0 mm/slub.c:3964 kmalloc include/linux/slab.h:557 [inline] batadv_tvlv_realloc_packet_buff net/batman-adv/tvlv.c:277 [inline] batadv_tvlv_container_ogm_append+0x136/0x4d0 net/batman-adv/tvlv.c:318 batadv_iv_ogm_schedule_buff+0x119b/0x1410 net/batman-adv/bat_iv_ogm.c:812 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:869 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:862 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x5c8/0x800 net/batman-adv/bat_iv_ogm.c:1723 process_one_work+0x933/0x15a0 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