============================================ WARNING: possible recursive locking detected syzkaller #0 Not tainted -------------------------------------------- syz.2.13851/5109 is trying to acquire lock: ffff88807a8e5070 (&hsr->seqnr_lock){+.-.}-{3:3}, at: spin_lock_bh include/linux/spinlock.h:353 [inline] ffff88807a8e5070 (&hsr->seqnr_lock){+.-.}-{3:3}, at: hsr_dev_xmit+0x237/0x360 net/hsr/hsr_device.c:235 but task is already holding lock: ffff88807a8e5070 (&hsr->seqnr_lock){+.-.}-{3:3}, at: spin_lock_bh include/linux/spinlock.h:353 [inline] ffff88807a8e5070 (&hsr->seqnr_lock){+.-.}-{3:3}, at: send_prp_supervision_frame+0x1fb/0x8b0 net/hsr/hsr_device.c:401 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 locks held by syz.2.13851/5109: 11, last CPU#1: #0: ffffc90000a18cc0 ((&hsr->announce_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x5f0 kernel/time/timer.c:1745 #1: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: hsr_announce+0x89/0x370 net/hsr/hsr_device.c:446 #2: ffff88807a8e5070 (&hsr->seqnr_lock){+.-.}-{3:3}, at: spin_lock_bh include/linux/spinlock.h:353 [inline] #2: ffff88807a8e5070 (&hsr->seqnr_lock){+.-.}-{3:3}, at: send_prp_supervision_frame+0x1fb/0x8b0 net/hsr/hsr_device.c:401 #3: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #3: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: hsr_forward_skb+0xb9/0x2b70 net/hsr/hsr_forward.c:772 #4: ffffffff8ed5c900 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #4: ffffffff8ed5c900 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:902 [inline] #4: ffffffff8ed5c900 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x29b/0x3920 net/core/dev.c:4872 #5: ffff88807f54c228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#4){+...}-{3:3}, at: spin_trylock include/linux/spinlock.h:359 [inline] #5: ffff88807f54c228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#4){+...}-{3:3}, at: qdisc_run_begin include/net/sch_generic.h:206 [inline] #5: ffff88807f54c228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#4){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:4264 [inline] #5: ffff88807f54c228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#4){+...}-{3:3}, at: __dev_queue_xmit+0x114e/0x3920 net/core/dev.c:4916 #6: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #6: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #6: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: ip6_output+0x11e/0x540 net/ipv6/ip6_output.c:236 #7: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #7: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #7: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: ndisc_send_skb+0x203/0x1650 net/ipv6/ndisc.c:483 #8: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #8: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #8: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: ip6_output+0x11e/0x540 net/ipv6/ip6_output.c:236 #9: ffffffff8ed5c900 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #9: ffffffff8ed5c900 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:902 [inline] #9: ffffffff8ed5c900 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x29b/0x3920 net/core/dev.c:4872 #10: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #10: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #10: ffffffff8ed5c8a0 (rcu_read_lock){....}-{1:3}, at: hsr_dev_xmit+0x2d/0x360 net/hsr/hsr_device.c:229 stack backtrace: CPU: 1 UID: 0 PID: 5109 Comm: syz.2.13851 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_deadlock_bug+0x27a/0x290 kernel/locking/lockdep.c:3085 check_deadlock kernel/locking/lockdep.c:3137 [inline] validate_chain kernel/locking/lockdep.c:3939 [inline] __lock_acquire+0x25db/0x2de0 kernel/locking/lockdep.c:5288 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:182 [inline] _raw_spin_lock_bh+0x36/0x50 kernel/locking/spinlock.c:205 spin_lock_bh include/linux/spinlock.h:353 [inline] hsr_dev_xmit+0x237/0x360 net/hsr/hsr_device.c:235 __netdev_start_xmit include/linux/netdevice.h:5432 [inline] netdev_start_xmit include/linux/netdevice.h:5441 [inline] xmit_one net/core/dev.c:3953 [inline] dev_hard_start_xmit+0x2cd/0x830 net/core/dev.c:3969 __dev_queue_xmit+0x14d1/0x3920 net/core/dev.c:4958 NF_HOOK_COND include/linux/netfilter.h:314 [inline] ip6_output+0x337/0x540 net/ipv6/ip6_output.c:248 dst_output include/net/dst.h:472 [inline] NF_HOOK include/linux/netfilter.h:325 [inline] ndisc_send_skb+0xcb2/0x1650 net/ipv6/ndisc.c:513 ndisc_send_ns net/ipv6/ndisc.c:672 [inline] ndisc_solicit+0x374/0x670 net/ipv6/ndisc.c:763 neigh_probe net/core/neighbour.c:1093 [inline] __neigh_event_send+0xf0c/0x1510 net/core/neighbour.c:1273 neigh_event_send_probe include/net/neighbour.h:480 [inline] neigh_event_send include/net/neighbour.h:486 [inline] neigh_resolve_output+0x1a1/0x720 net/core/neighbour.c:1600 NF_HOOK_COND include/linux/netfilter.h:314 [inline] ip6_output+0x337/0x540 net/ipv6/ip6_output.c:248 ip6tunnel_xmit+0x200/0x620 include/net/ip6_tunnel.h:174 ip6_tnl_xmit+0x2034/0x27e0 net/ipv6/ip6_tunnel.c:1285 __gre6_xmit+0xa5c/0xd80 net/ipv6/ip6_gre.c:787 ip6gre_xmit_other net/ipv6/ip6_gre.c:873 [inline] ip6gre_tunnel_xmit+0xa0d/0xf70 net/ipv6/ip6_gre.c:904 __netdev_start_xmit include/linux/netdevice.h:5432 [inline] netdev_start_xmit include/linux/netdevice.h:5441 [inline] xmit_one net/core/dev.c:3953 [inline] dev_hard_start_xmit+0x2cd/0x830 net/core/dev.c:3969 sch_direct_xmit+0x257/0x4c0 net/sched/sch_generic.c:372 __dev_xmit_skb net/core/dev.c:4277 [inline] __dev_queue_xmit+0x179a/0x3920 net/core/dev.c:4916 dev_queue_xmit include/linux/netdevice.h:3464 [inline] hsr_xmit net/hsr/hsr_forward.c:440 [inline] hsr_forward_do net/hsr/hsr_forward.c:603 [inline] hsr_forward_skb+0x1701/0x2b70 net/hsr/hsr_forward.c:777 send_prp_supervision_frame+0x49a/0x8b0 net/hsr/hsr_device.c:432 hsr_announce+0x1db/0x370 net/hsr/hsr_device.c:448 call_timer_fn+0x18d/0x5f0 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1799 [inline] __run_timers kernel/time/timer.c:2374 [inline] __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2386 run_timer_base kernel/time/timer.c:2395 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2405 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:finish_task_switch+0x413/0xc60 kernel/sched/core.c:5384 Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 c7 8f 53 0a e8 b2 2d 3a 00 fb 4c 8b 65 c8 <49> 8d bc 24 18 17 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 RSP: 0018:ffffc90004bef980 EFLAGS: 00000202 RAX: 0000000000001c91 RBX: ffff8880b873c8e0 RCX: 8000000000000001 RDX: 0000000000000000 RSI: ffffffff8e41642a RDI: ffffffff8c6dad80 RBP: ffffc90004bef9d0 R08: ffffffff907a647f R09: 1ffffffff20f4c8f R10: dffffc0000000000 R11: fffffbfff20f4c90 R12: ffff888028a73e80 R13: ffff8880b873c8a8 R14: dffffc0000000000 R15: 1ffff110170e791c context_switch kernel/sched/core.c:5536 [inline] __schedule+0x17e3/0x58f0 kernel/sched/core.c:7284 __schedule_loop kernel/sched/core.c:7361 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7376 do_nanosleep+0x21e/0x6a0 kernel/time/hrtimer.c:2436 hrtimer_nanosleep+0x18f/0x3a0 kernel/time/hrtimer.c:2482 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1406 [inline] __se_sys_clock_nanosleep+0x35b/0x3b0 kernel/time/posix-timers.c:1383 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa59a55e98e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007ffefc36c778 EFLAGS: 00000246 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000555565315500 RCX: 00007fa59a55e98e RDX: 00007ffefc36c7d0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fa59a827da0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000136282 R13: 00007fa59a82636c R14: 00000000001360b4 R15: 00007fa59a826360 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 41 c7 84 24 20 0e 00 movl $0x0,0xe20(%r12) 9: 00 00 00 00 00 e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 13: 49 83 c4 48 add $0x48,%r12 17: 4c 89 e7 mov %r12,%rdi 1a: e8 c7 8f 53 0a call 0xa538fe6 1f: e8 b2 2d 3a 00 call 0x3a2dd6 24: fb sti 25: 4c 8b 65 c8 mov -0x38(%rbp),%r12 * 29: 49 8d bc 24 18 17 00 lea 0x1718(%r12),%rdi <-- trapping instruction 30: 00 31: 48 89 f8 mov %rdi,%rax 34: 48 c1 e8 03 shr $0x3,%rax 38: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 3d: 84 c0 test %al,%al