======================================================
WARNING: possible circular locking dependency detected
syzkaller #0 Not tainted
------------------------------------------------------
kworker/u8:4/5725 is trying to acquire lock:
ffff8881183b0ff0 (&hsr->seqnr_lock){+.-.}-{3:3}, at: hsr_dev_xmit+0x237/0x360

but task is already holding lock:
ffff8881735b0d58 (&qdisc_xmit_lock_key#8){+.-.}-{3:3}, at: sch_direct_xmit+0x15f/0x4c0

which lock already depends on the new lock.


the existing dependency chain (in reverse order) is:

-> #1 (&qdisc_xmit_lock_key#8){+.-.}-{3:3}:
       _raw_spin_lock+0x2e/0x40
       sch_direct_xmit+0x15f/0x4c0
       __dev_queue_xmit+0x180f/0x3950
       hsr_forward_skb+0x167e/0x2a80
       send_hsr_supervision_frame+0x731/0xcb0
       hsr_announce+0x1db/0x370
       call_timer_fn+0x192/0x5e0
       __run_timer_base+0x652/0x8b0
       run_timer_softirq+0xb7/0x170
       handle_softirqs+0x22a/0x840
       __irq_exit_rcu+0xca/0x220
       irq_exit_rcu+0x9/0x30
       sysvec_apic_timer_interrupt+0x57/0xc0
       asm_sysvec_apic_timer_interrupt+0x1a/0x20

-> #0 (&hsr->seqnr_lock){+.-.}-{3:3}:
       __lock_acquire+0x15a5/0x2cf0
       lock_acquire+0x106/0x350
       _raw_spin_lock_bh+0x36/0x50
       hsr_dev_xmit+0x237/0x360
       dev_hard_start_xmit+0x2cd/0x830
       __dev_queue_xmit+0x14d9/0x3950
       ip_finish_output2+0xca9/0x1070
       ip_output+0x29f/0x450
       iptunnel_xmit+0x621/0xd10
       ip_tunnel_xmit+0x193a/0x1f20
       gre_tap_xmit+0x5a7/0x7a0
       dev_hard_start_xmit+0x2cd/0x830
       sch_direct_xmit+0x251/0x4c0
       __dev_queue_xmit+0x180f/0x3950
       alb_send_lp_vid+0x348/0x550
       alb_send_learning_packets+0x12c/0x300
       bond_alb_monitor+0x3d5/0x17e0
       process_scheduled_works+0xb5d/0x1860
       worker_thread+0xa53/0xfc0
       kthread+0x388/0x470
       ret_from_fork+0x514/0xb70
       ret_from_fork_asm+0x1a/0x30

other info that might help us debug this:

 Possible unsafe locking scenario:

       CPU0                    CPU1
       ----                    ----
  lock(&qdisc_xmit_lock_key#8);
                               lock(&hsr->seqnr_lock);
                               lock(&qdisc_xmit_lock_key#8);
  lock(&hsr->seqnr_lock);

 *** DEADLOCK ***

10 locks held by kworker/u8:4/5725:
 #0: ffff8880214ae140 ((wq_completion)bond12#2){+.+.}-{0:0}, at: process_scheduled_works+0xa35/0x1860
 #1: ffffc90004cafc40 ((work_completion)(&(&bond->alb_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa70/0x1860
 #2: ffffffff8e95cd60 (rcu_read_lock){....}-{1:3}, at: bond_alb_monitor+0xf8/0x17e0
 #3: ffffffff8e95cdc0 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x2b6/0x3950
 #4: ffff888117ea6228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#3){+...}-{3:3}, at: __dev_queue_xmit+0x11a6/0x3950
 #5: ffff8881735b0d58 (&qdisc_xmit_lock_key#8){+.-.}-{3:3}, at: sch_direct_xmit+0x15f/0x4c0
 #6: ffffffff8e95cd60 (rcu_read_lock){....}-{1:3}, at: ip_output+0x5b/0x450
 #7: ffffffff8e95cd60 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x3c2/0x1070
 #8: ffffffff8e95cdc0 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x2b6/0x3950
 #9: ffffffff8e95cd60 (rcu_read_lock){....}-{1:3}, at: hsr_dev_xmit+0x2d/0x360

stack backtrace:
CPU: 1 UID: 0 PID: 5725 Comm: kworker/u8:4 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: bond12 bond_alb_monitor
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 print_circular_bug+0x2e1/0x300
 check_noncircular+0x12e/0x150
 __lock_acquire+0x15a5/0x2cf0
 lock_acquire+0x106/0x350
 _raw_spin_lock_bh+0x36/0x50
 hsr_dev_xmit+0x237/0x360
 dev_hard_start_xmit+0x2cd/0x830
 __dev_queue_xmit+0x14d9/0x3950
 ip_finish_output2+0xca9/0x1070
 ip_output+0x29f/0x450
 iptunnel_xmit+0x621/0xd10
 ip_tunnel_xmit+0x193a/0x1f20
 gre_tap_xmit+0x5a7/0x7a0
 dev_hard_start_xmit+0x2cd/0x830
 sch_direct_xmit+0x251/0x4c0
 __dev_queue_xmit+0x180f/0x3950
 alb_send_lp_vid+0x348/0x550
 alb_send_learning_packets+0x12c/0x300
 bond_alb_monitor+0x3d5/0x17e0
 process_scheduled_works+0xb5d/0x1860
 worker_thread+0xa53/0xfc0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
netdevsim netdevsim2 eth0: unset [0, 0] type 1 family 0 port 8472 - 0
netdevsim netdevsim2 eth0: unset [0, 1] type 1 family 0 port 4352 - 0
netdevsim netdevsim2 eth0: unset [1, 0] type 2 family 0 port 20000 - 0
netdevsim netdevsim2 eth0: unset [1, 1] type 2 family 0 port 6081 - 0
netdevsim netdevsim2 eth1: unset [0, 0] type 1 family 0 port 8472 - 0
netdevsim netdevsim2 eth1: unset [0, 1] type 1 family 0 port 4352 - 0
netdevsim netdevsim2 eth1: unset [1, 0] type 2 family 0 port 20000 - 0
netdevsim netdevsim2 eth1: unset [1, 1] type 2 family 0 port 6081 - 0
netdevsim netdevsim2 eth2: unset [0, 0] type 1 family 0 port 8472 - 0
netdevsim netdevsim2 eth2: unset [0, 1] type 1 family 0 port 4352 - 0
netdevsim netdevsim2 eth2: unset [1, 0] type 2 family 0 port 20000 - 0
netdevsim netdevsim2 eth2: unset [1, 1] type 2 family 0 port 6081 - 0
netdevsim netdevsim2 eth3: unset [0, 0] type 1 family 0 port 8472 - 0
netdevsim netdevsim2 eth3: unset [0, 1] type 1 family 0 port 4352 - 0
netdevsim netdevsim2 eth3: unset [1, 0] type 2 family 0 port 20000 - 0
netdevsim netdevsim2 eth3: unset [1, 1] type 2 family 0 port 6081 - 0
