================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {INITIAL USE} -> {IN-NMI} usage. syz.4.449/7587 [HC1[1]:SC0[0]:HE0:SE1] takes: ffffe8ffffc81080 (&loc_l->lock){....}-{2:2}, at: bpf_common_lru_push_free kernel/bpf/bpf_lru_list.c:514 [inline] ffffe8ffffc81080 (&loc_l->lock){....}-{2:2}, at: bpf_lru_push_free+0x33b/0xbb0 kernel/bpf/bpf_lru_list.c:553 {INITIAL USE} state was registered at: lock_acquire+0xf0/0x2e0 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:162 bpf_common_lru_pop_free kernel/bpf/bpf_lru_list.c:440 [inline] bpf_lru_pop_free+0x1a1/0x1ca0 kernel/bpf/bpf_lru_list.c:496 prealloc_lru_pop kernel/bpf/hashtab.c:301 [inline] htab_lru_map_update_elem+0x122/0x870 kernel/bpf/hashtab.c:1303 bpf_map_update_value+0x750/0x920 kernel/bpf/syscall.c:297 map_update_elem+0x5fa/0x9d0 kernel/bpf/syscall.c:1812 __sys_bpf+0x6fa/0x950 kernel/bpf/syscall.c:6216 __do_sys_bpf kernel/bpf/syscall.c:6341 [inline] __se_sys_bpf kernel/bpf/syscall.c:6339 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:6339 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 734 hardirqs last enabled at (733): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (733): [] _raw_spin_unlock_irqrestore+0x30/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (734): [] exc_debug_kernel+0x60/0x140 arch/x86/kernel/traps.c:1233 softirqs last enabled at (726): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (726): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (726): [] __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723 softirqs last disabled at (703): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (703): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (703): [] __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&loc_l->lock); lock(&loc_l->lock); *** DEADLOCK *** no locks held by syz.4.449/7587. stack backtrace: CPU: 1 UID: 0 PID: 7587 Comm: syz.4.449 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/27/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+0x1b8/0x2e0 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:162 bpf_common_lru_push_free kernel/bpf/bpf_lru_list.c:514 [inline] bpf_lru_push_free+0x33b/0xbb0 kernel/bpf/bpf_lru_list.c:553 htab_lru_push_free kernel/bpf/hashtab.c:1271 [inline] htab_lru_map_delete_elem+0x3d3/0x440 kernel/bpf/hashtab.c:1561 bpf_prog_464bc2be3fc7c272+0x43/0x4b bpf_dispatcher_nop_func include/linux/bpf.h:1402 [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:10605 [inline] __perf_event_overflow+0x3b7/0xec0 kernel/events/core.c:10704 perf_swevent_overflow kernel/events/core.c:10845 [inline] perf_swevent_event+0x410/0x7e0 kernel/events/core.c:-1 perf_bp_event+0x318/0x430 kernel/events/core.c:11737 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+0x1be/0x400 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:1208 exc_debug_kernel+0xb1/0x140 arch/x86/kernel/traps.c:1270 asm_exc_debug+0x1e/0x40 arch/x86/include/asm/idtentry.h:654 RIP: 0010:has_zero arch/x86/include/asm/word-at-a-time.h:17 [inline] RIP: 0010:do_strncpy_from_user lib/strncpy_from_user.c:54 [inline] RIP: 0010:strncpy_from_user+0xbb/0x2b0 lib/strncpy_from_user.c:130 Code: f6 e8 19 37 db fc 49 83 fe 07 0f 86 9d 00 00 00 48 89 1c 24 4c 89 74 24 08 48 c7 c5 f8 ff ff ff 45 31 ff 4c 89 e3 4f 8b 34 3c <48> b8 ff fe fe fe fe fe fe fe 4d 8d 24 06 4d 89 f5 49 f7 d5 48 b8 RSP: 0018:ffffc90003ac7ad8 EFLAGS: 00040246 RAX: ffffffff84ea6b77 RBX: 0000200000000300 RCX: ffff888030d90000 RDX: 0000000000000002 RSI: 000000000000007f RDI: 0000000000000007 RBP: fffffffffffffff8 R08: ffffc90003ac7c8e R09: 1ffff92000758f91 R10: dffffc0000000000 R11: fffff52000758f92 R12: 0000200000000300 R13: dffffc0000000000 R14: 656c6c616b7a7973 R15: 0000000000000000 bpf_prog_load+0xcd9/0x1ae0 kernel/bpf/syscall.c:3024 __sys_bpf+0x618/0x950 kernel/bpf/syscall.c:6228 __do_sys_bpf kernel/bpf/syscall.c:6341 [inline] __se_sys_bpf kernel/bpf/syscall.c:6339 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:6339 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fee4259c799 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:00007fee434de028 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fee42815fa0 RCX: 00007fee4259c799 RDX: 0000000000000094 RSI: 0000200000000340 RDI: 0000000000000005 RBP: 00007fee42632c99 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fee42816038 R14: 00007fee42815fa0 R15: 00007ffc0f2bec58 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 19 37 db fc call 0xfcdb371e 5: 49 83 fe 07 cmp $0x7,%r14 9: 0f 86 9d 00 00 00 jbe 0xac f: 48 89 1c 24 mov %rbx,(%rsp) 13: 4c 89 74 24 08 mov %r14,0x8(%rsp) 18: 48 c7 c5 f8 ff ff ff mov $0xfffffffffffffff8,%rbp 1f: 45 31 ff xor %r15d,%r15d 22: 4c 89 e3 mov %r12,%rbx 25: 4f 8b 34 3c mov (%r12,%r15,1),%r14 * 29: 48 b8 ff fe fe fe fe movabs $0xfefefefefefefeff,%rax <-- trapping instruction 30: fe fe fe 33: 4d 8d 24 06 lea (%r14,%rax,1),%r12 37: 4d 89 f5 mov %r14,%r13 3a: 49 f7 d5 not %r13 3d: 48 rex.W 3e: b8 .byte 0xb8