INFO: task syz-executor.1:29532 blocked for more than 143 seconds. Not tainted 5.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26680 pid:29532 ppid: 8454 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1516 rdma_dev_exit_net+0x16b/0x550 drivers/infiniband/core/device.c:1122 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:168 setup_net+0x639/0xa30 net/core/net_namespace.c:349 copy_net_ns+0x319/0x760 net/core/net_namespace.c:470 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:226 ksys_unshare+0x445/0x920 kernel/fork.c:3078 __do_sys_unshare kernel/fork.c:3152 [inline] __se_sys_unshare kernel/fork.c:3150 [inline] __x64_sys_unshare+0x2d/0x40 kernel/fork.c:3150 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 RSP: 002b:00007fdfe1d5b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006c060000 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007fff32a8f7df R14: 00007fdfe1d5b300 R15: 0000000000022000 INFO: task syz-executor.0:29638 blocked for more than 143 seconds. Not tainted 5.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27288 pid:29638 ppid: 8452 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1516 rdma_dev_exit_net+0x16b/0x550 drivers/infiniband/core/device.c:1122 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:168 setup_net+0x639/0xa30 net/core/net_namespace.c:349 copy_net_ns+0x319/0x760 net/core/net_namespace.c:470 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:226 ksys_unshare+0x445/0x920 kernel/fork.c:3078 __do_sys_unshare kernel/fork.c:3152 [inline] __se_sys_unshare kernel/fork.c:3150 [inline] __x64_sys_unshare+0x2d/0x40 kernel/fork.c:3150 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 RSP: 002b:00007f5481e38188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006c060000 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffd4ba3dcbf R14: 00007f5481e38300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by ksoftirqd/1/19: 4 locks held by kworker/u4:4/179: #0: ffff888015ff2138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888015ff2138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888015ff2138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888015ff2138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888015ff2138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888015ff2138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268 #1: ffffc900012bfdb0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272 #2: ffffffff8d0d2f90 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb00 net/core/net_namespace.c:553 #3: ffffffff8cdfddb0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_exit_net+0x16b/0x550 drivers/infiniband/core/device.c:1122 1 lock held by khungtaskd/1612: #0: ffffffff8b97fc60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/8140: #0: ffff88807dcfa5f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by syz-executor.1/29532: #0: ffffffff8d0d2f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:466 #1: ffffffff8cdfddb0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_exit_net+0x16b/0x550 drivers/infiniband/core/device.c:1122 2 locks held by syz-executor.0/29638: #0: ffffffff8d0d2f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:466 #1: ffffffff8cdfddb0 ( rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_exit_net+0x16b/0x550 drivers/infiniband/core/device.c:1122 6 locks held by syz-executor.5/29751: 3 locks held by syz-executor.3/29835: #0: ffffffff8d0d2f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:466 #1: ffffffff8cdfe030 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x20d/0x480 drivers/infiniband/core/device.c:1178 #2: ffffffff8cdfddb0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x280/0x480 drivers/infiniband/core/device.c:1183 3 locks held by syz-executor.3/29859: #0: ffffffff8d0d2f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:466 #1: ffffffff8cdfe030 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x20d/0x480 drivers/infiniband/core/device.c:1178 #2: ffffffff8cdfddb0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x280/0x480 drivers/infiniband/core/device.c:1183 3 locks held by syz-executor.4/29845: #0: ffffffff8d0d2f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:466 #1: ffffffff8cdfe030 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x20d/0x480 drivers/infiniband/core/device.c:1178 #2: ffffffff8cdfddb0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x280/0x480 drivers/infiniband/core/device.c:1183 3 locks held by syz-executor.4/29860: #0: ffffffff8d0d2f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:466 #1: ffffffff8cdfe030 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x20d/0x480 drivers/infiniband/core/device.c:1178 #2: ffffffff8cdfddb0 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x280/0x480 drivers/infiniband/core/device.c:1183 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1612 Comm: khungtaskd Not tainted 5.14.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:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hlock_class kernel/locking/lockdep.c:199 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4688 [inline] RIP: 0010:__lock_acquire+0x3ee/0x54a0 kernel/locking/lockdep.c:4965 Code: 6c 24 10 be 08 00 00 00 81 e5 ff 1f 00 00 48 89 e8 48 c1 f8 06 48 8d 3c c5 e0 e8 cf 8f e8 fa 53 62 00 48 0f a3 2d d2 e6 74 0e <0f> 83 f1 0c 00 00 48 8d 6c 6d 00 48 c1 e5 06 48 81 c5 00 ed cf 8f RSP: 0018:ffffc90000d96bc8 EFLAGS: 00000047 RAX: 0000000000000001 RBX: ffff888074ca0e58 RCX: ffffffff815b0206 RDX: fffffbfff1f9fd3b RSI: 0000000000000008 RDI: ffffffff8fcfe9d0 RBP: 000000000000079c R08: 0000000000000000 R09: ffffffff8fcfe9d7 R10: fffffbfff1f9fd3a R11: 0000000000000007 R12: ffff888011fb5ff0 R13: ffff888011fb5580 R14: 0000000000062000 R15: 000000000006279c FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3b3dd80028 CR3: 000000000b68e000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 __raw_read_lock_bh include/linux/rwlock_api_smp.h:176 [inline] _raw_read_lock_bh+0x3b/0x70 kernel/locking/spinlock.c:252 ebt_do_table+0xcc/0x1dc0 net/bridge/netfilter/ebtables.c:211 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xc5/0x1e0 net/netfilter/core.c:589 nf_hook+0x3d4/0x680 include/linux/netfilter.h:262 NF_HOOK include/linux/netfilter.h:305 [inline] br_forward_finish+0x7f/0xd0 net/bridge/br_forward.c:66 br_nf_hook_thresh+0x2a5/0x360 net/bridge/br_netfilter_hooks.c:1025 br_nf_forward_finish+0x7b3/0xc40 net/bridge/br_netfilter_hooks.c:564 NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] br_nf_forward_ip net/bridge/br_netfilter_hooks.c:634 [inline] br_nf_forward_ip+0x538/0x1cb0 net/bridge/br_netfilter_hooks.c:575 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xc5/0x1e0 net/netfilter/core.c:589 nf_hook+0x3d4/0x680 include/linux/netfilter.h:262 NF_HOOK include/linux/netfilter.h:305 [inline] __br_forward+0x198/0x620 net/bridge/br_forward.c:115 deliver_clone net/bridge/br_forward.c:131 [inline] maybe_deliver+0x331/0x430 net/bridge/br_forward.c:189 br_flood+0x13a/0x450 net/bridge/br_forward.c:231 br_handle_frame_finish+0xf66/0x1850 net/bridge/br_input.c:168 br_nf_hook_thresh+0x2a5/0x360 net/bridge/br_netfilter_hooks.c:1025 br_nf_pre_routing_finish_ipv6+0x684/0xe00 net/bridge/br_netfilter_ipv6.c:206 NF_HOOK include/linux/netfilter.h:307 [inline] br_nf_pre_routing_ipv6+0x42c/0x7b0 net/bridge/br_netfilter_ipv6.c:236 br_nf_pre_routing+0x1477/0x1ec0 net/bridge/br_netfilter_hooks.c:505 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_bridge_pre net/bridge/br_input.c:230 [inline] br_handle_frame+0x8f8/0x1180 net/bridge/br_input.c:370 __netif_receive_skb_core+0x9da/0x3640 net/core/dev.c:5330 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5434 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5550 process_backlog+0x2a5/0x6c0 net/core/dev.c:6427 __napi_poll+0xaf/0x440 net/core/dev.c:6982 napi_poll net/core/dev.c:7049 [inline] net_rx_action+0x801/0xb40 net/core/dev.c:7136 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 run_ksoftirqd kernel/softirq.c:920 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:912 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 6c insb (%dx),%es:(%rdi) 1: 24 10 and $0x10,%al 3: be 08 00 00 00 mov $0x8,%esi 8: 81 e5 ff 1f 00 00 and $0x1fff,%ebp e: 48 89 e8 mov %rbp,%rax 11: 48 c1 f8 06 sar $0x6,%rax 15: 48 8d 3c c5 e0 e8 cf lea -0x70301720(,%rax,8),%rdi 1c: 8f 1d: e8 fa 53 62 00 callq 0x62541c 22: 48 0f a3 2d d2 e6 74 bt %rbp,0xe74e6d2(%rip) # 0xe74e6fc 29: 0e * 2a: 0f 83 f1 0c 00 00 jae 0xd21 <-- trapping instruction 30: 48 8d 6c 6d 00 lea 0x0(%rbp,%rbp,2),%rbp 35: 48 c1 e5 06 shl $0x6,%rbp 39: 48 81 c5 00 ed cf 8f add $0xffffffff8fcfed00,%rbp