================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {INITIAL USE} -> {IN-NMI} usage. syz.4.6205/32691 [HC1[1]:SC0[0]:HE0:SE1] takes: ffff888028e03038 (rhashtable_bucket){..-.}-{0:0}, at: rht_lock+0x8b/0x180 include/linux/rhashtable.h:330 {INITIAL USE} state was registered at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5886 rht_lock+0xa3/0x180 include/linux/rhashtable.h:330 __rhashtable_insert_fast include/linux/rhashtable.h:783 [inline] rhltable_insert_key include/linux/rhashtable.h:913 [inline] rhltable_insert include/linux/rhashtable.h:940 [inline] super_dev_insert+0x1f8/0xe10 fs/super.c:496 super_dev_register+0x137/0x250 fs/super.c:513 set_anon_super fs/super.c:1360 [inline] set_anon_super_fc+0x7f/0x100 fs/super.c:1378 sget_fc+0x12de/0x1a40 fs/super.c:896 vfs_get_super fs/super.c:1400 [inline] get_tree_nodev+0x2a/0x150 fs/super.c:1424 vfs_get_tree+0x92/0x2a0 fs/super.c:1947 fc_mount fs/namespace.c:1198 [inline] vfs_kern_mount+0x15b/0x220 fs/namespace.c:1236 kern_mount+0x43/0x90 fs/namespace.c:6303 shmem_init+0x37/0x170 mm/shmem.c:5367 mnt_init+0x19b/0x1f0 fs/namespace.c:6284 vfs_caches_init+0x22/0x30 fs/dcache.c:3522 start_kernel+0x34c/0x3e0 init/main.c:1163 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x137/0x1b0 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x157 irq event stamp: 1892 hardirqs last enabled at (1891): [] rht_assign_unlock+0xb2/0x110 include/linux/rhashtable.h:434 hardirqs last disabled at (1892): [] exc_debug_kernel+0x60/0x140 arch/x86/kernel/traps.c:1235 softirqs last enabled at (1740): [] local_bh_disable include/linux/bottom_half.h:20 [inline] softirqs last enabled at (1740): [] rcu_read_lock_bh include/linux/rcupdate.h:893 [inline] softirqs last enabled at (1740): [] __dev_queue_xmit+0x29b/0x3820 net/core/dev.c:4844 softirqs last disabled at (1734): [] local_bh_disable include/linux/bottom_half.h:20 [inline] softirqs last disabled at (1734): [] rcu_read_lock_bh include/linux/rcupdate.h:893 [inline] softirqs last disabled at (1734): [] __dev_queue_xmit+0x29b/0x3820 net/core/dev.c:4844 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(rhashtable_bucket); lock(rhashtable_bucket); *** DEADLOCK *** locks held by syz.4.6205/32691: 0, last CPU#0 stack backtrace: CPU: 0 UID: 0 PID: 32691 Comm: syz.4.6205 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: <#DB> dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_usage_bug+0x28c/0x2e0 kernel/locking/lockdep.c:4058 lock_acquire+0x1cd/0x350 kernel/locking/lockdep.c:5877 rht_lock+0xa3/0x180 include/linux/rhashtable.h:330 __rhashtable_remove_fast_one include/linux/rhashtable.h:1064 [inline] __rhashtable_remove_fast include/linux/rhashtable.h:1145 [inline] rhashtable_remove_fast include/linux/rhashtable.h:1174 [inline] rhtab_delete_elem+0xb1a/0x1b00 kernel/bpf/hashtab.c:2956 rhtab_map_delete_elem+0xe2/0x190 kernel/bpf/hashtab.c:2984 bpf_prog_a4f1e23443ac9f8e+0x4e/0x56 bpf_dispatcher_nop_func include/linux/bpf.h:1451 [inline] __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run include/linux/filter.h:786 [inline] bpf_overflow_handler kernel/events/core.c:10701 [inline] __perf_event_overflow+0x3a6/0xea0 kernel/events/core.c:10800 perf_swevent_overflow kernel/events/core.c:10941 [inline] perf_swevent_event+0x438/0x810 kernel/events/core.c:-1 perf_bp_event+0x318/0x430 kernel/events/core.c:11842 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+0x1a5/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:631 RIP: 0010:rep_movs_alternative+0x11/0xa0 arch/x86/lib/copy_user_64.S:47 Code: e9 c4 65 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 e9 8d 65 04 00 66 2e 0f 1f RSP: 0018:ffffc9000544fa98 EFLAGS: 00040202 RAX: 00007ffffffff000 RBX: 0000000000000004 RCX: 0000000000000004 RDX: 0000000000000001 RSI: 0000200000000300 RDI: ffff8880812dc980 RBP: ffffc9000544fbe0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: ffffed101025b930 R12: dffffc0000000000 R13: 00000000000000c0 R14: ffff8880812dc980 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:222 [inline] generic_map_update_batch+0x668/0xae0 kernel/bpf/syscall.c:2101 bpf_map_do_batch+0x391/0x630 kernel/bpf/syscall.c:5781 __sys_bpf+0xbe5/0xd90 kernel/bpf/syscall.c:-1 __do_sys_bpf kernel/bpf/syscall.c:6486 [inline] __se_sys_bpf kernel/bpf/syscall.c:6483 [inline] __x64_sys_bpf+0xba/0xd0 kernel/bpf/syscall.c:6483 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4318f9e159 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:00007f4319f36028 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f4319225fa0 RCX: 00007f4318f9e159 RDX: 0000000000000038 RSI: 0000200000000000 RDI: 000000000000001a RBP: 00007f4319035024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4319226038 R14: 00007f4319225fa0 R15: 00007ffcaf83e148 ---------------- Code disassembly (best guess): 0: e9 c4 65 04 00 jmp 0x465c9 5: cc int3 6: cc int3 7: cc int3 8: cc int3 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: 90 nop 18: 90 nop 19: 48 83 f9 40 cmp $0x40,%rcx 1d: 73 44 jae 0x63 1f: 83 f9 08 cmp $0x8,%ecx 22: 73 25 jae 0x49 24: 85 c9 test %ecx,%ecx 26: 74 0f je 0x37 28: 8a 06 mov (%rsi),%al * 2a: 88 07 mov %al,(%rdi) <-- trapping instruction 2c: 48 ff c7 inc %rdi 2f: 48 ff c6 inc %rsi 32: 48 ff c9 dec %rcx 35: 75 f1 jne 0x28 37: e9 8d 65 04 00 jmp 0x465c9 3c: 66 data16 3d: 2e cs 3e: 0f .byte 0xf 3f: 1f (bad)