------------[ cut here ]------------ WARNING: CPU: 1 PID: 19497 at kernel/trace/bpf_trace.c:1829 get_bpf_raw_tp_regs kernel/trace/bpf_trace.c:1829 [inline] WARNING: CPU: 1 PID: 19497 at kernel/trace/bpf_trace.c:1829 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1902 [inline] WARNING: CPU: 1 PID: 19497 at kernel/trace/bpf_trace.c:1829 bpf_get_stack_raw_tp+0x1c9/0x240 kernel/trace/bpf_trace.c:1899 Modules linked in: CPU: 1 UID: 0 PID: 19497 Comm: syz.4.3889 Not tainted 6.12.0-rc4-syzkaller-00162-g740be3b9a6d7 #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:1829 [inline] RIP: 0010:____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1902 [inline] RIP: 0010:bpf_get_stack_raw_tp+0x1c9/0x240 kernel/trace/bpf_trace.c:1899 Code: 0d 7c 1f 00 65 ff 0d d6 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 48 51 f4 ff 90 <0f> 0b 90 65 ff 0d ad dd 62 7e 49 c7 c6 f0 ff ff ff eb d1 44 89 e9 RSP: 0018:ffffc90002f9e490 EFLAGS: 00010287 RAX: ffffffff81a08678 RBX: 0000000000000003 RCX: 0000000000040000 RDX: ffffc9000c221000 RSI: 000000000002f36e RDI: 000000000002f36f RBP: ffffc90002f9e4d0 R08: ffffffff81a08547 R09: 1ffffffff2859500 R10: dffffc0000000000 R11: ffffffffa000209c R12: ffff8880b8736238 R13: 0000000000000900 R14: 0000000000000000 R15: ffffc90002f9e4e8 FS: 00007f78f7f3d6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020062000 CR3: 000000003464c000 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:1265 [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:2316 [inline] bpf_trace_run4+0x334/0x590 kernel/trace/bpf_trace.c:2359 __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:1909 [inline] bpf_get_stack_raw_tp+0x1a3/0x240 kernel/trace/bpf_trace.c:1899 bpf_prog_ec3b2eefa702d8d3+0x43/0x47 bpf_dispatcher_nop_func include/linux/bpf.h:1265 [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:2316 [inline] bpf_trace_run4+0x334/0x590 kernel/trace/bpf_trace.c:2359 __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:1909 [inline] bpf_get_stack_raw_tp+0x1a3/0x240 kernel/trace/bpf_trace.c:1899