================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {INITIAL USE} -> {IN-NMI} usage. syz.5.5059/29379 [HC1[1]:SC0[0]:HE0:SE1] takes: ffffe8ffffc50db0 (&loc_l->lock){....}-{2:2}, at: bpf_common_lru_push_free kernel/bpf/bpf_lru_list.c:514 [inline] ffffe8ffffc50db0 (&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_percpu_map_update_elem+0x198/0x790 kernel/bpf/hashtab.c:1443 bpf_percpu_hash_update+0x119/0x200 kernel/bpf/hashtab.c:2515 bpf_map_update_value+0x45a/0x920 kernel/bpf/syscall.c:273 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: 6974 hardirqs last enabled at (6973): [] class_irqsave_destructor include/linux/irqflags.h:266 [inline] hardirqs last enabled at (6973): [] perf_swevent_event+0x6e8/0x7e0 kernel/events/core.c:10907 hardirqs last disabled at (6974): [] exc_debug_kernel+0x60/0x140 arch/x86/kernel/traps.c:1233 softirqs last enabled at (6648): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (6648): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (6648): [] __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723 softirqs last disabled at (5365): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (5365): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (5365): [] __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.5.5059/29379. stack backtrace: CPU: 0 UID: 0 PID: 29379 Comm: syz.5.5059 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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:rep_movs_alternative+0x13/0x90 arch/x86/lib/copy_user_64.S:48 Code: 48 04 00 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 83 f9 40 73 44 83 f9 08 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 RSP: 0018:ffffc9000c256c80 EFLAGS: 00040202 RAX: ffffffff84aea969 RBX: 0000000000000006 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffff8880982388a6 RDI: 0000200000000300 RBP: 000000000000017e R08: ffff8880982388a9 R09: 1ffff11013047115 R10: dffffc0000000000 R11: ffffed1013047116 R12: 0000200000000304 R13: 00007ffffffff000 R14: ffff8880982388a4 R15: 00002000000002fe copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:147 [inline] _inline_copy_to_user include/linux/uaccess.h:206 [inline] _copy_to_user+0x8a/0xb0 lib/usercopy.c:26 copy_to_user include/linux/uaccess.h:236 [inline] bpf_verifier_vlog+0x48c/0x8f0 kernel/bpf/log.c:127 bpf_verifier_log_write+0x11d/0x1a0 kernel/bpf/log.c:313 print_scalar_ranges kernel/bpf/log.c:635 [inline] print_reg_state+0xea5/0x1770 kernel/bpf/log.c:738 print_verifier_state+0x219/0x1a30 kernel/bpf/log.c:766 do_check+0x67d5/0x10690 kernel/bpf/verifier.c:21286 do_check_common+0x19c8/0x25b0 kernel/bpf/verifier.c:24657 do_check_main kernel/bpf/verifier.c:24740 [inline] bpf_check+0x5f3e/0x1ce00 kernel/bpf/verifier.c:26063 bpf_prog_load+0x1484/0x1ae0 kernel/bpf/syscall.c:3089 __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:0x7fe98139c799 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:00007fe9822d7028 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fe981615fa0 RCX: 00007fe98139c799 RDX: 000000000000002d RSI: 00002000002a0fb8 RDI: 0000000000000005 RBP: 00007fe981432c99 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe981616038 R14: 00007fe981615fa0 R15: 00007ffe35fbe3d8 ---------------- Code disassembly (best guess): 0: 48 04 00 rex.W add $0x0,%al 3: cc int3 4: cc int3 5: cc int3 6: cc int3 7: 90 nop 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 48 83 f9 40 cmp $0x40,%rcx 1b: 73 44 jae 0x61 1d: 83 f9 08 cmp $0x8,%ecx 20: 73 25 jae 0x47 22: 85 c9 test %ecx,%ecx 24: 74 0f je 0x35 26: 8a 06 mov (%rsi),%al 28: 88 07 mov %al,(%rdi) * 2a: 48 ff c7 inc %rdi <-- trapping instruction 2d: 48 ff c6 inc %rsi 30: 48 ff c9 dec %rcx 33: 75 f1 jne 0x26 35: c3 ret 36: cc int3 37: cc int3 38: cc int3 39: cc int3 3a: 66 data16 3b: 2e cs 3c: 0f .byte 0xf 3d: 1f (bad) 3e: 84 00 test %al,(%rax)