============================================
WARNING: possible recursive locking detected
6.16.0-rc3-syzkaller-00159-g223e2288f4b8 #0 Not tainted
--------------------------------------------
syz.0.1774/11636 is trying to acquire lock:
ffff8880298ccf30 (&hsr->seqnr_lock){+.-.}-{3:3}, at: hsr_dev_xmit+0x19a/0x220

but task is already holding lock:
ffff888028c3af30 (&hsr->seqnr_lock){+.-.}-{3:3}, at: hsr_dev_xmit+0x19a/0x220

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(&hsr->seqnr_lock);
  lock(&hsr->seqnr_lock);

 *** DEADLOCK ***

 May be due to missing lock nesting notation

10 locks held by syz.0.1774/11636:
 #0: ffffffff8f50fd50 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f51c948 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x2a4/0x990
 #2: ffffc900001e0be0 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xbe/0x5f0
 #3: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: ndisc_send_skb+0x208/0x1400
 #4: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: ip6_finish_output2+0x701/0x16a0
 #5: ffffffff8e13eec0 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x27e/0x3a70
 #6: ffff888028c3af30 (&hsr->seqnr_lock){+.-.}-{3:3}, at: hsr_dev_xmit+0x19a/0x220
 #7: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: hsr_forward_skb+0x9e/0x2860
 #8: ffffffff8e13eec0 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x27e/0x3a70
 #9: ffffffff8e13eec0 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x27e/0x3a70

stack backtrace:
CPU: 1 UID: 0 PID: 11636 Comm: syz.0.1774 Not tainted 6.16.0-rc3-syzkaller-00159-g223e2288f4b8 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <IRQ>
 dump_stack_lvl+0x189/0x250
 print_deadlock_bug+0x28b/0x2a0
 validate_chain+0x1a3f/0x2140
 __lock_acquire+0xab9/0xd20
 lock_acquire+0x120/0x360
 _raw_spin_lock_bh+0x36/0x50
 hsr_dev_xmit+0x19a/0x220
 dev_hard_start_xmit+0x2d7/0x830
 __dev_queue_xmit+0x1adf/0x3a70
 macvlan_start_xmit+0x46d/0x6e0
 dev_hard_start_xmit+0x2d7/0x830
 __dev_queue_xmit+0x1adf/0x3a70
 hsr_forward_skb+0x158b/0x2860
 hsr_dev_xmit+0x1a5/0x220
 dev_hard_start_xmit+0x2d7/0x830
 __dev_queue_xmit+0x1adf/0x3a70
 ip6_finish_output2+0x11fe/0x16a0
 ip6_finish_output+0x234/0x7d0
 ndisc_send_skb+0xb47/0x1400
 addrconf_rs_timer+0x369/0x670
 call_timer_fn+0x17e/0x5f0
 __run_timer_base+0x61a/0x860
 run_timer_softirq+0xb7/0x180
 handle_softirqs+0x286/0x870
 __irq_exit_rcu+0xca/0x1f0
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:ipoib_netdev_event+0x49/0xf0
Code: f9 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 6a 6a 8c f9 48 8b 1b 4c 8d 7b 08 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 <74> 08 4c 89 ff e8 4d 6a 8c f9 4d 8b 3f 49 83 c7 10 4c 89 f8 48 c1
RSP: 0018:ffffc9000313f890 EFLAGS: 00000246
RAX: 1ffff11021620001 RBX: ffff88810b100000 RCX: ffff8881076d1cc0
RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffffffff8f2b5d60
RBP: 00000000ffffffd5 R08: ffffffff8fa1def7 R09: 1ffffffff1f43bde
R10: dffffc0000000000 R11: ffffffff88977790 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000012 R15: ffff88810b100008
 notifier_call_chain+0x1b6/0x3e0
 unregister_netdevice_many_notify+0x1bdb/0x2320
 ops_undo_list+0x3dc/0x990
 setup_net+0x3e2/0x4b0
 copy_net_ns+0x31b/0x4d0
 create_new_namespaces+0x3f3/0x720
 unshare_nsproxy_namespaces+0x11c/0x170
 ksys_unshare+0x4c8/0x8c0
 __x64_sys_unshare+0x38/0x50
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f385918e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3859fdf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007f38593b6080 RCX: 00007f385918e929
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006a040000
RBP: 00007f3859210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f38593b6080 R15: 00007ffd6f601068
 </TASK>
