================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {INITIAL USE} -> {IN-NMI} usage. syz.8.561/8590 [HC1[1]:SC0[0]:HE0:SE1] takes: ffffe8ffffc43f58 (&l->lock#2){....}-{2:2}, at: bpf_percpu_lru_push_free kernel/bpf/bpf_lru_list.c:541 [inline] ffffe8ffffc43f58 (&l->lock#2){....}-{2:2}, at: bpf_lru_push_free+0xcb/0xbb0 kernel/bpf/bpf_lru_list.c:551 {INITIAL USE} state was registered at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:158 bpf_lru_list_pop_free_to_local kernel/bpf/bpf_lru_list.c:322 [inline] bpf_common_lru_pop_free kernel/bpf/bpf_lru_list.c:444 [inline] bpf_lru_pop_free+0x1ef/0x1ca0 kernel/bpf/bpf_lru_list.c:496 prealloc_lru_pop kernel/bpf/hashtab.c:301 [inline] __htab_lru_percpu_map_update_elem+0x198/0x790 kernel/bpf/hashtab.c:1447 bpf_percpu_hash_update+0x119/0x200 kernel/bpf/hashtab.c:2519 bpf_map_update_value+0x45a/0x920 kernel/bpf/syscall.c:273 generic_map_update_batch+0x6ea/0x990 kernel/bpf/syscall.c:2025 bpf_map_do_batch+0x39b/0x630 kernel/bpf/syscall.c:5694 __sys_bpf+0x7c1/0x950 kernel/bpf/syscall.c:-1 __do_sys_bpf kernel/bpf/syscall.c:6366 [inline] __se_sys_bpf kernel/bpf/syscall.c:6364 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:6364 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 4002 hardirqs last enabled at (4001): [] irqentry_exit_to_kernel_mode_after_preempt include/linux/irq-entry-common.h:515 [inline] hardirqs last enabled at (4001): [] irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:550 [inline] hardirqs last enabled at (4001): [] irqentry_exit+0x218/0x730 kernel/entry/common.c:164 hardirqs last disabled at (4002): [] exc_debug_kernel+0x60/0x140 arch/x86/kernel/traps.c:1235 softirqs last enabled at (3714): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (3714): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (3714): [] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 softirqs last disabled at (3301): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (3301): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (3301): [] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&l->lock#2); lock(&l->lock#2); *** DEADLOCK *** no locks held by syz.8.561/8590. stack backtrace: CPU: 0 UID: 0 PID: 8590 Comm: syz.8.561 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: <#DB> dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_usage_bug+0x28b/0x2e0 kernel/locking/lockdep.c:4042 lock_acquire+0x1cc/0x350 kernel/locking/lockdep.c:5859 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166 bpf_percpu_lru_push_free kernel/bpf/bpf_lru_list.c:541 [inline] bpf_lru_push_free+0xcb/0xbb0 kernel/bpf/bpf_lru_list.c:551 htab_lru_push_free kernel/bpf/hashtab.c:1275 [inline] htab_lru_map_delete_elem+0x3d3/0x440 kernel/bpf/hashtab.c:1565 bpf_prog_464bc2be3fc7c272+0x43/0x4b bpf_dispatcher_nop_func include/linux/bpf.h:1407 [inline] __bpf_prog_run include/linux/filter.h:723 [inline] bpf_prog_run include/linux/filter.h:730 [inline] bpf_overflow_handler kernel/events/core.c:10601 [inline] __perf_event_overflow+0x3b7/0xec0 kernel/events/core.c:10700 perf_swevent_overflow kernel/events/core.c:10841 [inline] perf_swevent_event+0x410/0x7e0 kernel/events/core.c:-1 perf_bp_event+0x318/0x430 kernel/events/core.c:11742 hw_breakpoint_handler arch/x86/kernel/hw_breakpoint.c:556 [inline] hw_breakpoint_exceptions_notify+0x243/0x680 arch/x86/kernel/hw_breakpoint.c:587 notifier_call_chain+0x1ad/0x3d0 kernel/notifier.c:85 atomic_notifier_call_chain+0xda/0x180 kernel/notifier.c:223 notify_die+0x144/0x1a0 kernel/notifier.c:588 notify_debug+0x2e/0x50 arch/x86/kernel/traps.c:1210 exc_debug_kernel+0xb1/0x140 arch/x86/kernel/traps.c:1272 asm_exc_debug+0x1e/0x40 arch/x86/include/asm/idtentry.h:654 RIP: 0010:rep_movs_alternative+0x33/0x90 arch/x86/lib/copy_user_64.S:61 Code: 73 25 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 06 <48> 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 db 83 f9 08 73 e8 eb RSP: 0018:ffffc900034e7af8 EFLAGS: 00040206 RAX: 0000000000000000 RBX: 0000000000000038 RCX: 0000000000000038 RDX: 0000000000000001 RSI: 0000200000000300 RDI: ffffc900034e7b80 RBP: ffffc900034e7d90 R08: ffffc900034e7bb7 R09: 1ffff9200069cf76 R10: dffffc0000000000 R11: fffff5200069cf77 R12: ffffc900034e7de0 R13: 1ffff9200069cf6c R14: ffffc900034e7b80 R15: 0000200000000300 copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:141 [inline] _inline_copy_from_user include/linux/uaccess.h:185 [inline] _copy_from_user+0x7a/0xb0 lib/usercopy.c:18 copy_from_user include/linux/uaccess.h:223 [inline] copy_msghdr_from_user net/socket.c:2628 [inline] sendmsg_copy_msghdr net/socket.c:2729 [inline] ___sys_sendmsg+0x1c6/0x360 net/socket.c:2748 __sys_sendmsg net/socket.c:2784 [inline] __do_sys_sendmsg net/socket.c:2789 [inline] __se_sys_sendmsg net/socket.c:2787 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2787 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f010539cdd9 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:00007f01061b9028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f0105615fa0 RCX: 00007f010539cdd9 RDX: 0000000000004010 RSI: 0000200000000300 RDI: 000000000000000b RBP: 00007f0105432d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0105616038 R14: 00007f0105615fa0 R15: 00007fff900f7158 ---------------- Code disassembly (best guess): 0: 73 25 jae 0x27 2: 85 c9 test %ecx,%ecx 4: 74 0f je 0x15 6: 8a 06 mov (%rsi),%al 8: 88 07 mov %al,(%rdi) a: 48 ff c7 inc %rdi d: 48 ff c6 inc %rsi 10: 48 ff c9 dec %rcx 13: 75 f1 jne 0x6 15: c3 ret 16: cc int3 17: cc int3 18: cc int3 19: cc int3 1a: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 21: 00 00 00 24: 0f 1f 00 nopl (%rax) 27: 48 8b 06 mov (%rsi),%rax * 2a: 48 89 07 mov %rax,(%rdi) <-- trapping instruction 2d: 48 83 c6 08 add $0x8,%rsi 31: 48 83 c7 08 add $0x8,%rdi 35: 83 e9 08 sub $0x8,%ecx 38: 74 db je 0x15 3a: 83 f9 08 cmp $0x8,%ecx 3d: 73 e8 jae 0x27 3f: eb .byte 0xeb