veth0_vlan: entered promiscuous mode ============================= [ BUG: Invalid wait context ] 6.12.0-rc2-syzkaller #0 Not tainted ----------------------------- syz-executor/4149 is trying to lock: ffffffff84042300 (kernfs_rename_lock){....}-{3:3}, at: kernfs_path_from_node+0x38/0x3c0 fs/kernfs/dir.c:229 other info that might help us debug this: context-{5:5} 3 locks held by syz-executor/4149: #0: ffff888237d320d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x1f/0x70 kernel/sched/core.c:593 #1: ffffffff83ff0910 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #1: ffffffff83ff0910 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffffff83ff0910 (rcu_read_lock){....}-{1:3}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2317 [inline] #1: ffffffff83ff0910 (rcu_read_lock){....}-{1:3}, at: bpf_trace_run2+0x8d/0x200 kernel/trace/bpf_trace.c:2359 #2: ffff8881149a5918 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_trylock include/linux/mmap_lock.h:163 [inline] #2: ffff8881149a5918 (&mm->mmap_lock){++++}-{4:4}, at: stack_map_get_build_id_offset+0xb2/0x350 kernel/bpf/stackmap.c:157 stack backtrace: CPU: 1 UID: 0 PID: 4149 Comm: syz-executor Not tainted 6.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xa3/0x100 lib/dump_stack.c:120 print_lock_invalid_wait_context kernel/locking/lockdep.c:4826 [inline] check_wait_context kernel/locking/lockdep.c:4898 [inline] __lock_acquire+0xc89/0x2570 kernel/locking/lockdep.c:5176 lock_acquire+0xeb/0x270 kernel/locking/lockdep.c:5849 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x69/0xa0 kernel/locking/spinlock.c:236 kernfs_path_from_node+0x38/0x3c0 fs/kernfs/dir.c:229 kernfs_path include/linux/kernfs.h:598 [inline] cgroup_path include/linux/cgroup.h:599 [inline] get_mm_memcg_path+0x49/0x170 mm/mmap_lock.c:82 __mmap_lock_do_trace_acquire_returned+0x51/0xf0 mm/mmap_lock.c:102 __mmap_lock_trace_acquire_returned include/linux/mmap_lock.h:36 [inline] mmap_read_trylock include/linux/mmap_lock.h:164 [inline] stack_map_get_build_id_offset+0x263/0x350 kernel/bpf/stackmap.c:157 __bpf_get_stack+0x3ff/0x450 kernel/bpf/stackmap.c:483 ____bpf_get_stack kernel/bpf/stackmap.c:499 [inline] bpf_get_stack+0x18/0x30 kernel/bpf/stackmap.c:496 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1909 [inline] bpf_get_stack_raw_tp+0xa7/0xc0 kernel/trace/bpf_trace.c:1899 ___bpf_prog_run+0x5f6/0x2280 kernel/bpf/core.c:2010 __bpf_prog_run32+0xbb/0xe0 kernel/bpf/core.c:2251 bpf_dispatcher_nop_func include/linux/bpf.h:1257 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2318 [inline] bpf_trace_run2+0x106/0x200 kernel/trace/bpf_trace.c:2359 trace_tlb_flush include/trace/events/tlb.h:38 [inline] switch_mm_irqs_off+0x541/0x630 arch/x86/mm/tlb.c:637 context_switch kernel/sched/core.c:5299 [inline] __schedule+0x602/0xb90 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xac/0x140 kernel/sched/core.c:6767 do_nanosleep+0x4d/0x130 kernel/time/hrtimer.c:2032 hrtimer_nanosleep+0x18d/0x210 kernel/time/hrtimer.c:2080 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1411 [inline] __se_sys_clock_nanosleep+0xf2/0x160 kernel/time/posix-timers.c:1388 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xa0/0x1b0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f63cefb07c3 Code: Unable to access opcode bytes at 0x7f63cefb0799. RSP: 002b:00007fffc9a11c28 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 000000000000001c RCX: 00007f63cefb07c3 RDX: 00007fffc9a11c40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fffc9a11c9c R08: 00000000338618b4 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 0000000000011ca0 R14: 0000000000011c96 R15: 00007fffc9a11cf0