============================================ WARNING: possible recursive locking detected syzkaller #0 Tainted: G L -------------------------------------------- kworker/u8:18/11738 is trying to acquire lock: ffff8880462acfb0 (&hsr->seqnr_lock){+.-.}-{3:3}, at: spin_lock_bh include/linux/spinlock.h:347 [inline] ffff8880462acfb0 (&hsr->seqnr_lock){+.-.}-{3:3}, at: hsr_dev_xmit+0x237/0x360 net/hsr/hsr_device.c:235 but task is already holding lock: ffff88805c138fb0 (&hsr->seqnr_lock){+.-.}-{3:3}, at: spin_lock_bh include/linux/spinlock.h:347 [inline] ffff88805c138fb0 (&hsr->seqnr_lock){+.-.}-{3:3}, at: send_prp_supervision_frame+0x195/0x6c0 net/hsr/hsr_device.c:390 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 14 locks held by kworker/u8:18/11738: #0: ffff88801d70e148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3251 [inline] #0: ffff88801d70e148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0 kernel/workqueue.c:3359 #1: ffffc9000d87fc40 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3252 [inline] #1: ffffc9000d87fc40 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0 kernel/workqueue.c:3359 #2: ffff88807331a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline] #2: ffff88807331a0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_req_caches_free+0x19/0x60 io_uring/io_uring.c:2145 #3: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #3: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #3: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1193 [inline] #3: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0xa5/0x23c0 arch/x86/kernel/unwind_orc.c:495 #4: ffffc90000a08ce0 ((&hsr->announce_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd4/0x640 kernel/time/timer.c:1745 #5: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #5: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #5: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: hsr_announce+0x89/0x370 net/hsr/hsr_device.c:419 #6: ffff88805c138fb0 (&hsr->seqnr_lock){+.-.}-{3:3}, at: spin_lock_bh include/linux/spinlock.h:347 [inline] #6: ffff88805c138fb0 (&hsr->seqnr_lock){+.-.}-{3:3}, at: send_prp_supervision_frame+0x195/0x6c0 net/hsr/hsr_device.c:390 #7: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #7: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #7: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: hsr_forward_skb+0xb3/0x2860 net/hsr/hsr_forward.c:738 #8: ffffffff8e75e640 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #8: ffffffff8e75e640 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:903 [inline] #8: ffffffff8e75e640 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x277/0x3890 net/core/dev.c:4761 #9: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #9: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #9: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: bond_start_xmit+0xc9/0x1960 drivers/net/bonding/bond_main.c:5591 #10: ffffffff8e75e640 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #10: ffffffff8e75e640 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:903 [inline] #10: ffffffff8e75e640 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x277/0x3890 net/core/dev.c:4761 #11: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #11: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #11: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: br_dev_xmit+0x193/0x1980 net/bridge/br_device.c:52 #12: ffffffff8e75e640 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #12: ffffffff8e75e640 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:903 [inline] #12: ffffffff8e75e640 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x277/0x3890 net/core/dev.c:4761 #13: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #13: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #13: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: hsr_dev_xmit+0x2d/0x360 net/hsr/hsr_device.c:229 stack backtrace: CPU: 1 UID: 0 PID: 11738 Comm: kworker/u8:18 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Workqueue: iou_exit io_ring_exit_work Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_deadlock_bug+0x279/0x290 kernel/locking/lockdep.c:3041 check_deadlock kernel/locking/lockdep.c:3093 [inline] validate_chain kernel/locking/lockdep.c:3895 [inline] __lock_acquire+0x253f/0x2cf0 kernel/locking/lockdep.c:5237 lock_acquire+0xf0/0x2e0 kernel/locking/lockdep.c:5868 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_lock_bh+0x36/0x50 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:347 [inline] hsr_dev_xmit+0x237/0x360 net/hsr/hsr_device.c:235 __netdev_start_xmit include/linux/netdevice.h:5325 [inline] netdev_start_xmit include/linux/netdevice.h:5334 [inline] xmit_one net/core/dev.c:3871 [inline] dev_hard_start_xmit+0x2d8/0x870 net/core/dev.c:3887 __dev_queue_xmit+0x16d1/0x3890 net/core/dev.c:4837 dev_queue_xmit include/linux/netdevice.h:3385 [inline] br_dev_queue_push_xmit+0x370/0x4a0 net/bridge/br_forward.c:53 NF_HOOK+0x360/0x3f0 include/linux/netfilter.h:318 br_forward_finish+0xd3/0x130 net/bridge/br_forward.c:66 NF_HOOK+0x360/0x3f0 include/linux/netfilter.h:318 __br_forward+0x397/0x540 net/bridge/br_forward.c:115 deliver_clone net/bridge/br_forward.c:131 [inline] maybe_deliver net/bridge/br_forward.c:191 [inline] br_flood+0x6ee/0xb80 net/bridge/br_forward.c:238 br_dev_xmit+0x12bd/0x1980 net/bridge/br_device.c:108 __netdev_start_xmit include/linux/netdevice.h:5325 [inline] netdev_start_xmit include/linux/netdevice.h:5334 [inline] xmit_one net/core/dev.c:3871 [inline] dev_hard_start_xmit+0x2d8/0x870 net/core/dev.c:3887 __dev_queue_xmit+0x16d1/0x3890 net/core/dev.c:4837 __bond_start_xmit drivers/net/bonding/bond_main.c:-1 [inline] bond_start_xmit+0xd6e/0x1960 drivers/net/bonding/bond_main.c:5593 __netdev_start_xmit include/linux/netdevice.h:5325 [inline] netdev_start_xmit include/linux/netdevice.h:5334 [inline] xmit_one net/core/dev.c:3871 [inline] dev_hard_start_xmit+0x2d8/0x870 net/core/dev.c:3887 __dev_queue_xmit+0x16d1/0x3890 net/core/dev.c:4837 dev_queue_xmit include/linux/netdevice.h:3385 [inline] hsr_xmit net/hsr/hsr_forward.c:440 [inline] hsr_forward_do net/hsr/hsr_forward.c:581 [inline] hsr_forward_skb+0x157b/0x2860 net/hsr/hsr_forward.c:743 send_prp_supervision_frame+0x35b/0x6c0 net/hsr/hsr_device.c:405 hsr_announce+0x1db/0x370 net/hsr/hsr_device.c:421 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1799 [inline] __run_timers kernel/time/timer.c:2373 [inline] __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385 run_timer_base kernel/time/timer.c:2394 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2404 handle_softirqs+0x22a/0x870 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:unwind_next_frame+0x199/0x23c0 arch/x86/kernel/unwind_orc.c:510 Code: 04 28 84 c0 0f 85 45 1b 00 00 4c 89 6c 24 48 4c 89 64 24 20 4c 89 7c 24 50 48 89 5c 24 18 0f b6 1b 48 8b 44 24 30 80 3c 28 00 <4c> 8b 7c 24 10 74 08 4c 89 ff e8 38 6b b9 00 4d 8b 27 48 83 f3 01 RSP: 0018:ffffc9000d87f398 EFLAGS: 00000246 RAX: 1ffff92001b0fe96 RBX: 0000000000000000 RCX: 0000000080000001 RDX: 00000000482a6843 RSI: ffffffff8c27c8e0 RDI: ffffffff8c27c8a0 RBP: dffffc0000000000 R08: ffffffff81767e95 R09: ffffffff8e75e5e0 R10: ffffc9000d87f4b8 R11: ffffffff81b0c390 R12: 1ffff92001b0fe8d R13: ffffc9000d87f4b8 R14: ffffc9000d87f468 R15: ffffffff81767e95 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x31c/0x660 mm/slub.c:5380 kmalloc_noprof include/linux/slab.h:950 [inline] slab_free_hook mm/slub.c:2637 [inline] slab_free mm/slub.c:6165 [inline] kmem_cache_free+0x15b/0x630 mm/slub.c:6295 __io_req_caches_free+0x1c1/0x270 io_uring/io_uring.c:2134 io_req_caches_free+0x21/0x60 io_uring/io_uring.c:2146 io_ring_exit_work+0x41b/0x960 io_uring/io_uring.c:2340 process_one_work kernel/workqueue.c:3276 [inline] process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3359 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3440 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- Code disassembly (best guess): 0: 04 28 add $0x28,%al 2: 84 c0 test %al,%al 4: 0f 85 45 1b 00 00 jne 0x1b4f a: 4c 89 6c 24 48 mov %r13,0x48(%rsp) f: 4c 89 64 24 20 mov %r12,0x20(%rsp) 14: 4c 89 7c 24 50 mov %r15,0x50(%rsp) 19: 48 89 5c 24 18 mov %rbx,0x18(%rsp) 1e: 0f b6 1b movzbl (%rbx),%ebx 21: 48 8b 44 24 30 mov 0x30(%rsp),%rax 26: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) * 2a: 4c 8b 7c 24 10 mov 0x10(%rsp),%r15 <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 38 6b b9 00 call 0xb96b71 39: 4d 8b 27 mov (%r15),%r12 3c: 48 83 f3 01 xor $0x1,%rbx