------------[ cut here ]------------ WARNING: CPU: 0 PID: 5911 at kernel/trace/bpf_trace.c:1864 get_bpf_raw_tp_regs kernel/trace/bpf_trace.c:1864 [inline] WARNING: CPU: 0 PID: 5911 at kernel/trace/bpf_trace.c:1864 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1937 [inline] WARNING: CPU: 0 PID: 5911 at kernel/trace/bpf_trace.c:1864 bpf_get_stack_raw_tp+0x1c9/0x240 kernel/trace/bpf_trace.c:1934 Modules linked in: CPU: 0 UID: 0 PID: 5911 Comm: syz-executor168 Not tainted 6.12.0-rc4-syzkaller-g47e2c45c9c89 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:get_bpf_raw_tp_regs kernel/trace/bpf_trace.c:1864 [inline] RIP: 0010:____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1937 [inline] RIP: 0010:bpf_get_stack_raw_tp+0x1c9/0x240 kernel/trace/bpf_trace.c:1934 Code: ed a9 1f 00 65 ff 0d 66 dd 62 7e 4c 63 f0 4c 89 f0 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 08 51 f4 ff 90 <0f> 0b 90 65 ff 0d 3d dd 62 7e 49 c7 c6 f0 ff ff ff eb d1 44 89 e9 RSP: 0018:ffffc90004216610 EFLAGS: 00010293 RAX: ffffffff81a086b8 RBX: 0000000000000003 RCX: ffff88807ba39e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000fffffffc RBP: ffffc90004216650 R08: ffffffff81a08587 R09: 1ffffffff285a100 R10: dffffc0000000000 R11: ffffffffa00038e4 R12: ffff8880b8636208 R13: 0000000000000900 R14: 0000000000000000 R15: ffffc90004216668 FS: 000055558cfbf380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc36081c130 CR3: 0000000075e3c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_ec3b2eefa702d8d3+0x43/0x47 bpf_dispatcher_nop_func include/linux/bpf.h:1290 [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:2351 [inline] bpf_trace_run4+0x334/0x590 kernel/trace/bpf_trace.c:2394 __traceiter_mmap_lock_acquire_returned+0x93/0xf0 include/trace/events/mmap_lock.h:52 trace_mmap_lock_acquire_returned include/trace/events/mmap_lock.h:52 [inline] __mmap_lock_do_trace_acquire_returned+0x286/0x2f0 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+0x84d/0x870 kernel/bpf/stackmap.c:157 __bpf_get_stack+0x8da/0xad0 kernel/bpf/stackmap.c:483 ____bpf_get_stack kernel/bpf/stackmap.c:499 [inline] bpf_get_stack+0x33/0x50 kernel/bpf/stackmap.c:496 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1944 [inline] bpf_get_stack_raw_tp+0x1a3/0x240 kernel/trace/bpf_trace.c:1934