------------[ cut here ]------------ WARNING: CPU: 0 PID: 4372 at kernel/trace/bpf_trace.c:1797 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1870 [inline] WARNING: CPU: 0 PID: 4372 at kernel/trace/bpf_trace.c:1797 bpf_get_stack_raw_tp+0x1d3/0x220 kernel/trace/bpf_trace.c:1867 Modules linked in: CPU: 0 PID: 4372 Comm: syz-executor142 Not tainted 6.1.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:get_bpf_raw_tp_regs kernel/trace/bpf_trace.c:1797 [inline] RIP: 0010:____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1870 [inline] RIP: 0010:bpf_get_stack_raw_tp+0x1d3/0x220 kernel/trace/bpf_trace.c:1867 Code: f1 45 31 c0 e8 7e b9 17 00 65 ff 0d 37 5b 6e 7e 4c 63 e8 4c 89 e8 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 bd ae f5 ff <0f> 0b 65 ff 0d 14 5b 6e 7e 49 c7 c5 f0 ff ff ff eb d7 e8 a6 ae f5 RSP: 0018:ffffc90003c2e610 EFLAGS: 00010293 RAX: ffffffff8194e493 RBX: 0000000000000003 RCX: ffff88807e6f3b80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000fffffffc RBP: ffffc90003c2e650 R08: ffffffff8194e353 R09: fffffbfff224604d R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90003c2e668 R13: 0000000000000000 R14: 0000000000000900 R15: ffff8880b8e33db8 FS: 0000555565be9380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007434e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_ec3b2eefa702d8d3+0x3a/0x3e bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2271 [inline] bpf_trace_run4+0x253/0x470 kernel/trace/bpf_trace.c:2312 __traceiter_mmap_lock_acquire_returned+0x8c/0xe0 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+0x2c0/0x360 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:137 [inline] stack_map_get_build_id_offset+0x99e/0x9c0 kernel/bpf/stackmap.c:144 __bpf_get_stack+0x495/0x570 kernel/bpf/stackmap.c:452 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1877 [inline] bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1867 bpf_prog_ec3b2eefa702d8d3+0x3a/0x3e bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2271 [inline] bpf_trace_run4+0x253/0x470 kernel/trace/bpf_trace.c:2312 __traceiter_mmap_lock_acquire_returned+0x8c/0xe0 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+0x2c0/0x360 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:137 [inline] stack_map_get_build_id_offset+0x99e/0x9c0 kernel/bpf/stackmap.c:144 __bpf_get_stack+0x495/0x570 kernel/bpf/stackmap.c:452 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1877 [inline] bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1867