================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {INITIAL USE} -> {IN-NMI} usage. syz.1.529/7895 [HC1[1]:SC0[0]:HE0:SE1] takes: ffffe8ffffd2e4d0 (&loc_l->lock){....}-{2:2}, at: bpf_common_lru_push_free kernel/bpf/bpf_lru_list.c:514 [inline] ffffe8ffffd2e4d0 (&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+0x106/0x330 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [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:296 [inline] htab_lru_map_update_elem+0x168/0x8a0 kernel/bpf/hashtab.c:1221 bpf_map_update_value+0x750/0x920 kernel/bpf/syscall.c:296 generic_map_update_batch+0x6ea/0x990 kernel/bpf/syscall.c:2031 bpf_map_do_batch+0x39b/0x630 kernel/bpf/syscall.c:5668 __sys_bpf+0x7c1/0x950 kernel/bpf/syscall.c:-1 __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+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 2174 hardirqs last enabled at (2173): [] syscall_enter_from_user_mode include/linux/entry-common.h:108 [inline] hardirqs last enabled at (2173): [] do_syscall_64+0xa6/0xf80 arch/x86/entry/syscall_64.c:90 hardirqs last disabled at (2174): [] exc_debug_kernel+0x60/0x140 arch/x86/kernel/traps.c:1233 softirqs last enabled at (1234): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (1234): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (1234): [] __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723 softirqs last disabled at (1221): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (1221): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (1221): [] __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.1.529/7895. stack backtrace: CPU: 1 UID: 0 PID: 7895 Comm: syz.1.529 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/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/0x330 kernel/locking/lockdep.c:5859 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [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:1189 [inline] htab_lru_map_delete_elem+0x3a3/0x410 kernel/bpf/hashtab.c:1479 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:10303 [inline] __perf_event_overflow+0x3b7/0xec0 kernel/events/core.c:10402 perf_swevent_overflow kernel/events/core.c:10536 [inline] perf_swevent_event+0x323/0x650 kernel/events/core.c:-1 perf_bp_event+0x2a6/0x390 kernel/events/core.c:11395 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+0x19d/0x3a0 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:copy_iovec_from_user lib/iov_iter.c:1288 [inline] RIP: 0010:__import_iovec_ubuf lib/iov_iter.c:1354 [inline] RIP: 0010:__import_iovec+0x1b7/0x7e0 lib/iov_iter.c:1373 Code: df e8 9d ab 8d fd 48 c7 03 00 00 00 00 e9 8f 04 00 00 4d 39 e7 0f 82 28 05 00 00 0f 01 cb 0f ae e8 4d 8b 6c 24 08 49 8b 1c 24 <31> ff 4c 89 ee e8 ef b2 24 fd 4d 85 ed 0f 88 18 05 00 00 e8 01 ae RSP: 0018:ffffc90003fdfa50 EFLAGS: 00040206 RAX: ffffffff849fc72a RBX: 0000200000000040 RCX: ffff888030e9db80 RDX: 0000000000000000 RSI: 0000200000000300 RDI: 00007ffffffff000 RBP: 0000000000000001 R08: ffffc90003fdfd20 R09: ffffc90003fdfdf0 R10: ffffc90003fdfe30 R11: fffff520007fbfc8 R12: 0000200000000300 R13: 0000000000000018 R14: ffffc90003fdfc80 R15: 00007ffffffff000 import_iovec+0x73/0xa0 lib/iov_iter.c:1440 copy_msghdr_from_user net/socket.c:2529 [inline] sendmsg_copy_msghdr net/socket.c:2623 [inline] ___sys_sendmsg+0x255/0x360 net/socket.c:2642 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2683 [inline] __se_sys_sendmsg net/socket.c:2681 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2681 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9a2699aeb9 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:00007f9a27806028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9a26c15fa0 RCX: 00007f9a2699aeb9 RDX: 0000000000000000 RSI: 00002000000047c0 RDI: 0000000000000007 RBP: 00007f9a26a08c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9a26c16038 R14: 00007f9a26c15fa0 R15: 00007fffdb1d7b98 ---------------- Code disassembly (best guess): 0: df e8 fucomip %st(0),%st 2: 9d popf 3: ab stos %eax,%es:(%rdi) 4: 8d lea (bad),%edi 5: fd std 6: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) d: e9 8f 04 00 00 jmp 0x4a1 12: 4d 39 e7 cmp %r12,%r15 15: 0f 82 28 05 00 00 jb 0x543 1b: 0f 01 cb stac 1e: 0f ae e8 lfence 21: 4d 8b 6c 24 08 mov 0x8(%r12),%r13 26: 49 8b 1c 24 mov (%r12),%rbx * 2a: 31 ff xor %edi,%edi <-- trapping instruction 2c: 4c 89 ee mov %r13,%rsi 2f: e8 ef b2 24 fd call 0xfd24b323 34: 4d 85 ed test %r13,%r13 37: 0f 88 18 05 00 00 js 0x555 3d: e8 .byte 0xe8 3e: 01 .byte 0x1 3f: ae scas %es:(%rdi),%al