============================================ WARNING: possible recursive locking detected syzkaller #0 Not tainted -------------------------------------------- syz.3.3483/19314 is trying to acquire lock: ffffc900034b90d8 (&rb->spinlock){-.-.}-{2:2}, at: __bpf_ringbuf_reserve+0x1d5/0x5c0 kernel/bpf/ringbuf.c:415 but task is already holding lock: ffffc900034e00d8 (&rb->spinlock){-.-.}-{2:2}, at: __bpf_ringbuf_reserve+0x1d5/0x5c0 kernel/bpf/ringbuf.c:415 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&rb->spinlock); lock(&rb->spinlock); *** DEADLOCK *** May be due to missing lock nesting notation 6 locks held by syz.3.3483/19314: #0: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: netlink_deliver_tap+0x2e/0x1b0 net/netlink/af_netlink.c:335 #1: ffffffff8db2db00 (rcu_read_lock_bh){....}-{1:2}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #1: ffffffff8db2db00 (rcu_read_lock_bh){....}-{1:2}, at: rcu_read_lock_bh include/linux/rcupdate.h:843 [inline] #1: ffffffff8db2db00 (rcu_read_lock_bh){....}-{1:2}, at: __dev_queue_xmit+0x274/0x3a70 net/core/dev.c:4312 #2: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #2: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #2: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: dev_queue_xmit_nit+0x29/0xba0 net/core/dev.c:2320 #3: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #3: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #3: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: run_filter+0x23/0x260 net/packet/af_packet.c:2158 #4: ffffc900034e00d8 (&rb->spinlock){-.-.}-{2:2}, at: __bpf_ringbuf_reserve+0x1d5/0x5c0 kernel/bpf/ringbuf.c:415 #5: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #5: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #5: ffffffff8db2daa0 (rcu_read_lock){....}-{1:2}, at: trace_call_bpf+0xbf/0x6b0 kernel/trace/bpf_trace.c:134 stack backtrace: CPU: 1 PID: 19314 Comm: syz.3.3483 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 check_deadlock kernel/locking/lockdep.c:3090 [inline] validate_chain kernel/locking/lockdep.c:3884 [inline] __lock_acquire+0x690e/0x7ea0 kernel/locking/lockdep.c:5171 lock_acquire+0x1bc/0x4a0 kernel/locking/lockdep.c:5790 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb0/0x100 kernel/locking/spinlock.c:162 __bpf_ringbuf_reserve+0x1d5/0x5c0 kernel/bpf/ringbuf.c:415 ____bpf_ringbuf_reserve kernel/bpf/ringbuf.c:466 [inline] bpf_ringbuf_reserve+0x58/0x70 kernel/bpf/ringbuf.c:458 bpf_prog_1a4bcee3237edce2+0x2d/0x4a bpf_dispatcher_nop_func include/linux/bpf.h:1016 [inline] __bpf_prog_run include/linux/filter.h:597 [inline] bpf_prog_run include/linux/filter.h:615 [inline] bpf_prog_run_array include/linux/bpf.h:1698 [inline] trace_call_bpf+0x39c/0x6b0 kernel/trace/bpf_trace.c:135 perf_trace_run_bpf_submit+0x79/0x1c0 kernel/events/core.c:10018 perf_trace_lock+0x301/0x390 include/trace/events/lock.h:50 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x8ad/0x920 kernel/locking/lockdep.c:5801 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x6d/0x120 kernel/locking/spinlock.c:194 __bpf_ringbuf_reserve+0x478/0x5c0 kernel/bpf/ringbuf.c:453 ____bpf_ringbuf_reserve kernel/bpf/ringbuf.c:466 [inline] bpf_ringbuf_reserve+0x58/0x70 kernel/bpf/ringbuf.c:458 bpf_prog_f42551b0fba4abb2+0x25/0x3f bpf_dispatcher_nop_func include/linux/bpf.h:1016 [inline] __bpf_prog_run include/linux/filter.h:597 [inline] bpf_prog_run include/linux/filter.h:615 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:632 [inline] bpf_prog_run_clear_cb+0x10e/0x1b0 include/linux/filter.h:786 run_filter+0x156/0x260 net/packet/af_packet.c:2161 packet_rcv+0x3ae/0x1300 net/packet/af_packet.c:2234 dev_queue_xmit_nit+0xb0c/0xba0 net/core/dev.c:2371 xmit_one net/core/dev.c:3702 [inline] dev_hard_start_xmit+0x158/0x8b0 net/core/dev.c:3722 __dev_queue_xmit+0x1d27/0x3a70 net/core/dev.c:4393 dev_queue_xmit include/linux/netdevice.h:3060 [inline] __netlink_deliver_tap_skb net/netlink/af_netlink.c:307 [inline] __netlink_deliver_tap+0x55c/0x7e0 net/netlink/af_netlink.c:325 netlink_deliver_tap+0x19c/0x1b0 net/netlink/af_netlink.c:338 netlink_deliver_tap_kernel net/netlink/af_netlink.c:347 [inline] netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x777/0x920 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8ad/0xbd0 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x5ed/0x9a0 net/socket.c:2519 ___sys_sendmsg+0x2a2/0x360 net/socket.c:2573 __sys_sendmsg net/socket.c:2602 [inline] __do_sys_sendmsg net/socket.c:2611 [inline] __se_sys_sendmsg+0x1c3/0x2b0 net/socket.c:2609 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8a111a94d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8a0f3f6028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f8a11425fa0 RCX: 00007f8a111a94d9 RDX: 0000000000000000 RSI: 0000200000000480 RDI: 000000000000000c RBP: 00007f8a1123804e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8a11426038 R14: 00007f8a11425fa0 R15: 00007ffde2541708 netlink: 'syz.3.3483': attribute type 5 has an invalid length.